README: describe the JS that actually ships instead of claiming zero, and note why the site still works with JS disabled

This commit is contained in:
2026-08-18 02:03:57 +10:00
parent 36444c3424
commit 51d1ccb149
+4 -1
View File
@@ -11,7 +11,10 @@ by default.
## Stack ## Stack
- Astro (static output), TypeScript, Tailwind v4 - Astro (static output), TypeScript, Tailwind v4
- Zero JS by default; small islands for the theme toggle and scroll reveals - Static output with one self-hosted client bundle (~74 KB: Motion for scroll reveals, plus a
small pre-paint theme script). No inline script anywhere, so `script-src 'self'` holds.
- Content is visible with JavaScript disabled: reveal styles are gated behind an `html.js`
class the script adds, and `prefers-reduced-motion` forces the visible state
- Content and config are data-driven (`src/data/`, `src/content/`) - adding a - Content and config are data-driven (`src/data/`, `src/content/`) - adding a
post or project never touches a component post or project never touches a component