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 { CheckCircle2Icon, CircleIcon } from "lucide-react"import { Badge } from "@/components/ui/badge"import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"import { Separator } from "@/components/ui/separator"import { TEAM_AURORA, TEAM_AURORA_BADGES } from "@/components/team-trophy-shelf/dummy-data"const earnedCount = TEAM_AURORA_BADGES.filter((badge) => badge.awardedAt !== undefined).lengthexport default function TeamTrophyShelfDemo() { return ( <Card className="w-full max-w-md"> <CardHeader> <CardTitle>{TEAM_AURORA.name}</CardTitle> <CardDescription> {earnedCount} / {TEAM_AURORA_BADGES.length} badges earned </CardDescription> </CardHeader> <CardContent className="flex flex-col gap-3"> <Separator /> {TEAM_AURORA_BADGES.map((badge) => { const earned = badge.awardedAt !== undefined return ( <div key={badge.id} className="flex items-center justify-between gap-2"> <div className="flex min-w-0 items-center gap-2"> {earned ? ( <CheckCircle2Icon className="size-4 shrink-0" /> ) : ( <CircleIcon className="text-muted-foreground size-4 shrink-0" /> )} <span className={earned ? "truncate text-sm" : "text-muted-foreground truncate text-sm"}> {badge.label} </span> </div> <Badge variant={earned ? "default" : "outline"}>{earned ? "Earned" : "Locked"}</Badge> </div> ) })} </CardContent> </Card> )}