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 { HeroParallax } from "@/components/ui/hero-parallax"const palette = [ ["Signal", "#172554", "#2563eb"], ["Canvas", "#4c1d95", "#a855f7"], ["Orbit", "#164e63", "#06b6d4"], ["Bloom", "#831843", "#ec4899"], ["Summit", "#14532d", "#22c55e"], ["Studio", "#7c2d12", "#f97316"], ["Frame", "#312e81", "#6366f1"], ["Pulse", "#701a75", "#d946ef"], ["Harbor", "#0c4a6e", "#0ea5e9"], ["Terra", "#365314", "#84cc16"], ["Lumen", "#78350f", "#f59e0b"], ["Drift", "#1e293b", "#64748b"], ["Muse", "#881337", "#fb7185"], ["Echo", "#115e59", "#14b8a6"], ["North", "#1e3a8a", "#60a5fa"],] as constconst products = palette.map(([title, start, end]) => { const artwork = `<svg viewBox="0 0 600 400" width="600" height="400"><defs><linearGradient id="g" x2="1" y2="1"><stop stop-color="${start}"/><stop offset="1" stop-color="${end}"/></linearGradient></defs><rect width="600" height="400" fill="url(#g)"/><circle cx="470" cy="100" r="145" fill="white" opacity=".14"/><path d="M0 310Q170 200 330 300T600 210V400H0Z" fill="white" opacity=".13"/><text x="40" y="350" fill="white" font-family="sans-serif" font-size="32" font-weight="700">${title}</text></svg>` return { title, link: "#", thumbnail: `data:image/svg+xml,${encodeURIComponent(artwork)}`, }})export default function HeroParallaxDemo() { return <HeroParallax products={products} />}