Skip to content

Commit

Permalink
Update order of links on NavBar (#1150)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsadat authored Aug 10, 2023
1 parent cb6975a commit a76504c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
20 changes: 10 additions & 10 deletions browser/src/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,24 +111,24 @@ const NavBar = () => {
</li>
{/* two <a> tags instead of <Link>s because the blog is a separate application */}
<li>
<a href="https://gnomad.broadinstitute.org/news/">News</a>
<Link to="/policies" onClick={closeMenu}>
Policies
</Link>
</li>
<li>
<a href="https://gnomad.broadinstitute.org/news/changelog/">Changelog</a>
<Link to="/publications" onClick={closeMenu}>
Publications
</Link>
</li>
<li>
<Link to="/downloads" onClick={closeMenu}>
Downloads
</Link>
<a href="https://gnomad.broadinstitute.org/news/">Blog</a>
</li>
<li>
<Link to="/policies" onClick={closeMenu}>
Policies
</Link>
<a href="https://gnomad.broadinstitute.org/news/changelog/">Changelog</a>
</li>
<li>
<Link to="/publications" onClick={closeMenu}>
Publications
<Link to="/downloads" onClick={closeMenu}>
Downloads
</Link>
</li>
<li>
Expand Down
24 changes: 12 additions & 12 deletions browser/src/__snapshots__/NavBar.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -328,40 +328,40 @@ exports[`NavBar has no unexpected changes 1`] = `
</li>
<li>
<a
href="https://gnomad.broadinstitute.org/news/"
href="/policies"
onClick={[Function]}
>
News
Policies
</a>
</li>
<li>
<a
href="https://gnomad.broadinstitute.org/news/changelog/"
href="/publications"
onClick={[Function]}
>
Changelog
Publications
</a>
</li>
<li>
<a
href="/downloads"
onClick={[Function]}
href="https://gnomad.broadinstitute.org/news/"
>
Downloads
Blog
</a>
</li>
<li>
<a
href="/policies"
onClick={[Function]}
href="https://gnomad.broadinstitute.org/news/changelog/"
>
Policies
Changelog
</a>
</li>
<li>
<a
href="/publications"
href="/downloads"
onClick={[Function]}
>
Publications
Downloads
</a>
</li>
<li>
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12800,4 +12800,4 @@ yocto-queue@^0.1.0:
zwitch@^1.0.0:
version "1.0.5"
resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-1.0.5.tgz#d11d7381ffed16b742f6af7b3f223d5cd9fe9920"
integrity sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==
integrity sha512-V50KMwwzqJV0NpZIZFwfOD5/lyny3WlSzRiXgA0G7VUnRlqttta1L6UQIHzd6EuBY/cHGfwTIck7w1yH6Q5zUw==

0 comments on commit a76504c

Please sign in to comment.