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 { LinkPreview } from "@/components/ui/link-preview"const svgNamespace = ["http:", "//www.w3.org/2000/svg"].join("")const preview = `data:image/svg+xml;utf8,<svg xmlns='${svgNamespace}' width='200' height='125'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='indigo'/><stop offset='1' stop-color='teal'/></linearGradient></defs><rect width='200' height='125' fill='url(#g)'/></svg>`export default function LinkPreviewDemo() { return ( <p className="w-full max-w-md text-sm leading-7"> Read the{" "} <LinkPreview url="/docs/components" isStatic imageSrc={preview}> component docs </LinkPreview>{" "} before you start building your next project. </p> )}