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 { Glass } from "@/components/canvasui/Glass"export default function Demo() { const ref = useRef<HTMLDivElement>(null) useEffect(() => { const container = ref.current if (!container) return render( h( Glass, { className: "h-full w-full", shape: "circle", size: 120 }, h( "div", { className: "flex h-full w-full flex-col items-center justify-center gap-4 bg-gradient-to-br from-sky-400 via-indigo-500 to-fuchsia-500 p-8" }, h("p", { className: "text-lg font-semibold text-white" }, "Move your cursor over the page"), h( "button", { "data-glass-target": "", className: "rounded-md bg-white px-4 py-2 text-sm font-medium text-slate-900 shadow", }, "Get started", ), ), ), container, ) return () => { render(null, container) } }, []) return <div ref={ref} className="h-96 w-full" />}