Skip to content

Commit

Permalink
feat: remove external links from header (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron authored Sep 26, 2024
1 parent 82f5801 commit 5731c49
Showing 1 changed file with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,6 @@ export function TopNav() {
</NextLink>
);

const externalLinks = (
<>
<Nav.MenuItem href="https://docs.fuel.network/">Developers</Nav.MenuItem>
<Nav.MenuItem href="https://forum.fuel.network">Community</Nav.MenuItem>
<Nav.MenuItem isExternal href="https://fuel.network">
Labs
</Nav.MenuItem>
</>
);

const tooling = (
<>
<Nav.MenuItem
Expand Down Expand Up @@ -79,7 +69,6 @@ export function TopNav() {
<Nav.Desktop className={'px-10 justify-between'}>
<Nav.Menu>
{logo}
{externalLinks}
</Nav.Menu>
<Nav.Menu>
<SearchWidget />
Expand All @@ -95,10 +84,7 @@ export function TopNav() {
<SearchWidget />
{themeToggle}
</Nav.MobileContent>
<Nav.Menu>
{externalLinks}
{tooling}
</Nav.Menu>
<Nav.Menu>{tooling}</Nav.Menu>
</Nav.Mobile>
</Nav>
);
Expand Down

0 comments on commit 5731c49

Please sign in to comment.