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 { HeartIcon } from "lucide-react"import { GalleryGrid, GalleryGridAction, type GalleryItem } from "@/components/ui/gallery-grid"import { photoImage } from "@/preview/images"const photos: GalleryItem[] = [ { id: "1", src: photoImage("mountain lake", 800, 1000), alt: "Mountain lake at dawn", width: 800, height: 1000, title: "Mountain lake", meta: "Oct 2024" }, { id: "2", src: photoImage("city street", 800, 600), alt: "City street at night", width: 800, height: 600, title: "City street", meta: "Sep 2024" }, { id: "3", src: photoImage("forest path", 800, 800), alt: "Forest path in fog", width: 800, height: 800, title: "Forest path", meta: "Aug 2024" }, { id: "4", src: photoImage("desert dunes", 800, 1100), alt: "Desert dunes", width: 800, height: 1100, title: "Desert dunes", meta: "Jul 2024" }, { id: "5", src: photoImage("coffee cup", 800, 600), alt: "Coffee cup on a table", width: 800, height: 600, title: "Coffee cup", meta: "Jun 2024" }, { id: "6", src: photoImage("ocean waves", 800, 900), alt: "Ocean waves", width: 800, height: 900, title: "Ocean waves", meta: "May 2024" },]export default function GalleryGridDemo() { return ( <GalleryGrid items={photos} defaultSelected={["2"]} className="w-full max-w-lg" actions={() => ( <GalleryGridAction label="Favorite"> <HeartIcon className="size-3.5" /> </GalleryGridAction> )} /> )}