Add leaderboards as top level navigation. Remove more option
This commit is contained in:
parent
240355f717
commit
bfc1f38477
|
@ -41,7 +41,13 @@ function getNavigation() {
|
||||||
},
|
},
|
||||||
|
|
||||||
...(IS_PRIVATE_MANIFOLD
|
...(IS_PRIVATE_MANIFOLD
|
||||||
? []
|
? [
|
||||||
|
{
|
||||||
|
name: 'Leaderboards',
|
||||||
|
href: `/leaderboards`,
|
||||||
|
icon: TrendingUpIcon,
|
||||||
|
},
|
||||||
|
]
|
||||||
: [{ name: 'Get M$', href: '/add-funds', icon: CashIcon }]),
|
: [{ name: 'Get M$', href: '/add-funds', icon: CashIcon }]),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -245,10 +251,6 @@ export default function Sidebar(props: { className?: string }) {
|
||||||
{navigationOptions.map((item) => (
|
{navigationOptions.map((item) => (
|
||||||
<SidebarItem key={item.href} item={item} currentPage={currentPage} />
|
<SidebarItem key={item.href} item={item} currentPage={currentPage} />
|
||||||
))}
|
))}
|
||||||
<MenuButton
|
|
||||||
menuItems={getMoreNavigation(user)}
|
|
||||||
buttonContent={<MoreButton />}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{/* Spacer if there are any groups */}
|
{/* Spacer if there are any groups */}
|
||||||
{memberItems.length > 0 && (
|
{memberItems.length > 0 && (
|
||||||
|
|
Loading…
Reference in New Issue
Block a user