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 { PreviewCard, PreviewCardContent, PreviewCardDescription, PreviewCardMedia, PreviewCardTitle, PreviewCardTrigger } from '@/components/ui/cubby-ui/preview-card'import { photoImage } from '@/preview/images'export default function PreviewCardDemo() { return ( <div className='w-full max-w-sm text-sm'> <p className='text-muted-foreground'> Shipping now takes two days.{' '} <PreviewCard defaultOpen> <PreviewCardTrigger href='/articles/faster-shipping' className='text-foreground font-medium underline underline-offset-4' > Read the update </PreviewCardTrigger> <PreviewCardContent> <PreviewCardMedia> <img src={photoImage('shipping boxes', 800, 450)} alt='' /> </PreviewCardMedia> <PreviewCardTitle>Two-day shipping is here</PreviewCardTitle> <PreviewCardDescription> Orders placed before noon ship the same day across the country. </PreviewCardDescription> </PreviewCardContent> </PreviewCard> </p> </div> )}