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 { Dialog, DialogClose, DialogContainer, DialogContent, DialogDescription, DialogImage, DialogSubtitle, DialogTitle, DialogTrigger } from '@/components/ui/linear-modal'import { photoImage } from '@/preview/images'export default function LinearModalDemo() { const src = photoImage('mountain lake', 800, 600) return ( <div className='flex w-full max-w-sm items-center justify-center'> <Dialog> <DialogTrigger className='rounded-xl'> <DialogImage src={src} alt='Mountain lake' className='h-40 w-40 rounded-xl object-cover' /> </DialogTrigger> <DialogContainer> <DialogContent className='m-auto w-[min(90vw,420px)] rounded-2xl bg-white p-6 dark:bg-zinc-900'> <DialogImage src={src} alt='Mountain lake' className='h-64 w-full rounded-xl object-cover' /> <DialogTitle className='mt-4 text-2xl font-semibold'>Lake Retreat</DialogTitle> <DialogSubtitle className='text-sm text-zinc-500'>Cabin stay, 2 nights</DialogSubtitle> <DialogDescription className='mt-2 text-sm'> A quiet cabin on the water with a private dock and kayaks included. </DialogDescription> <DialogClose className='text-zinc-900 dark:text-white' /> </DialogContent> </DialogContainer> </Dialog> </div> )}