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 { SwipeDeck } from "@/components/ui/swipe-deck"const hotels = [ { name: "Hotel Lumen", city: "Lisbon", price: "$182 / night" }, { name: "Harbor House", city: "Porto", price: "$164 / night" }, { name: "Kestrel Inn", city: "Seville", price: "$139 / night" },]export default function SwipeDemo() { return ( <SwipeDeck items={hotels} getKey={(hotel) => hotel.name} getLabel={(hotel) => hotel.name} left={{ label: "Skip", tone: "danger" }} right={{ label: "Save", tone: "success" }} renderCard={(hotel) => ( <div className="flex h-full flex-col justify-end gap-1 p-6"> <p className="text-sm text-muted-foreground">{hotel.city}</p> <p className="text-xl font-semibold">{hotel.name}</p> <p className="text-sm">{hotel.price}</p> </div> )} /> )}