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 { useEffect, useRef } from "react"import { h, render } from "preact"import { Laser } from "@/components/canvasui/Laser"export default function LaserDemo() { const ref = useRef<HTMLDivElement>(null) useEffect(() => { const el = ref.current if (!el) return render( h( Laser, { style: { height: 360 } }, h( "div", { style: { padding: 24 } }, h("h2", { style: { fontSize: 18, fontWeight: 600 } }, "Scroll to reveal"), h("p", { style: { fontSize: 14 } }, "Content continues below the beam."), ), ), el, ) return () => { render(null, el) } }, []) return <div ref={ref} className="w-full max-w-md" />}