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 { CouponCode, type LineItem, type PromoCode } from "@/components/coupon-code"const items: LineItem[] = [ { name: "Linen overshirt", detail: "Sand, size M", price: 68, swatch: "#d9c9a8" }, { name: "Waxed canvas tote", detail: "Olive", price: 24, swatch: "#6b705c" },]const codes: PromoCode[] = [ { code: "WELCOME10", kind: "percent", percent: 10, blurb: "10% off your first order." }, { code: "FREESHIP", kind: "shipping", blurb: "Shipping is on us." },]export default function CouponCodeDemo() { return <CouponCode items={items} shipping={6} codes={codes} />}