diff --git a/web/components/nav/sidebar.tsx b/web/components/nav/sidebar.tsx index 60c353fc..979586f9 100644 --- a/web/components/nav/sidebar.tsx +++ b/web/components/nav/sidebar.tsx @@ -54,7 +54,13 @@ function getNavigation() { function getMoreNavigation(user?: User | null) { if (IS_PRIVATE_MANIFOLD) { - return [{ name: 'Leaderboards', href: '/leaderboards' }] + return [ + { + name: 'Sign out', + href: '#', + onClick: withTracking(firebaseLogout, 'sign out'), + }, + ] } if (!user) { @@ -251,6 +257,12 @@ export default function Sidebar(props: { className?: string }) { {navigationOptions.map((item) => ( ))} + {user && ( + } + /> + )} {/* Spacer if there are any groups */} {memberItems.length > 0 && (