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 { useRef } from "react"import { PinPile } from "@/components/ui/pin-pile"const cards = [ { title: "Plan the trip", body: "Pick dates and set a rough budget." }, { title: "Book the stay", body: "Compare a few places near the city center." }, { title: "Pack your bags", body: "Start with the essentials and comfortable shoes." }, { title: "Enjoy the journey", body: "Leave room in the schedule for surprises." },]export default function PinPileDemo() { const scrollRef = useRef<HTMLDivElement>(null) return ( <div ref={scrollRef} className="h-[400px] w-full max-w-md overflow-y-auto rounded-xl border bg-muted/40 p-4" > <PinPile scrollContainerRef={scrollRef} itemClassName="shadow-lg"> {cards.map((card) => ( <div key={card.title} className="h-72 bg-white p-6 text-zinc-900"> <p className="text-lg font-semibold">{card.title}</p> <p className="mt-2 text-sm text-zinc-600">{card.body}</p> </div> ))} </PinPile> </div> )}