OndiStudios site
This website. A static site whose every block can show its own source, weight and timings.
Fleet role: full build. Every block went through a brief, a plan and a cross-review.
Stack: astro · typescript · rust · wasm · cloudflare
Walkthrough
Now playing: a generated placeholder, drawn on your device. No file is loaded.
What it does
- 01Pages are plain HTML. JavaScript loads only where a demo needs it.
- 02Every demo starts, pauses and stops through one small contract, so a crash in one cannot take the page down.
- 03X-Ray in the status bar shows the source and the weight of any block.
Four layers
Pull the layers apart and pick one to see what it does and where its code lives.
L1 · Pages
Plain HTML made at build time. They work as links and text with JavaScript switched off.
src/pagesL2 · Shell
The frame around every page. Themes, the command palette, X-Ray and page transitions live here.
src/shellL3 · Demo host
Runs each demo through the same contract and cleans up after it.
src/perk-hostL4 · Build gates
Scripts that stop the build on a broken weight budget, a hole in the security policy or a private string.
scripts
From the project file
What it is
The site you are looking at. Each interactive demo is an isolated module in its own folder; the showcase discovers them automatically.
Why it is built this way
- Static first. Pages are plain HTML. JavaScript loads only where a demo needs it.
- One contract for every demo. A demo starts, pauses and stops through the same small API, and a crash in one demo cannot take the page down.
- Nothing on faith. Turn on X-Ray in the status bar to see the source and weight of any block.