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"> <Row className="items-center gap-6 sm:gap-8 md:ml-16 lg:ml-40">
{children} {children}
<Link href="/about"> {!user && (
<a <Link href="/about">
className={clsx( <a
'text-base hidden md:block whitespace-nowrap', className={clsx(
themeClasses 'text-base hidden md:block whitespace-nowrap',
)} themeClasses
> )}
About >
</a> About
</Link> </a>
</Link>
)}
{!isLandingPage && ( {!isLandingPage && (
<Link href="/markets"> <Link href="/markets">

View File

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