-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement conditional navbar for pages #694
Conversation
Signed-off-by: NPDebs <[email protected]>
Signed-off-by: NPDebs <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @NPDebs
I put some quick comments there
It might be good to modify also the default header to change the navbar
Signed-off-by: NPDebs <[email protected]>
Signed-off-by: NPDebs <[email protected]>
_includes/openseeds-header.html
Outdated
<a class="navbar-item" href="{% link about.md %}#mentors"> Mentors </a> | ||
<a class="navbar-item" href="{% link about.md %}#experts"> Experts </a> | ||
<a class="navbar-item" href="{% link about.md %}#facilitators"> Facilitators </a> | ||
<a class="navbar-item navbar-previous-title" href="{% link openseeds/index.md %}#cohorts"> Cohorts </a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be maybe moved as a dedicated dropdown menu, linking then to the different cohorts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope I understood this and executed it correctly. I will leave the comment unresolved, just in case 😄
@@ -45,7 +45,7 @@ | |||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be good to modify the navbar above.
OLS-8 should be maybe removed. We could also then have a menu for each of the 3 pillars
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely! I have just added a new navbar dropdown that contains our 3 pillars.
Since this captures the consulting service as well (under open incubator), I think we can remove the Services navbar-link. What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: NPDebs <[email protected]>
Signed-off-by: NPDebs <[email protected]>
Signed-off-by: NPDebs <[email protected]>
Signed-off-by: NPDebs <[email protected]>
Signed-off-by: NPDebs <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think each pillar should be a dropdown in the header
_includes/default-header.html
Outdated
<a class="navbar-item" href="#">WT impact research</a> | ||
<a class="navbar-item" href="#">Turing Skills Policy Award</a> | ||
<a class="navbar-item navbar-previous-title" href="#">Open Incubator</a> | ||
<a class="navbar-item" href="#">Resident fellows program</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no section in the open-incubator.md
file to link to that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About that...
You're right. The individual pages for the 3 Pillars still need more content. You may have noticed in PR #688 that only open-research.md
seems fully developed. The other two? Not so much.
I think Yo is in the process of writing the content to be added.
Until we can get more information added to open-incubator.md
, we probably have two options:
- Merge this PR as is (considering all that is left is what Yo will give us).
- Wait for PR 688 to be complete, and link appropriately before merging this.
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P.S. The tests are failing because we don't have the open.research.md
, etc mentioned in the navbar. It should be fine once the other PR is ready (or we can remove the links and use # for now).
Basically, no cause for alarm. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would wait to merge this PR than the other one is merged so everything could be fixed and in place
Co-authored-by: Bérénice Batut <[email protected]>
Co-authored-by: Bérénice Batut <[email protected]>
Co-authored-by: Bérénice Batut <[email protected]>
Co-authored-by: Bérénice Batut <[email protected]>
Co-authored-by: Bérénice Batut <[email protected]>
Co-authored-by: Bérénice Batut <[email protected]>
Co-authored-by: Bérénice Batut <[email protected]>
Thanks a lot for the suggestions you made. The PR definitely looks richer! 💯🌟 |
8574614
to
f6fb150
Compare
Thanks a lot @NPDebs !!!! |
This PR addresses issue #649.
With the newly created /openseeds subsite, there is a need to display a navbar with a different look and content.
Thus, the changes made in this PR were:
openseeds-navbar.html
),index.html
layout that displays a navbar depending on which url is requested.Note for reviewer(s):
The both navbars look the same for now because we are in the process of:
Thanks for taking the time to review!