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 { Card, CardContent } from '@/components/ui/card'import { Separator } from '@/components/ui/separator'import { countryCodeToEmoji, getCountriesByCallingCode, getCountryCallingCodes,} from '@/components/flags/country-utils'export default function CallingCodesDemo() { const plusOne = getCountriesByCallingCode('+1') const japanCodes = getCountryCallingCodes('jp') return ( <Card className='w-full max-w-md'> <CardContent className='grid gap-4'> <div className='flex items-center justify-between'> <span className='text-sm font-medium'>+1 calling code</span> <Badge variant='secondary'>{plusOne.length} countries</Badge> </div> <div className='flex flex-wrap gap-1.5'> {plusOne.slice(0, 8).map((country) => ( <Badge key={country.alpha2} variant='outline'> {countryCodeToEmoji(country.alpha2)} {country.name} </Badge> ))} </div> <Separator /> <div className='flex items-center justify-between text-sm'> <span>Japan</span> <span className='text-muted-foreground'>{japanCodes.join(', ')}</span> </div> </CardContent> </Card> )}