From 311b39ffe9f9546860276584fa4f938174fa5dab Mon Sep 17 00:00:00 2001 From: James Grugett Date: Wed, 1 Jun 2022 23:31:38 -0500 Subject: [PATCH] Demote charity to more menu --- web/components/nav/sidebar.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 70396676..49bb0c0d 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -50,8 +50,6 @@ function getNavigation(username: string) { href: `/notifications`, icon: NotificationsIcon, }, - - { name: 'Charity', href: '/charity', icon: HeartIcon }, ] } @@ -62,6 +60,7 @@ function getMoreNavigation(user?: User | null) { if (!user) { return [ + { name: 'Charity', href: '/charity' }, { name: 'Leaderboards', href: '/leaderboards' }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, { name: 'Twitter', href: 'https://twitter.com/ManifoldMarkets' }, @@ -70,6 +69,7 @@ function getMoreNavigation(user?: User | null) { return [ { name: 'Add funds', href: '/add-funds' }, + { name: 'Charity', href: '/charity' }, { name: 'Leaderboards', href: '/leaderboards' }, { name: 'Blog', href: 'https://news.manifold.markets' }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, @@ -82,7 +82,6 @@ function getMoreNavigation(user?: User | null) { const signedOutNavigation = [ { name: 'Home', href: '/home', icon: HomeIcon }, { name: 'Explore', href: '/markets', icon: SearchIcon }, - { name: 'Charity', href: '/charity', icon: HeartIcon }, { name: 'About', href: 'https://docs.manifold.markets', icon: BookOpenIcon }, ]