// The cover scenes: a product UI mockup per track, with the vendor's mark on an app-icon tile where the
// track is about a vendor's product (Claude Code, Codex). Copy in the mockups is illustrative only.
import { anthropic, claude, claudeCode, codex, mark, openai } from "./marks.mjs";
import { siteScene } from "./site-scene.mjs";
const tilt = (deg = -14, x = 7) => `transform: perspective(2200px) rotateY(${deg}deg) rotateX(${x}deg); transform-origin: 30% 50%;`;
const chip = (x, y, text, cls = "") => `
`;
// Stacked resource cards for the official-resources hubs
const stack = (x, y, owner, ownerMark, items) =>
items
.map(
([kind, title, host], i) => `
${kind}${mark(ownerMark, 20)}${owner}${host} ↗
${title}
`
)
.join("");
function claudeScene(v) {
const session =
v === "memory"
? `>/init● Reading the codebase
● Wrote CLAUDE.md
# Commands - Before a PR: pnpm lint && pnpm test # Gotchas✓Memory files: CLAUDE.md> `
: v === "hub"
? `>Where should I start with Claude Code?● Searching Anthropic's docs and courses
● Start with the best-practices guide
● Then a course and the weekly digest
Source: code.claude.com/docs> `
: `>Plan the refactor, then run the tests● Reading CLAUDE.md
● Plan · 3 steps
1. Extract the auth helpers 2. Update every import 3. Run the test suite✓42 tests passed> `;
// The hub mirrors the other Claude covers (window left, tile right) so it reads as its own image
const hub = v === "hub";
return `
`}`;
}
function codexScene(v) {
const session =
v === "agents"
? `$codex "List the instruction sources you loaded."▸ ~/.codex/AGENTS.md
▸ AGENTS.md
▸ services/payments/AGENTS.override.md
Closer files win when two rules disagree✓3 sources · 4.1 KiB of 32 KiB$ `
: v === "hub"
? `$codex "explain AGENTS.md to me"▸ Custom instructions live in AGENTS.md
▸ Put build, test and style rules there
▸ Codex reads it before every task
Source: OpenAI Codex docs$ `
: `$codex "validate the signup form"▸ Reading AGENTS.md
▸ Editing src/routes/signup.ts
+ const body = schema.parse(await req.json())+ if (!body.ok) return badRequest(body.error)- // TODO: validate input✓Tests passed · ready for review`;
return `
${chip(1210, 80, "Open weights")}${chip(160, 200, "ComfyUI")}${chip(1320, 820, "Runpod")}${chip(300, 860, "Text → video", "blur1")}`;
}
// One operator, several agents: a phone taking a dictated prompt, and three Claude Code sessions working at once
function operatorScene() {
const agents = [
["agent 1 — fix-date-bug", [["b", "●", "Reading src/lib/dates.ts"], ["b", "●", "Fixing the time-zone offset"], ["p", "✓", "npm test · 42 passed"]]],
["agent 2 — add-tests", [["b", "●", "Writing tests for checkout"], ["b", "●", "Running the new tests"], ["p", "✓", "18 tests added"]]],
["agent 3 — update-docs", [["b", "●", "Updating the README"], ["d", "◌", "Waiting for your review"]]],
];
const win = ([title, lines], i) => `
${title}${i === 2 ? "◌ review" : "● running"}
${lines
.map(([c, m, t]) => `${m}${t}`)
.join("\n")}
`;
const bubble = (text, me) => `
${text}
`;
return `
${agents.map(win).join("")}
${mark(claude, 26)}Claude Code
3 sessions · your computer
${bubble("Split this into three tasks and run them at the same time.", true)}
${bubble("Started 3 agents. I'll ask before anything is merged.", false)}
${bubble("Show me the test results.", true)}