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 { useState } from "react"import { photoImage } from "@/preview/images"import { Card, CardContent } from "@/components/ui/card"export default function PixelTransitionDemo() { const [active, setActive] = useState(false) return ( <Card role="button" tabIndex={0} onMouseEnter={() => setActive(true)} onMouseLeave={() => setActive(false)} onFocus={() => setActive(true)} onBlur={() => setActive(false)} onClick={() => setActive((v) => !v)} className="relative w-full max-w-sm cursor-pointer overflow-hidden p-0" > <div className="relative aspect-[4/3] w-full"> {active ? ( <div className="flex h-full flex-col items-center justify-center gap-1 bg-muted p-4 text-center"> <p className="font-medium">Trail Runner 2</p> <p className="text-sm text-muted-foreground"> Lightweight mesh upper with a grippy outsole. </p> </div> ) : ( <img src={photoImage("running shoes", 800, 600)} alt="Front of the product" className="h-full w-full object-cover" /> )} </div> <CardContent className="sr-only" /> </Card> )}