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 { TimeSlotPicker, TimeSlotPickerCalendar, TimeSlotPickerSlots, type TimeSlot } from '@/components/time-slot-picker'const getSlots = (day: Date): TimeSlot[] => [ { start: new Date(day.getFullYear(), day.getMonth(), day.getDate(), 9, 0) }, { start: new Date(day.getFullYear(), day.getMonth(), day.getDate(), 10, 0), unavailable: true }, { start: new Date(day.getFullYear(), day.getMonth(), day.getDate(), 11, 0) }, { start: new Date(day.getFullYear(), day.getMonth(), day.getDate(), 14, 0) },]export default function TimeSlotPickerDemo() { return ( <TimeSlotPicker getSlots={getSlots} defaultDay={new Date(2025, 0, 15)} defaultValue={new Date(2025, 0, 15, 11, 0)} className='w-full max-w-lg' > <TimeSlotPickerCalendar /> <TimeSlotPickerSlots /> </TimeSlotPicker> )}