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 { Lightbox, LightboxTrigger, type LightboxImage } from "@/components/ui/lightbox"import { avatarImage, photoImage } from "@/preview/images"const photos: LightboxImage[] = [ { src: photoImage("mountain lake at dawn", 1600, 1067), alt: "Lake at dawn", width: 1600, height: 1067, thumb: photoImage("mountain lake at dawn", 200, 200) }, { src: photoImage("forest ridge line", 1200, 1800), alt: "Ridge line", width: 1200, height: 1800, thumb: photoImage("forest ridge line", 200, 200) }, { src: photoImage("coastal cliffs", 1600, 1067), alt: "Coastal cliffs", width: 1600, height: 1067, thumb: photoImage("coastal cliffs", 200, 200) },]export default function LightboxDemo() { return ( <div className="flex flex-wrap items-center gap-2"> {photos.map((_, i) => ( <Lightbox key={i} images={photos} defaultIndex={i} defaultOpen={false}> <LightboxTrigger index={i} className="size-24" /> </Lightbox> ))} </div> )}