Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { Badge } from "@/components/ui/badge"import { Card, CardContent } from "@/components/ui/card"import { Separator } from "@/components/ui/separator"import { hyperspeedPresets } from "@/components/HyperspeedPresets"const toHex = (c: number) => `#${c.toString(16).padStart(6, "0")}`export default function HyperspeedDemo() { return ( <Card className="w-full max-w-md"> <CardContent className="flex flex-col gap-3"> {Object.entries(hyperspeedPresets).map(([name, preset], index) => { const swatches = [ ...preset.colors.leftCars, ...preset.colors.rightCars, preset.colors.sticks, ] return ( <div key={name}> {index > 0 && <Separator className="mb-3" />} <div className="flex items-center justify-between gap-4"> <div className="flex flex-col gap-2"> <span className="text-sm font-medium capitalize">Preset {name}</span> <div className="flex gap-1"> {swatches.map((c, i) => ( <span key={`${name}-${i}`} className="size-4 rounded-full border" style={{ backgroundColor: toHex(c) }} /> ))} </div> </div> <Badge variant="outline">{preset.lanesPerRoad} lanes</Badge> </div> </div> ) })} </CardContent> </Card> )}