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 { Blaze } from '@/components/canvasui/Blaze'export default function BlazeDemo() { const ref = useRef<HTMLDivElement>(null) useEffect(() => { const container = ref.current if (!container) return render( h( Blaze, { className: 'h-96 w-full max-w-2xl' }, h( 'div', { className: 'flex h-full flex-col items-center justify-center gap-4 p-8 text-center' }, h('p', { className: 'max-w-sm text-muted-foreground' }, 'Ship faster with tools that keep your team in sync from day one.'), h('button', { type: 'button', className: 'rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground' }, 'Get started'), ), ), container, ) return () => { render(null, container) } }, []) return <div ref={ref} className='w-full max-w-2xl' />}