Add Discord link as menu option!

This commit is contained in:
jahooma 2021-12-31 14:33:05 -06:00
parent 7d5e02a69c
commit 50e3dc5cd0
2 changed files with 5 additions and 1 deletions

View File

@ -34,6 +34,7 @@ export function MenuButton(props: {
{({ active }) => (
<a
href={item.href}
target={item.href.startsWith('http') ? '_blank' : undefined}
onClick={item.onClick}
className={clsx(
active ? 'bg-gray-100' : '',

View File

@ -48,7 +48,10 @@ function getNavigationOptions(user: User, options: { mobile: boolean }) {
name: 'Your markets',
href: `/${user.username}`,
},
{
name: 'Discord',
href: 'https://discord.gg/eHQBNBqXuh',
},
{
name: 'Sign out',
href: '#',