From c18a0378e9117798e6025bd5792c76a96dd2baf5 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Tue, 28 Jun 2022 11:18:55 -0500 Subject: [PATCH] Tweak nav items around --- web/components/nav/sidebar.tsx | 40 ++++++++++++---------------------- 1 file changed, 14 insertions(+), 26 deletions(-) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 6c3d4fc4..e5f3cd5c 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -57,12 +57,10 @@ function getMoreNavigation(user?: User | null) { } return [ + { name: 'Send M$', href: '/links' }, { name: 'Leaderboards', href: '/leaderboards' }, { name: 'Charity', href: '/charity' }, - { name: 'Blog', href: 'https://news.manifold.markets' }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, - { name: 'Twitter', href: 'https://twitter.com/ManifoldMarkets' }, - { name: 'Statistics', href: '/stats' }, { name: 'About', href: 'https://docs.manifold.markets/$how-to' }, { name: 'Sign out', @@ -100,6 +98,18 @@ const signedInMobileNavigation = [ ...signedOutMobileNavigation, ] +function getMoreMobileNav() { + return [ + { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, + { name: 'Statistics', href: '/stats' }, + { + name: 'Sign out', + href: '#', + onClick: withTracking(firebaseLogout, 'sign out'), + }, + ] +} + export type Item = { name: string href: string @@ -211,29 +221,7 @@ export default function Sidebar(props: { className?: string }) { {user && ( } /> )}