import clsx from 'clsx' import Link from 'next/link' import { useUser } from '../hooks/use-user' import { Row } from './layout/row' import { firebaseLogin, User } from '../lib/firebase/users' import { ManifoldLogo } from './manifold-logo' import { ProfileMenu } from './profile-menu' export function NavBar(props: { darkBackground?: boolean wide?: boolean className?: string }) { const { darkBackground, wide, className } = props const user = useUser() const hoverClasses = 'hover:underline hover:decoration-indigo-400 hover:decoration-2' const themeClasses = clsx(darkBackground && 'text-white', hoverClasses) return ( ) } function NavOptions(props: { user: User | null; themeClasses: string }) { const { user, themeClasses } = props return ( <> {user === null && ( About )} All markets {user === null ? ( <>