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 { BreakdownBar, BreakdownLegend, getTotal, type BreakdownSegment } from '@/components/dashboardblocks/breakdown'const segments: BreakdownSegment[] = [ { label: 'Desktop', value: 540, color: 'var(--chart-1)' }, { label: 'Mobile', value: 310, color: 'var(--chart-2)' }, { label: 'Tablet', value: 150, color: 'var(--chart-3)' },]export default function BreakdownDemo() { const total = getTotal(segments) return ( <div className='flex w-full max-w-md flex-col gap-4'> <div className='flex items-baseline justify-between'> <span className='text-sm font-medium'>Traffic by device</span> <span className='text-muted-foreground text-sm'>{total.toLocaleString()} visits</span> </div> <BreakdownBar segments={segments} /> <BreakdownLegend items={segments} /> </div> )}