Fix signed out sidebar

This commit is contained in:
James Grugett 2022-08-07 07:36:10 -07:00
parent 13a2877e02
commit ffa74c8e10

View File

@ -111,11 +111,17 @@ const signedOutNavigation = [
{ name: 'Explore', href: '/markets', icon: SearchIcon },
]
const signedOutMobileNavigation = [
const signedOutMobileNavigation = IS_PRIVATE_MANIFOLD
? [{ name: 'Leaderboards', href: '/leaderboards', icon: TrendingUpIcon }]
: [
{ name: 'Charity', href: '/charity', icon: HeartIcon },
{ name: 'Leaderboards', href: '/leaderboards', icon: TrendingUpIcon },
{ name: 'Discord', href: 'https://discord.gg/eHQBNBqXuh', icon: ChatIcon },
]
{
name: 'Discord',
href: 'https://discord.gg/eHQBNBqXuh',
icon: ChatIcon,
},
]
const signedInMobileNavigation = [
{ name: 'Leaderboards', href: '/leaderboards', icon: TrendingUpIcon },