App Shell
One header, one footer, every ANUKA app. Implemented as Web Components fed by the database — update once, propagate everywhere.
<script src="https://docs.anuka.pro/anuka-shell.js"></script><anuka-header></anuka-header><!-- your app --><anuka-footer></anuka-footer>Works in React, Astro, Vue, or plain HTML. No framework lock-in.
Header
Section titled “Header”- Logo button — the SVG logotype (
/anuka-logo.svg) is the apps-menu button: logo 22px, padding 8px 12px, gap 8px, radius 12px, chevron 14px. This size is the reference standard for every surface — never resize it locally. (<anuka-apps-menu>, also usable standalone, e.g. on the docs homepage.) - Apps menu — dropdown opened by the logo button, with all platform apps (icon, name, tagline, status pill). Closes on outside click or Esc.
- Docs / Design — links to the documentation
- Get started — cyan button → auth.anuka.pro (signup + login in one flow)
No separate “Sign in” link — auth.anuka.pro handles both.
A surface whose header row already carries a competing control drops the CTA entirely with the no-cta attribute — <anuka-header no-cta> — instead of crowding the row. Docs renders without the CTA (founder decision 2026-10-20: on Docs the CTA conflicted with the apps-menu button and the sidebar toggle). Every other surface keeps the default single CTA.
App menu
Section titled “App menu”The menu is database-driven, not hardcoded:
- Table:
public.platform_apps(Supabase, anon-readable) - Columns:
name,tagline,link,icon,status(live/building/planned),sort_order,show_in_menu - The component fetches
show_in_menu=trueordered bysort_orderat runtime - Add an app in the DB → it appears in every header. No redeploys.
- The platform site itself — anuka.pro (
sort_order0) — is pinned first, with a horizontal divider after it, matching the site’s AppMenu.
Status pills: green live, amber building. planned apps are hidden from the menu.
Footer
Section titled “Footer”- Brand — logo + “Your Network State OS.”
- Apps — direct links to live apps
- Platform — Documentation, Design System, Plans
- Foundation — Manifesto, Protocols
- Bottom bar — © 2026 ANUKA · auth.anuka.pro · ← anuka.pro
Desktop
Section titled “Desktop”- At 72rem (1152px) and up a docs page is three columns: section sidebar, the article, and the on-this-page list. The reading column stays at 45rem — wider text is harder to scan, so extra screen width goes to navigation, never to longer lines.
- The shared shell header is full-width up to 1280px: logo apps-menu button (standard size) and the full nav are visible, plus the Get started CTA on surfaces that keep it (Docs opts out — see Header); the footer is four columns.
- The apps dropdown is 320px on desktop (it only shrinks when the viewport is narrower — see Mobile).
- Keyboard: every interactive element — sidebar links, search, pagination cards, shell nav, dropdown items, footer links — shows the same ANUKA focus ring (2px cyan outline, 2px offset) on
:focus-visible. The apps menu closes on Esc.
Mobile
Section titled “Mobile”- At 720px and below the header nav links collapse — the apps menu (logo button) stays, and the Get started CTA stays on surfaces that keep it (Docs does not); the footer goes to two columns, then one column at 400px.
- The apps dropdown never exceeds the viewport: its width is the smaller of 320px and the viewport minus 32px, and long app names or taglines wrap inside it instead of pushing it off-screen.
- On Docs, the mobile sidebar toggle is a labeled pill button — Contents (40px tall, top-right of the header row) — never a bare icon burger: the control says what it opens.
- Where a surface keeps the Get started CTA, it is at least 44px tall on every screen, so it stays an easy touch target.
- The apps-menu logo button keeps the standard size at every width — it is the reference, never resized locally.
- Every ANUKA app uses
<anuka-header>+<anuka-footer>. No custom headers. - Foundation is a regular app-menu item (from
platform_apps, like every app) and also keeps its footer column. - One CTA: “Get started” → auth.anuka.pro — or none (
no-cta) when the header row carries a competing control. Never two CTAs, never a CTA competing with another primary control in the same row. - Menu content comes from the database. Never hardcode the app list.
- The logo is always the SVG logotype — never text. The logo button size is the standard; surfaces match it, never the other way around.
- Netlify HUD is hidden on every ANUKA surface. The canonical CSS rule (
#nl-hud-frame, #nl-badge-frame { display: none !important; }) ships in the shared styles and in any standalone page that does not load them — check standalone pages separately (sweep #2629).