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
export default function GradualBlurDemo() { const divCount = 5 const increment = 100 / divCount const layers = Array.from({ length: divCount }, (_, i) => { const n = i + 1 const p1 = increment * (n - 1) const p2 = increment * n const p3 = increment * n + increment const p4 = increment * n + increment * 2 const stops = `transparent ${p1}%, black ${p2}%` + (p3 <= 100 ? `, black ${p3}%` : "") + (p4 <= 100 ? `, transparent ${p4}%` : "") const mask = `linear-gradient(to bottom, ${stops})` const blur = `blur(${(0.0625 * (n + 1) * 2).toFixed(3)}rem)` return { mask, blur } }) return ( <div className="relative h-48 w-full max-w-md overflow-hidden rounded-md border bg-background p-4"> <div className="flex flex-col gap-3 text-sm"> <p className="font-medium">Release notes</p> <p className="text-muted-foreground">Version 2.4 adds faster search, a refreshed settings page, and support for keyboard shortcuts across all dialogs.</p> <p className="text-muted-foreground">Fixed an issue where long file names would overflow the sidebar on narrow screens.</p> <p className="text-muted-foreground">Improved load times for large projects by caching workspace metadata between sessions.</p> <p className="text-muted-foreground">Updated translations for French, German, and Japanese.</p> <p className="text-muted-foreground">Removed the legacy export format, which was rarely used.</p> </div> <div className="pointer-events-none absolute inset-x-0 bottom-0 h-24 z-10"> <div className="relative h-full w-full"> {layers.map((layer, index) => ( <div key={index} className="absolute inset-0" style={{ maskImage: layer.mask, WebkitMaskImage: layer.mask, backdropFilter: layer.blur, WebkitBackdropFilter: layer.blur, }} /> ))} </div> </div> </div> )}