@dashboardblocks/spendloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. 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 { BudgetBar, BudgetStatusBadge, SpendKey, getBudgetPace, getElapsed } from '@/components/dashboardblocks/spend'import { Card, CardContent, CardFooter } from '@/components/ui/card'export default function SpendDemo() {  const start = new Date(2025, 5, 1)  const end = new Date(2025, 6, 1)  const now = new Date(2025, 5, 18)  const pace = getBudgetPace({    budget: 5000,    elapsed: getElapsed(start, end, now),    spent: 3200,  })  return (    <Card className='w-full max-w-md'>      <CardContent className='flex flex-col gap-4'>        <div className='flex items-center justify-between'>          <span className='text-muted-foreground text-sm'>Spent this month</span>          <BudgetStatusBadge status={pace.status} />        </div>        <div className='flex items-baseline justify-between'>          <span className='text-2xl font-semibold'>$3,200</span>          <span className='text-muted-foreground text-sm'>of $5,000</span>        </div>        <BudgetBar budget={pace.budget} spent={pace.spent} projected={pace.projected} />      </CardContent>      <CardFooter className='text-muted-foreground flex flex-wrap gap-4 text-xs'>        <span className='flex items-center gap-1.5'>          <SpendKey shape='spent' />          Spent        </span>        <span className='flex items-center gap-1.5'>          <SpendKey shape='projected' />          Projected        </span>        <span className='flex items-center gap-1.5'>          <SpendKey shape='budget' />          Budget        </span>      </CardFooter>    </Card>  )}