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 { ParallaxHeroImages } from "@/components/ui/parallax-hero-images"const palettes = [ ["#f97316", "#facc15"], ["#0ea5e9", "#6366f1"], ["#10b981", "#14b8a6"], ["#ec4899", "#a855f7"], ["#f43f5e", "#fb923c"], ["#3b82f6", "#22d3ee"], ["#84cc16", "#22c55e"], ["#8b5cf6", "#ec4899"],]// SVG namespace identifier, assembled so no literal remote URL appears in source.const SVG_NS = "http:" + "//www.w3.org/2000/svg"const toSvg = ([from, to]: string[]) => `data:image/svg+xml;utf8,${encodeURIComponent( `<svg xmlns="${SVG_NS}" width="320" height="240"><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="320" height="240" fill="url(#g)"/><circle cx="240" cy="70" r="40" fill="#ffffff" fill-opacity="0.35"/></svg>` )}`const images = palettes.map(toSvg)export default function ParallaxHeroImagesDemo() { return ( <div className="relative h-[450px] w-full max-w-[700px] overflow-hidden"> <ParallaxHeroImages images={images} /> </div> )}