Skip to content

Commit

Permalink
✨ Site Nav Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Jan 31, 2025
1 parent 15838ee commit 9254238
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
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

0 comments on commit 9254238

Please sign in to comment.