Skip to content
ONDISTUDIOS
Case file · web

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

Watch

Walkthrough

Video slot · a 1–2 minute walkthrough goes here

Now playing: a generated placeholder, drawn on your device. No file is loaded.

In plain words

What it does

  1. 01Pages are plain HTML. JavaScript loads only where a demo needs it.
  2. 02Every demo starts, pauses and stops through one small contract, so a crash in one cannot take the page down.
  3. 03X-Ray in the status bar shows the source and the weight of any block.
How it is built

Four layers

Pull the layers apart and pick one to see what it does and where its code lives.

  1. L1 · Pages

    Plain HTML made at build time. They work as links and text with JavaScript switched off.

    src/pages
  2. L2 · Shell

    The frame around every page. Themes, the command palette, X-Ray and page transitions live here.

    src/shell
  3. L3 · Demo host

    Runs each demo through the same contract and cleans up after it.

    src/perk-host
  4. L4 · Build gates

    Scripts that stop the build on a broken weight budget, a hole in the security policy or a private string.

    scripts
Notes

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.
Keep going

Neighbouring projects

All projects