Move About page out of navbar

This commit is contained in:
Austin Chen 2022-01-12 02:18:14 -05:00
parent edb3809f1c
commit 344ce69fee
2 changed files with 16 additions and 11 deletions

View File

@ -35,16 +35,18 @@ export function NavBar(props: {
<Row className="items-center gap-6 sm:gap-8 md:ml-16 lg:ml-40">
{children}
<Link href="/about">
<a
className={clsx(
'text-base hidden md:block whitespace-nowrap',
themeClasses
)}
>
About
</a>
</Link>
{!user && (
<Link href="/about">
<a
className={clsx(
'text-base hidden md:block whitespace-nowrap',
themeClasses
)}
>
About
</a>
</Link>
)}
{!isLandingPage && (
<Link href="/markets">

View File

@ -59,7 +59,10 @@ function getNavigationOptions(user: User, options: { mobile: boolean }) {
name: 'Discord',
href: 'https://discord.gg/eHQBNBqXuh',
},
...(mobile ? [{ name: 'About', href: '/about' }] : []),
{
name: 'About',
href: '/about',
},
{
name: 'Sign out',
href: '#',