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 { ContributionGraph, ContributionGraphBlock, ContributionGraphCalendar, ContributionGraphFooter, ContributionGraphLegend, ContributionGraphTotalCount,} from "@/components/contribution-graph"const data = Array.from({ length: 365 }, (_, i) => { const level = Math.floor((Math.abs(Math.sin((i + 1) * 12.9898) * 43758.5453) % 1) * 5) return { date: new Date(Date.UTC(2024, 0, 1 + i)).toISOString().slice(0, 10), count: level === 0 ? 0 : level * 2 + (i % 3), level, }})export default function ContributionGraphDemo() { return ( <div className="w-full max-w-xl"> <ContributionGraph data={data}> <ContributionGraphCalendar> {({ activity, dayIndex, weekIndex }) => ( <ContributionGraphBlock activity={activity} dayIndex={dayIndex} weekIndex={weekIndex} /> )} </ContributionGraphCalendar> <ContributionGraphFooter> <ContributionGraphTotalCount /> <ContributionGraphLegend /> </ContributionGraphFooter> </ContributionGraph> </div> )}