import type { ReactNode } from "react"; import { NavLink, Outlet } from "react-router"; import { SCREENS } from "../routes"; export interface LayoutProps { /** Shown at the top right; live values arrive with the player state and clock steps. */ credits?: ReactNode; clock?: ReactNode; } /** Header with credits and game clock, the current screen, and a bottom tab bar. */ export function Layout({ credits = "—", clock = "—" }: LayoutProps) { return (
DEADHEAD
{credits} {clock}
); }