import styled from '@emotion/styled'; import { Link } from '@inertiajs/react'; import ExternalLink from '~/components/common/external_link'; import RoundedImage from '~/components/common/rounded_image'; import UnstyledList from '~/components/common/unstyled/unstyled_list'; import useUser from '~/hooks/use_user'; import PATHS from '../../../app/constants/paths'; type NavbarListDirection = { right?: boolean; }; const Nav = styled.nav({ width: '100%', padding: '0.75em 0', display: 'flex', alignItems: 'center', }); const NavList = styled(UnstyledList)(({ theme, right }) => ({ display: 'flex', flex: 1, gap: '1.5em', justifyContent: right ? 'flex-end' : 'flex-start', transition: theme.transition.delay, })); const UserCard = styled.div({ display: 'flex', gap: '0.35em', alignItems: 'center', justifyContent: 'center', }); export default function Navbar() { const { isAuthenticated, user } = useUser(); return ( ); }