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 { useState } from "react"import { Button } from "@/components/ui/button"import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"const steps = [ { title: "Shipping", body: "Enter your shipping address to get started." }, { title: "Delivery", body: "Choose a delivery method that works for you." }, { title: "Review", body: "Review your order and confirm the purchase." },]export default function StepperDemo() { const [current, setCurrent] = useState(0) const isLast = current === steps.length - 1 return ( <Card className="w-full max-w-md"> <CardHeader> <CardTitle>{steps[current].title}</CardTitle> <div className="flex items-center gap-2 pt-2"> {steps.map((step, index) => ( <div key={step.title} className={`flex h-7 w-7 items-center justify-center rounded-full text-xs font-medium ${ index <= current ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground" }`} > {index + 1} </div> ))} </div> </CardHeader> <CardContent> <p className="text-sm">{steps[current].body}</p> </CardContent> <CardFooter className="flex justify-between"> <Button variant="outline" disabled={current === 0} onClick={() => setCurrent(current - 1)}> Back </Button> <Button onClick={() => setCurrent(isLast ? 0 : current + 1)}> {isLast ? "Complete" : "Continue"} </Button> </CardFooter> </Card> )}