--- /** * Demo.astro — the stable demo seam (ADR-website-001 §3). Call sites use this, * not Cast directly, so a future in-page WASM playground island can replace * the asciinema player behind the same `{ src, title, autoplay }` contract * with no change to the pages that embed it. */ import Cast from './Cast.astro'; interface Props { /** Path to the cast, e.g. `/casts/quickstart.cast`. */ src: string; /** Optional caption shown above the demo. */ title?: string; autoplay?: boolean; } const { src, title, autoplay = false } = Astro.props; ---
{title &&
{title}
}