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 * as React from "react"import { FullscreenButton } from "@/components/ui/fullscreen-button"const bars = [ { month: "Jan", value: 45 }, { month: "Feb", value: 62 }, { month: "Mar", value: 38 }, { month: "Apr", value: 74 }, { month: "May", value: 58 }, { month: "Jun", value: 89 },]export default function FullscreenButtonDemo() { const ref = React.useRef<HTMLDivElement>(null) return ( <div ref={ref} className="w-full max-w-md space-y-4 rounded-xl border bg-background p-6 text-foreground"> <div className="flex items-start justify-between gap-4"> <div className="space-y-1"> <p className="text-sm font-medium">Monthly revenue</p> <p className="text-sm text-muted-foreground">January to June</p> </div> <FullscreenButton targetRef={ref} /> </div> <div className="flex h-40 items-end gap-3"> {bars.map((bar) => ( <div key={bar.month} className="flex flex-1 flex-col items-center gap-2"> <div className="w-full rounded-t-md bg-primary" style={{ height: `${bar.value}%` }} /> <span className="text-xs text-muted-foreground">{bar.month}</span> </div> ))} </div> </div> )}