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 { useState } from "react";import { WeekGrid, type CalendarEvent } from "@/components/ui/week-grid";const now = new Date(2026, 0, 14, 10, 0);const initialEvents: CalendarEvent[] = [ { id: "standup", title: "Team standup", start: new Date(2026, 0, 12, 9, 0), end: new Date(2026, 0, 12, 9, 30), tone: "info", }, { id: "design", title: "Design review", start: new Date(2026, 0, 13, 13, 0), end: new Date(2026, 0, 13, 14, 30), location: "Room 4B", }, { id: "launch", title: "Launch freeze", start: new Date(2026, 0, 14, 0, 0), end: new Date(2026, 0, 15, 0, 0), allDay: true, tone: "warning", }, { id: "sync", title: "Customer sync", start: new Date(2026, 0, 14, 11, 0), end: new Date(2026, 0, 14, 12, 0), status: "tentative", },];export default function WeekGridDemo() { const [events, setEvents] = useState<CalendarEvent[]>(initialEvents); return ( <WeekGrid className="h-[420px] w-full max-w-2xl" events={events} onEventsChange={setEvents} defaultDate={now} now={now} days={5} /> );}