import { Popover } from '@headlessui/react' import Link from 'next/link' import { useUser } from '../hooks/use-user' import { firebaseLogin } from '../lib/firebase/users' const navigation = [ { name: 'About', href: 'https://mantic.notion.site/About-Mantic-Markets-09bdde9044614e62a27477b4b1bf77ea', }, { name: 'Simulator', href: '/simulator' }, ] function SignInLink() { const user = useUser() return ( <> {user ? ( {user.name} ) : ( firebaseLogin()} > Sign In )} > ) } export function Header() { return ( Mantic Markets {navigation.map((item) => ( {item.name} ))} ) }