Demote charity to more menu

This commit is contained in:
James Grugett 2022-06-01 23:31:38 -05:00
parent f14bb63393
commit 311b39ffe9

View File

@ -50,8 +50,6 @@ function getNavigation(username: string) {
href: `/notifications`, href: `/notifications`,
icon: NotificationsIcon, icon: NotificationsIcon,
}, },
{ name: 'Charity', href: '/charity', icon: HeartIcon },
] ]
} }
@ -62,6 +60,7 @@ function getMoreNavigation(user?: User | null) {
if (!user) { if (!user) {
return [ return [
{ name: 'Charity', href: '/charity' },
{ name: 'Leaderboards', href: '/leaderboards' }, { name: 'Leaderboards', href: '/leaderboards' },
{ name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' },
{ name: 'Twitter', href: 'https://twitter.com/ManifoldMarkets' }, { name: 'Twitter', href: 'https://twitter.com/ManifoldMarkets' },
@ -70,6 +69,7 @@ function getMoreNavigation(user?: User | null) {
return [ return [
{ name: 'Add funds', href: '/add-funds' }, { name: 'Add funds', href: '/add-funds' },
{ name: 'Charity', href: '/charity' },
{ name: 'Leaderboards', href: '/leaderboards' }, { name: 'Leaderboards', href: '/leaderboards' },
{ name: 'Blog', href: 'https://news.manifold.markets' }, { name: 'Blog', href: 'https://news.manifold.markets' },
{ name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' }, { name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh' },
@ -82,7 +82,6 @@ function getMoreNavigation(user?: User | null) {
const signedOutNavigation = [ const signedOutNavigation = [
{ name: 'Home', href: '/home', icon: HomeIcon }, { name: 'Home', href: '/home', icon: HomeIcon },
{ name: 'Explore', href: '/markets', icon: SearchIcon }, { name: 'Explore', href: '/markets', icon: SearchIcon },
{ name: 'Charity', href: '/charity', icon: HeartIcon },
{ name: 'About', href: 'https://docs.manifold.markets', icon: BookOpenIcon }, { name: 'About', href: 'https://docs.manifold.markets', icon: BookOpenIcon },
] ]