From 960b118e909e1f9d5edd62d8f4e431c0ca27a28b Mon Sep 17 00:00:00 2001 From: James Grugett Date: Thu, 11 Aug 2022 12:50:45 -0500 Subject: [PATCH] Add discord link --- web/components/nav/sidebar.tsx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 1b2eedce..998757b9 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -51,6 +51,7 @@ function getNavigation() { function getMoreNavigation(user?: User | null) { if (IS_PRIVATE_MANIFOLD) { return [ + { name: 'Discord', href: 'https://discord.gg/ZtT7PxapSS' }, { name: 'Manifold Markets', href: 'https://manifold.markets' }, { name: 'Sign out', @@ -113,7 +114,15 @@ const signedOutNavigation = [ ] const signedOutMobileNavigation = IS_PRIVATE_MANIFOLD - ? [{ name: 'Leaderboards', href: '/leaderboards', icon: TrendingUpIcon }] + ? [ + { name: 'Leaderboards', href: '/leaderboards', icon: TrendingUpIcon }, + + { + name: 'Discord', + href: 'https://discord.gg/ZtT7PxapSS', + icon: ChatIcon, + }, + ] : [ { name: 'Charity', href: '/charity', icon: HeartIcon }, { name: 'Leaderboards', href: '/leaderboards', icon: TrendingUpIcon }, @@ -141,7 +150,10 @@ const signedInMobileNavigation = [ function getMoreMobileNav() { return [ ...(IS_PRIVATE_MANIFOLD - ? [{ name: 'Manifold Markets', href: 'https://manifold.markets' }] + ? [ + { name: 'Manifold Markets', href: 'https://manifold.markets' }, + { name: 'Discord', href: 'https://discord.gg/ZtT7PxapSS' }, + ] : CHALLENGES_ENABLED ? [ { name: 'Challenges', href: '/challenges' },