Move About page out of navbar
This commit is contained in:
parent
edb3809f1c
commit
344ce69fee
|
@ -35,6 +35,7 @@ export function NavBar(props: {
|
|||
<Row className="items-center gap-6 sm:gap-8 md:ml-16 lg:ml-40">
|
||||
{children}
|
||||
|
||||
{!user && (
|
||||
<Link href="/about">
|
||||
<a
|
||||
className={clsx(
|
||||
|
@ -45,6 +46,7 @@ export function NavBar(props: {
|
|||
About
|
||||
</a>
|
||||
</Link>
|
||||
)}
|
||||
|
||||
{!isLandingPage && (
|
||||
<Link href="/markets">
|
||||
|
|
|
@ -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: '#',
|
||||
|
|
Loading…
Reference in New Issue
Block a user