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 { NewsCard } from "@/components/news-card/news-card";import type { NewsCardItem } from "@/components/news-card/types";import { photoImage } from "@/preview/images";const item: NewsCardItem = { id: "news-1", slug: "city-council-approves-new-bike-lanes", title: "City council approves new bike lanes downtown", excerpt: "The plan adds 12 miles of protected lanes over the next three years, with construction starting this spring.", image: photoImage("city bike lane", 800, 600), category: "Local", authorEntity: { id: "a1", name: "Olivia Martin", role: "Senior Editor", isVerified: true }, publisher: { id: "p1", name: "Metro Daily" }, publishedAt: "2026-05-01T09:00:00Z", readTime: 4, commentCount: 18, likeCount: 124,};export default function NewsCardDemo() { return ( <div className="w-full max-w-md"> <NewsCard variant="large" item={item} href={`/news/${item.slug ?? item.id}`} /> </div> );}