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 { ArchiveIcon, Trash2Icon } from "lucide-react"import { avatarImage } from "@/preview/images"import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"import { Button } from "@/components/ui/button"import { Card, CardContent } from "@/components/ui/card"import { Separator } from "@/components/ui/separator"const messages = [ { name: "Ana Ruiz", preview: "Can we move the review to Friday?" }, { name: "Marcus Lee", preview: "The build passed on the staging branch." }, { name: "Olivia Martin", preview: "Invoice for March is attached." },]export default function SwipeRowDemo() { return ( <Card className="w-full max-w-md py-0"> <CardContent className="p-0"> {messages.map((m, i) => ( <div key={m.name}> {i > 0 && <Separator />} <div className="flex items-center gap-3 px-4 py-3"> <Avatar> <AvatarImage src={avatarImage(m.name)} alt={m.name} /> <AvatarFallback>{m.name[0]}</AvatarFallback> </Avatar> <div className="min-w-0 flex-1"> <p className="truncate text-sm font-medium">{m.name}</p> <p className="truncate text-sm text-muted-foreground">{m.preview}</p> </div> <div className="flex gap-1"> <Button size="icon" variant="outline" aria-label="Archive"> <ArchiveIcon /> </Button> <Button size="icon" variant="destructive" aria-label="Delete"> <Trash2Icon /> </Button> </div> </div> </div> ))} </CardContent> </Card> )}