Skip to content

Commit

Permalink
fix: navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
Haruxe committed Oct 28, 2024
1 parent 69fecc8 commit a2cd0ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ const Header: FC = () => {
className='absolute inset-x-0 top-0 z-0 origin-top rounded-b-2xl bg-baoBlack px-6 pb-6 pt-32 shadow-2xl shadow-gray-900/20'
>
<div className='space-y-4'>
<MobileNavLink href='/vaults'>BORROW</MobileNavLink>
<MobileNavLink href='/vaults'>VAULTS</MobileNavLink>
<MobileNavLink href='/stake'>STAKE</MobileNavLink>
<MobileNavLink href='/swap'>SWAP</MobileNavLink>
<MobileNavLink href='/earn'>EARN</MobileNavLink>
<MobileNavLink href='/vebao'>VEBAO</MobileNavLink>
Expand Down
7 changes: 4 additions & 3 deletions src/components/Nav/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ const Nav: FC<NavLinkProps> = ({ href, exact }) => {

const navigation = [
['0', 'BORROW', '/vaults'],
['1', 'SWAP', '/swap'],
['2', 'EARN', '/earn'],
['3', 'VEBAO', '/vebao'],
['1', 'STAKE', '/stake'],
['2', 'SWAP', '/swap'],
['3', 'EARN', '/earn'],
['4', 'VEBAO', '/vebao'],
]

return (
Expand Down

0 comments on commit a2cd0ea

Please sign in to comment.