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:
@@ -11,7 +11,10 @@ by default.
|
||||
## Stack
|
||||
|
||||
- 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
|
||||
post or project never touches a component
|
||||
|
||||
|
||||
Reference in New Issue
Block a user