import { CSS, RootProps } from "@bigmoves/bff"; import { Meta } from "@bigmoves/bff/components"; import { Layout } from "./components/Layout.tsx"; import { GOATCOUNTER_URL } from "./env.ts"; import type { State } from "./state.ts"; export function Root(props: Readonly>) { const profile = props.ctx.state.profile; const hasNotifications = props.ctx.state.notifications?.find((n) => n.isRead === false) !== undefined; return ( {GOATCOUNTER_URL ? (