Add Discord link as menu option!
This commit is contained in:
parent
7d5e02a69c
commit
50e3dc5cd0
|
@ -34,6 +34,7 @@ export function MenuButton(props: {
|
||||||
{({ active }) => (
|
{({ active }) => (
|
||||||
<a
|
<a
|
||||||
href={item.href}
|
href={item.href}
|
||||||
|
target={item.href.startsWith('http') ? '_blank' : undefined}
|
||||||
onClick={item.onClick}
|
onClick={item.onClick}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
active ? 'bg-gray-100' : '',
|
active ? 'bg-gray-100' : '',
|
||||||
|
|
|
@ -48,7 +48,10 @@ function getNavigationOptions(user: User, options: { mobile: boolean }) {
|
||||||
name: 'Your markets',
|
name: 'Your markets',
|
||||||
href: `/${user.username}`,
|
href: `/${user.username}`,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Discord',
|
||||||
|
href: 'https://discord.gg/eHQBNBqXuh',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'Sign out',
|
name: 'Sign out',
|
||||||
href: '#',
|
href: '#',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user