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 { ParallaxScroll } from "@/components/ui/parallax-scroll"const SVG_NS = ["http", "://www.w3.org/2000/svg"].join("")const palette = [ ["#f97316", "#facc15"], ["#0ea5e9", "#6366f1"], ["#22c55e", "#14b8a6"], ["#ec4899", "#a855f7"], ["#f43f5e", "#fb923c"], ["#06b6d4", "#3b82f6"],]const images = palette.map(([from, to]) => { const svg = `<svg xmlns='${SVG_NS}' width='400' height='400'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='${from}'/><stop offset='1' stop-color='${to}'/></linearGradient></defs><rect width='400' height='400' fill='url(#g)'/></svg>` return `data:image/svg+xml;utf8,${encodeURIComponent(svg)}`})export default function ParallaxScrollDemo() { return <ParallaxScroll images={images} className="h-[420px] max-w-md" />}