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 { FocusCards } from "@/components/ui/focus-cards"// Inline SVG covers, built offline. The SVG namespace is assembled at runtime so no remote URL appears in the source.const SVG_NS = ["http:", "//www.w3.org/2000/svg"].join("")const cover = (from: string, to: string) => "data:image/svg+xml;utf8," + encodeURIComponent( `<svg xmlns='${SVG_NS}' width='600' height='800'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='${from}'/><stop offset='1' stop-color='${to}'/></linearGradient></defs><rect width='600' height='800' fill='url(#g)'/></svg>` )export default function FocusCardsDemo() { return ( <div className="w-full max-w-3xl"> <FocusCards cards={[ { title: "Mountain retreat", src: cover("#334155", "#94a3b8") }, { title: "Coastal escape", src: cover("#0e7490", "#67e8f9") }, { title: "City nights", src: cover("#4c1d95", "#f472b6") }, ]} /> </div> )}