Publish an animated guide to the lab on GitLab Pages

What does this MR do and why?

This MR adds a GitLab Pages site for the lab. It is for team members who are new to the platform and start with nothing but Claude Code installed. It covers what the lab is and how to get from nothing to a first working rig.

The site is one page with six sections:

  1. A rig. What a rig is. Animated.
  2. Lifecycle. The phases of up, then down, the 30-minute idle self-delete and the TTL. Animated.
  3. Bases. A picker with one plain sentence for each base.
  4. Get started. Sandbox Cloud, then mise, then the preflight loop, then the first up. The animated transcript uses the real just lab preflight output from first-run.md and preflight.sh.
  5. Contribute. One picture of the path from a bug to a merged fix, showing the two points where you say yes. Animated.
  6. Ask Claude. The install lines and the opening prompt, each with a copy button.

Every animation can be paused. With prefers-reduced-motion, or with the motion switch off, each one shows as a complete static diagram. The site is built with Astro and vanilla JS, with inline SVG and no CDN scripts. It links the public-sector reference design stylesheet the way the other public-sector sites do.

Deploy path

flowchart LR
  MR[Merge request] --> check[site-check<br/>astro check + build]
  main[Default branch] --> pages[pages job<br/>build to public/]
  pages --> live[GitLab Pages<br/>gitlab-com.gitlab.io/public-sector/gitlab-simulation]
  • site-check runs on merge request pipelines only.
  • pages runs on the default branch only, and not on schedules.

Screenshots

Desktop, light Desktop, dark Phone, dark
A rig Lifecycle Bases

How to set up and validate locally

cd site
npm ci
npm run check
npm run build
npx astro preview

Open http://localhost:4321/public-sector/gitlab-simulation/. Toggle the motion and theme switches, and try a 390 px wide window.

I checked it at 390, 1440 and 2560 px wide in light and dark, with motion on and off. There is no horizontal scroll at 390 px, and the headings hold their wrap at 2560 px.

Merge request reports

Loading
Loading