import type { FC, PropsWithChildren } from "hono/jsx"; import { tokensToCss } from "../lib/theme.js"; import { neobrutalLight } from "../styles/presets/neobrutal-light.js"; import type { WebSession } from "../lib/session.js"; const ROOT_CSS = `:root { ${tokensToCss(neobrutalLight)} }`; const NavContent: FC<{ auth?: WebSession }> = ({ auth }) => ( <> {auth?.authenticated ? ( <> {auth.handle}
> ) : ( Log in )} > ); export const BaseLayout: FC< PropsWithChildren<{ title?: string; auth?: WebSession }> > = (props) => { const { auth } = props; return (