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 { SpotlightGrid, type Feature } from "@/components/spotlight-card"const features: Feature[] = [ { title: "Instant sync", text: "Edits land on every device before you switch tabs.", icon: ( <svg viewBox="0 0 20 20" className="size-5" fill="none" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" strokeLinejoin="round" aria-hidden> <path d="M15.5 8a5.5 5.5 0 0 0-10-2.5M4.5 12a5.5 5.5 0 0 0 10 2.5M15.5 3.5V8H11M4.5 16.5V12H9" /> </svg> ), }, { title: "Works offline", text: "Keep writing on a plane. Changes merge when you reconnect.", icon: ( <svg viewBox="0 0 20 20" className="size-5" fill="none" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" strokeLinejoin="round" aria-hidden> <path d="M3 3l14 14M7.5 16h7a3 3 0 0 0 1.2-5.75M5.1 7.1A4.5 4.5 0 0 0 7.5 16M8.5 4.3A5 5 0 0 1 14.6 8" /> </svg> ), }, { title: "End-to-end encrypted", text: "Only you and the people you invite can read your notes.", icon: ( <svg viewBox="0 0 20 20" className="size-5" fill="none" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" strokeLinejoin="round" aria-hidden> <rect x="4" y="9" width="12" height="8" rx="2" /> <path d="M7 9V6.5a3 3 0 0 1 6 0V9" /> </svg> ), }, { title: "Full history", text: "Step back to any version, down to the keystroke.", icon: ( <svg viewBox="0 0 20 20" className="size-5" fill="none" stroke="currentColor" strokeWidth={1.5} strokeLinecap="round" strokeLinejoin="round" aria-hidden> <path d="M3.5 10a6.5 6.5 0 1 0 1.9-4.6M3.5 3.5v2.9h2.9M10 6.5V10l2.5 1.5" /> </svg> ), },]export default function SpotlightCardDemo() { return <SpotlightGrid features={features} />}