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

✨ Site Nav Updates #4513

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 3 additions & 1 deletion site/SiteNavigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@
flex-direction: row;
justify-content: space-between;
align-items: center;
@include column-gap(16px);
padding-top: 12px;
padding-bottom: 12px;
@include sm-up {
@include column-gap(24px);
}
@include md-only {
@include column-gap(0px);
}

.SiteNavigationToggle--mobile-menu {
flex: 1; // center owid logo
Expand Down
5 changes: 4 additions & 1 deletion site/SiteNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ export const SiteNavigation = ({
</SiteNavigationToggle>
</li>
<li>
<a href="/latest">Latest</a>
<a href="/data">Data</a>
</li>
<li>
<a href="/data-insights">Insights</a>
</li>
<li className="with-relative-dropdown">
<SiteNavigationToggle
Expand Down
8 changes: 4 additions & 4 deletions site/SiteResources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ export const SiteResources = () => {
return (
<ul>
<li>
<a href="/data">Data Catalog</a>
<a href="/latest">Latest Articles</a>
</li>
<li>
<a href="/data-insights">Daily Data Insights</a>
<a href="/explorers">Data Explorers</a>
</li>
<li>
<a href="/sdgs">Sustainable Development Goals Tracker</a>
<a href="/sdgs">SDG Trackers</a>
</li>
<li>
<a href="/teaching">Teaching Hub</a>
<a href="/teaching">Teaching Materials</a>
</li>
</ul>
)
Expand Down