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 { Badge } from '@/components/ui/badge';import { Button } from '@/components/ui/button';import { Input } from '@/components/ui/input';import { CalendarIcon, SearchIcon } from 'lucide-react';import { DUMMY_CATEGORIES_EN, DUMMY_LABELS_TR, formatDateRangeTR,} from '@/components/filter-bar/dummy-data';const rangeText = formatDateRangeTR({ from: new Date(2025, 9, 1), to: new Date(2025, 9, 15),});export default function FilterBarDemo() { return ( <div className='flex w-full flex-col gap-4'> <div className='flex flex-col gap-2 sm:flex-row sm:items-center'> <div className='relative flex-1'> <SearchIcon className='text-muted-foreground absolute top-2.5 left-2.5 size-4' /> <Input className='pl-8' placeholder={DUMMY_LABELS_TR.searchPlaceholder} aria-label={DUMMY_LABELS_TR.searchAriaLabel} /> </div> <Button variant='outline'> <CalendarIcon /> {DUMMY_LABELS_TR.dateButtonText} </Button> </div> <div role='group' aria-label={DUMMY_LABELS_TR.categoriesAriaLabel} className='flex flex-wrap gap-2' > <Badge>{DUMMY_LABELS_TR.allLabel}</Badge> {DUMMY_CATEGORIES_EN.slice(0, 4).map((category) => ( <Badge key={category.value} variant='outline'> {category.label} </Badge> ))} </div> <p className='text-muted-foreground text-sm'> {DUMMY_LABELS_TR.resultsCountText?.(12) ?? '12 haber bulundu'} ({rangeText}) </p> </div> );}