Skip to content

Commit

Permalink
feat: remove obsolete pages
Browse files Browse the repository at this point in the history
  • Loading branch information
envin3 committed Nov 28, 2024
1 parent 5784f37 commit 1224c51
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions src/components/organisms/header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,18 +208,9 @@ const Header = (_props) => {
<StyledNavLink active={selectedPage === 'swap'} onClick={onSwap}>
Swap
</StyledNavLink>
<StyledNavLink active={selectedPage.includes('migration')} onClick={() => selectPage('migration')}>
Migration
</StyledNavLink>
<StyledNavLink active={selectedPage === 'nfts'} onClick={() => selectPage('nfts')}>
NFTs
</StyledNavLink>
<StyledNavLink active={selectedPage === 'risks'} onClick={() => selectPage('risks')}>
Risks
</StyledNavLink>
<StyledNavLink onClick={() => window.open(settings.links.stats, '_blank', 'noopener,noreferrer')}>
Stats <GoToIcon icon="arrow-diagonal" />
</StyledNavLink>
<StyledNavLink onClick={() => window.open(settings.links.audit, '_blank', 'noopener,noreferrer')}>
Audits <GoToIcon icon="arrow-diagonal" />
</StyledNavLink>
Expand All @@ -235,21 +226,6 @@ const Header = (_props) => {
Risks
</StyledNavLink>
<DropdownMobile title="More">
<NavDropdown.Item>
<StyledNavDown active={selectedPage.includes('migration')} onClick={() => selectPage('migration')}>
Migration
</StyledNavDown>
</NavDropdown.Item>
<NavDropdown.Item>
<StyledNavDown active={selectedPage === 'nfts'} onClick={() => selectPage('nfts')}>
NFTs
</StyledNavDown>
</NavDropdown.Item>
<NavDropdown.Item>
<StyledNavDown onClick={() => window.open(settings.links.stats, '_blank', 'noopener,noreferrer')}>
Stats <GoToIcon icon="arrow-diagonal" />
</StyledNavDown>
</NavDropdown.Item>
<NavDropdown.Item>
<StyledNavDown onClick={() => window.open(settings.links.audit, '_blank', 'noopener,noreferrer')}>
Audits <GoToIcon icon="arrow-diagonal" />
Expand Down

0 comments on commit 1224c51

Please sign in to comment.