import clsx from 'clsx' import { Popover } from '@headlessui/react' import Link from 'next/link' import { useUser } from '../hooks/use-user' import { firebaseLogin } from '../lib/firebase/users' import Image from 'next/image' const navigation = [ { name: 'About', href: 'https://mantic.notion.site/About-Mantic-Markets-46a1a0fb6e294011a8b6b582e276359f', }, { name: 'Simulator', href: '/simulator' }, ] function SignInLink(props: { darkBackground?: boolean }) { const { darkBackground } = props const user = useUser() const themeClasses = darkBackground ? 'text-white hover:text-gray-300' : 'hover:text-gray-500' return ( <> {user ? ( <> Create a market {user.name} ) : ( )} ) } export function Header(props: { darkBackground?: boolean }) { const { darkBackground } = props return (
) }