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 { RelatedPosts } from '@/components/RelatedPosts/Component'import { photoImage } from '@/preview/images'export default function RelatedPostsDemo() { return ( <RelatedPosts currentHref='/posts/designing-with-tokens' posts={[ { title: 'Building a content model that scales', href: '/posts/content-model', excerpt: 'How to structure collections so editors can publish without developer help.', publishedAt: '2025-03-04T00:00:00.000Z', image: <img src={photoImage('editor workspace', 800, 450)} alt='Editor workspace' />, }, { title: 'Previewing drafts safely in production', href: '/posts/draft-previews', excerpt: 'Live preview lets editors check layouts before anything goes public.', publishedAt: '2025-01-18T00:00:00.000Z', }, { title: 'Localizing long-form articles', href: '/posts/localizing-articles', excerpt: 'Keep translations in sync without duplicating every paragraph.', publishedAt: '2024-11-02T00:00:00.000Z', }, ]} /> )}