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 { ManticLogo } from './mantic-logo' import { ProfileMenu } from './profile-menu' export function NavBar(props: { darkBackground?: boolean className?: string children?: any }) { const { darkBackground, className, children } = props const user = useUser() const hoverClasses = 'hover:underline hover:decoration-indigo-400 hover:decoration-2' const themeClasses = clsx(darkBackground && 'text-white', hoverClasses) return ( ) } function SignedInHeaders(props: { user: User; themeClasses?: string }) { const { user, themeClasses } = props return ( <> ) } function SignedOutHeaders(props: { themeClasses?: string }) { const { themeClasses } = props return ( <>
Sign in
) }