# Port `site` to Astro (`site-2`) Date: 2026-11-01 ## Task `site/` is a static build output. Port it 1:1 to Astro in `site-2/`. ## What `site/` actually contains The current site is a hand-written static site with a dark "jewel" design: - `index.html` — homepage - `project/index.html` — "The Project" page - `devices/index.html` — generated device cards (from `devices/status.json`) - `assets/peacock-head.svg`, `assets/peacock-full.svg` — inlined at runtime - `logo-mark-dark.png` — favicon - `scripts/gen-devices.py` + `.github/workflows/devices.yml` — device pipeline - `vercel.json` — static hosting config It also contains **stale leftovers from an older Next.js export** (light "builder design language" theme, branch `origin/site-redesign-light`): `404.html`, `404/`, `_not-found/`, `_next/`, `index.txt`, `__next*.txt`, `assets/site.css`, `assets/site.js`. Nothing in the current pages references them (only `404.html` references `_next`). These were intentionally **not** ported. Git context: HEAD on `master` is commit `52064e2` ("Rework homepage copy …"), which is the current dark site. The Next.js files date from commits `46e21d5`/`2679833`/`211fe75`. ## Astro structure ``` site-2/ astro.config.mjs static, build.format 'directory' public/ favicon, devices/status.json, devices/img/ src/ assets/peacock-*.svg imported with ?raw and inlined at build time components/ Header.astro homeHref prop (index uses "#", others "/") Footer.astro Mark.astro strips , fill:#xxx -> fill:currentColor IridescentDefs.astro hidden SVG with the #irid gradient layouts/Base.astro head/meta/fonts, ambient/grain, page wrapper, shared script pages/ index.astro project.astro devices.astro renders from public/devices/status.json at build time 404.astro scripts/site.js reveals + spine (mark inlining removed) styles/global.css exact original