Skip to content
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

Merged
merged 21 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _data/links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ items:
icon: fab fa-youtube
-
text: Check out our Open Science video library
link: /library.html
link: /openseeds/library.html
icon: fas fa-video
-
text: Follow us on Twitter
Expand Down
41 changes: 16 additions & 25 deletions _includes/default-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,40 +19,33 @@
<div id="top-menu" class="navbar-menu">
<div class="navbar-end">
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="{% link openseeds/index.md %}">Open Seeds program</a>
<a class="navbar-link" href="{% link open-science-training.md %}">Open Science Training</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="{% link openseeds/index.md %}#applications"> Applications </a>
<a class="navbar-item" href="{% link about.md %}"> The program itself </a>
<a class="navbar-item" href="{% link about.md %}#projects"> Projects </a>
<a class="navbar-item navbar-previous-title" href="{% link about.md %}#the-roles"> Role description </a>
<a class="navbar-item" href="{% link about.md %}#mentees"> Mentees </a>
<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>
<a class="navbar-item navbar-previous-title" href="{% link library.md %}"> Video Library </a>
<a class="navbar-item" href="{% link openseeds/index.md %}">Open Seeds</a>
<a class="navbar-item" href="{% link open-science-training.md %}#open-science-accessible-teaching-nasa-tops-opencore-in-english">NASA-OLS TOPS Open Core</a>
</div>
</div>

<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="{% link openseeds/ols-8/index.md %}">OLS-8</a>
<a class="navbar-link" href="{% link open-research.md %}">Research on Open</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="{% link openseeds/ols-8/index.md %}"> Syllabus </a>
<a class="navbar-item" href="{% link openseeds/ols-8/schedule.md %}"> Schedule</a>
<a class="navbar-item" href="{% link openseeds/ols-8/projects-participants.md %}"> Projects & Participants</a>
<a class="navbar-item" href="{% link openseeds/ols-8/index.md %}#mentors"> Mentors & Experts </a>
<a class="navbar-item" href="{% link open-research.md %}#open-seeds-impact-research">Open Seeds Impact Research</a>
<a class="navbar-item" href="{% link open-research.md %}#influencing-policy-to-widen-participation-in-open-data-science">Influencing policy to widen participation in open data science</a>
</div>
</div>
Copy link
Member

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

Copy link
Collaborator Author

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot (592)


<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="{% link about.md %}">Policies</a>
<a class="navbar-link" href="{% link open-incubator.md %}">Open Incubator</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="{{ site.github.owner_url }}/policies-procedures-and-docs/blob/main/CODE_OF_CONDUCT.md"> Code of Conduct </a>
<a class="navbar-item" href="{% link open-incubator.md %}#">Catalyst</a>
<a class="navbar-item" href="{% link open-incubator.md %}#fellowship-programmes">Fellowship Programmes</a>
<a class="navbar-item" href="{% link open-incubator.md %}#facilitators-training-and-transcription-services">Facilitators Training and Transcription Services</a>
<a class="navbar-item" href="{% link open-incubator.md %}#grant-writing-training">Grant writing training</a>
<a class="navbar-item" href="{% link open-incubator.md %}#fiscal-hosting">Fiscal hosting</a>
<a class="navbar-item" href="{% link _consulting/index.md %}">Consultancy & open research advice</a>
</div>
</div>

<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="{% link about.md %}">About</a>
<a class="navbar-link" href="{% link openseeds/about.md %}">About</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="{% link people.md %}"> People </a>
<a class="navbar-item" href="{% link community.md %}"> Team </a>
Expand All @@ -64,11 +57,9 @@
</div>

<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="{% link about.md %}">Services</a>
<a class="navbar-link" href="{% link code-of-conduct.md %}">Policies</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="{% link _consulting/index.md %}"> Consulting </a>
<!--<a class="navbar-item" href="/training"> On demand training </a>
<a class="navbar-item" href="/"> Fiscal hosting </a>-->
<a class="navbar-item" href="{{ site.github.owner_url }}/policies-procedures-and-docs/blob/main/CODE_OF_CONDUCT.md"> Code of Conduct </a>
</div>
</div>

Expand Down
72 changes: 72 additions & 0 deletions _includes/openseeds-header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
<div class="container">
<div class="navbar-brand">
<a class="navbar-item" href="{% link openseeds/index.md %}">
<img src="/images/logo.png" alt="OLS">
</a>
<a
role="button"
class="navbar-burger burger"
aria-label="menu"
aria-expanded="false"
data-target="top-menu"
>
<span aria-hidden="true"></span> <span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>

<div id="top-menu" class="navbar-menu">
<div class="navbar-end">
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="{% link openseeds/about.md %}">The Program</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="{% link openseeds/index.md %}#applications"> Applications </a>
<a class="navbar-item" href="{% link openseeds/about.md %}#projects"> Projects </a>
<a class="navbar-item navbar-previous-title" href="{% link openseeds/about.md %}#the-roles"> Role description </a>
<a class="navbar-item" href="{% link openseeds/about.md %}#mentees"> Mentees </a>
<a class="navbar-item" href="{% link openseeds/about.md %}#mentors"> Mentors </a>
<a class="navbar-item" href="{% link openseeds/about.md %}#experts"> Experts </a>
<a class="navbar-item" href="{% link openseeds/about.md %}#facilitators"> Facilitators </a>
</div>
</div>

<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="{% link openseeds/index.md %}#cohorts">Cohorts</a>
<div class="navbar-dropdown">
<a class="navbar-item navbar-previous-title" href="{% link openseeds/ols-8/index.md %}">OLS-8</a>
<a class="navbar-item" href="{% link openseeds/ols-8/index.md %}"> Syllabus </a>
<a class="navbar-item" href="{% link openseeds/ols-8/schedule.md %}"> Schedule</a>
<a class="navbar-item" href="{% link openseeds/ols-8/projects-participants.md %}"> Projects & Participants</a>
<a class="navbar-item" href="{% link openseeds/ols-8/index.md %}#mentors"> Mentors & Experts </a>
<a class="navbar-item navbar-previous-title" href="{% link openseeds/index.md %}#cohorts"> Previous cohorts </a>
</div>
</div>

<a class="navbar-item" href="{% link openseeds/library.md %}"> Video Library </a>

<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">About</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="{% link index.md %}">OLS</a>
<a class="navbar-item" href="{% link people.md %}"> People </a>
<a class="navbar-item" href="{% link community.md %}"> Team </a>
<a class="navbar-item" href="{% link funders.md %}"> Funding & Supporters </a>
<a class="navbar-item" href="{% link partners.md %}"> Partners </a>
<a class="navbar-item" href="{% link publications.md %}"> Citing OLS & Publications </a>
<!--<a class="navbar-item" href="/events"> Events </a>-->
</div>
</div>

<div class="navbar-item has-dropdown is-hoverable">
NPDebs marked this conversation as resolved.
Show resolved Hide resolved
<a class="navbar-link" href="{% link code-of-conduct.md %}">Policies</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="{{ site.github.owner_url }}/policies-procedures-and-docs/blob/main/CODE_OF_CONDUCT.md"> Code of Conduct </a>
</div>
</div>

<a class="navbar-item" href="{% link posts.md %}"> Stories </a>
</div>
</div>
</div>
</nav>
7 changes: 5 additions & 2 deletions _layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
---
layout: base
---

{% include _includes/default-header.html %}
{% if page.url contains "/openseeds/" %}
{% include _includes/openseeds-header.html %}
{% else %}
{% include _includes/default-header.html %}
{% endif %}
{{ content }}
{% include _includes/default-footer.html %}
6 changes: 3 additions & 3 deletions _posts/2021-12-13-ols-5-promotion.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ We are hosting a webinar on 14 December 2021 at 16:00 UTC ([see in your timezone

OLS upskills individuals in open and reproducible research and empowers them to become open science ambassadors in their communities. Participants of this 16-week program will learn essential knowledge required to create, lead, and sustain an Open Science project, connect with members across different communities, backgrounds, and identities by sharing their experiences and expertise. The complete schedule and participation guidelines of the program are available at [{% link openseeds/ols-5/index.md %}]({% link openseeds/ols-5/index.md %}).

This program will provide a unique opportunity for individuals and teams to integrate best practices for open and reproducible research in new or ongoing projects. We will also offer microgrants to our participants to ensure that they can equitably participate in the program (see [this post for details]({% link _posts/2020-11-23-micro-grants-in-2021-ols-3-ols-4.md %})). More information regarding the [roles and benefits for the mentees]({% link about.md %}#mentees) and [eligibility of a proposed project]({% link about.md %}#projects) can be found on the website.
This program will provide a unique opportunity for individuals and teams to integrate best practices for open and reproducible research in new or ongoing projects. We will also offer microgrants to our participants to ensure that they can equitably participate in the program (see [this post for details]({% link _posts/2020-11-23-micro-grants-in-2021-ols-3-ols-4.md %})). More information regarding the [roles and benefits for the mentees]({% link openseeds/about.md %}#mentees) and [eligibility of a proposed project]({% link openseeds/about.md %}#projects) can be found on the website.

In addition to hosting the launch webinar to share about the OLS-5 plans and application process, we will also host an **Application Clinic** On 7 January 2022, 10:00 am UTC ([see in your timezone](https://arewemeetingyet.com/London/2022-01-07/10:00/OLS-5-clinic)).
With this additional call, we want to offer extra support for folks interested in joining OLS-5 but need some feedback on their proposal, or have any further questions (see [Notes](https://pad.sfconservancy.org/p/ols-5-launch)).
Expand Down Expand Up @@ -75,14 +75,14 @@ Find details about the graduation dates and registration in our previous post: [
1. An OLS mentor has either already received training as a project lead in OLS (or similar programs) or has significant experience leading, maintaining or contributing to open and inclusive projects in their field.
2. **Mentor’s roles and time commitments**:
- Mentors work closely with participants to help further their Open Science skills and become ambassadors for Open Science practice, training and education in their communities.
- Time commitment: ~2 hours in January to review applicants and ~1 hour per week during the cohort. You can read more about it on [our website]({% link about.md %}#mentors).
- Time commitment: ~2 hours in January to review applicants and ~1 hour per week during the cohort. You can read more about it on [our website]({% link openseeds/about.md %}#mentors).
- The mentors will be assigned to one project proposed by mentees applying to the program.
- During the program, mentors will receive initial training in mentoring skills (active listening, effective questioning, giving feedback), connect with a community of mentors by opting to attend the coworking calls and expand their knowledge on Open Science by opting to attend the cohort calls.

### Experts’ roles and time commitments

Experts have existing experience in a relevant subject area and may be invited to:
- give a ~15-minute talk at one of our cohort calls during the program, you can read more about it on [our website]({% link about.md %}#experts).
- give a ~15-minute talk at one of our cohort calls during the program, you can read more about it on [our website]({% link openseeds/about.md %}#experts).
- attend a mentor-mentee call upon request for expert consultation on certain projects in the program (~30 minutes once or twice in the entire program).

### Connect with us for more questions!
Expand Down
2 changes: 1 addition & 1 deletion _posts/2023-07-23-video-library-launching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ photos:

Since its launch in 2020, OLS ran **7 cohorts**, **{{ cohort-calls }} cohort calls** with **{{ video_nb }} talks** by **{{ speaker_nb }} speakers**. The cohort calls are all available on [OLS YouTube channel]({{ site.youtube }}) and linked in the dedicated cohort schedule. But **all these talks were also interesting individually and are currently hard to find**.

To improve talk findability and give more visibility to these experts, we created the [**Open Seeds Video Library**]({% link library.md %}). This page shows the full library of available videos from talks in Open Seeds cohort calls: **{{ video_nb }} videos** by **{{ speaker_nb }} speakers**, **organized by topic** (Open Science, Tooling for Collaboration, Project, Community & Personal Management, etc), **annotated** with the recording date, **information about the speakers**, and slidedeck link when available.
To improve talk findability and give more visibility to these experts, we created the [**Open Seeds Video Library**]({% link openseeds/library.md %}). This page shows the full library of available videos from talks in Open Seeds cohort calls: **{{ video_nb }} videos** by **{{ speaker_nb }} speakers**, **organized by topic** (Open Science, Tooling for Collaboration, Project, Community & Personal Management, etc), **annotated** with the recording date, **information about the speakers**, and slidedeck link when available.

![Screenshot of the Open Seeds Video Library, showing the table of content on the left, the Open Science section on the middle with a talk on Open Hardware expanded](/images/2023-07-17-video-library-launching.png){: width="80%"}

Expand Down
8 changes: 4 additions & 4 deletions about.md → openseeds/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ photos:

{% include _includes/cohort-loop.html %}

*To illustrate the Open Seeds journey, we use a persona/story of Joy, a mentee participating in the program, and Sam, their [mentor]({% link about.md %}#mentors), as they progress through their Open Seeds training.*
*To illustrate the Open Seeds journey, we use a persona/story of Joy, a mentee participating in the program, and Sam, their [mentor]({% link openseeds/about.md %}#mentors), as they progress through their Open Seeds training.*

<div class="columns">
<div class="column is-5" markdown="1">
Expand All @@ -28,11 +28,11 @@ After the selection process, they will be involved in the following steps of thi
1. Based on their common interests, they will be introduced to each other as suitable mentee and mentor

They will meet every 2nd week on **mentee-mentor calls** (around 30 minutes). Sam will help Joy evaluate their understanding of the new topics introduced in the program, and guide their progress by providing constructive feedback.
Joy will be given assignments before these calls to help them apply new skills to their project. When needed, Joy and Sam will connect with other [experts]({% link about.md %}#experts) to invite consultation on their project.
Joy will be given assignments before these calls to help them apply new skills to their project. When needed, Joy and Sam will connect with other [experts]({% link openseeds/about.md %}#experts) to invite consultation on their project.

2. Joy will participate in online [training calls]({% link openseeds/ols-4/index.md %}#calls) and share insights with other participants in the program.

In these **cohorts calls**, they will be introduced to new topics and resources, participate in break-out discussions, and listen to [expert talks]({% link about.md %}#experts).
In these **cohorts calls**, they will be introduced to new topics and resources, participate in break-out discussions, and listen to [expert talks]({% link openseeds/about.md %}#experts).

3. Joy will get to know their peers from the cohort during social and co-working calls.

Expand All @@ -44,7 +44,7 @@ Sam will also participate in **mentor training** calls and attend topic-based di

A self-evaluation survey, mid-cohort survey and post-cohort survey will help Joy and Sam in positioning their knowledge in open science leadership before, during and after the program.

For the next round, Joy may share what they learned by [mentoring]({% link about.md %}#mentors) a new project in the future cohort and Sam will continue their mentoring effort or take an [expert]({% link about.md %}#experts) role.
For the next round, Joy may share what they learned by [mentoring]({% link openseeds/about.md %}#mentors) a new project in the future cohort and Sam will continue their mentoring effort or take an [expert]({% link openseeds/about.md %}#experts) role.

</div>
</div>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion openseeds/ols-1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ OLS's first cohort (OLS-1), known as “Open Seeds”, was conducted from Januar

## Mentees

Participants join this program with a project that they either are already working on or want to develop during this program. More details about the role of a mentee can be found [here]({% link about.md %}#mentees)
Participants join this program with a project that they either are already working on or want to develop during this program. More details about the role of a mentee can be found [here]({% link openseeds/about.md %}#mentees)

For the first round of the Open Life Science program, we are happy to have [{{ p-participants | size }} participants]({% link openseeds/ols-1/projects-participants.md %}#participants) with [{{ projects | size }} projects]({% link openseeds/ols-1/projects-participants.md %}#projects).

Expand Down
2 changes: 1 addition & 1 deletion openseeds/ols-2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ OLS's second cohort (OLS-2) will be conducted from September 2020 until December

## Project leads (aka Mentees)

Participants join this program with a project that they either are already working on or want to develop during this program. More details about the role of a project lead (mentee) can be found [here]({% link about.md %}#mentees).
Participants join this program with a project that they either are already working on or want to develop during this program. More details about the role of a project lead (mentee) can be found [here]({% link openseeds/about.md %}#mentees).

For the second round of the Open Life Science program, we welcome [{{ p-participants | size }} participants]({% link openseeds/ols-2/projects-participants.md %}#participants) with [{{ projects | size }} projects]({% link openseeds/ols-2/projects-participants.md %}#projects).

Expand Down
Loading