--- // Every page: sidebar nav, top bar (commands, running jobs, health), the // stale-server banner, and the one command palette + runner dialog pair. // All live parts are custom elements registered by src/elements/shell.ts. import '@kuhyx/web-ui/tokens.css' import '../styles/theme.css' import '../index.css' import '../styles/app.css' import '../styles/controls.css' import '../styles/screens.css' import '../styles/library.css' import DevToken from '../components/DevToken.astro' import { BUILD_STAMP } from '../lib/buildStamp' import { NAV } from '../shell/nav' interface Props { title: string } const { title } = Astro.props const here = Astro.url.pathname.replace(/\/$/, '') || '/' const isActive = (to: string) => (to === '/' ? here === '/' : here === to || here.startsWith(`${to}/`)) const href = (to: string) => (to === '/' ? '/' : `${to}/`) ---