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 { AnnotationLayer, type Annotation } from "@/components/ui/annotation-layer"import { photoImage } from "@/preview/images"const annotations: Annotation[] = [ { id: "a1", x: 0.08, y: 0.12, width: 0.4, height: 0.12, note: "Heading is too small", author: "Mina" }, { id: "a2", x: 0.1, y: 0.42, width: 0.5, height: 0.2, note: "Add more spacing around the image", author: "Eli" }, { id: "a3", x: 0.6, y: 0.7, width: 0.3, height: 0.14, note: "CTA color is hard to see", author: "Sam" },]export default function AnnotationLayerDemo() { return ( <div className="w-full max-w-lg"> <AnnotationLayer src={photoImage("product landing page", 800, 600)} alt="Product landing page" annotations={annotations} defaultActiveId="a1" /> </div> )}