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 { DUMMY_STORIES } from "@/components/story-rail/dummy-data"import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"import { cn } from "@/lib/utils"import { avatarImage } from "@/preview/images"export default function StoryRailDemo() { return ( <div className="flex w-full max-w-md gap-4 overflow-x-auto"> {DUMMY_STORIES.map((story) => ( <div key={story.id} className="flex shrink-0 flex-col items-center gap-1.5"> <div className={cn( "rounded-full p-0.5", story.hasUnread ? "bg-gradient-to-tr from-amber-400 to-rose-500" : "bg-muted" )} > <Avatar className="size-14 border-2 border-background"> <AvatarImage src={avatarImage(story.username)} alt={story.username} /> <AvatarFallback>{story.username.slice(0, 2).toUpperCase()}</AvatarFallback> </Avatar> </div> <span className="text-xs text-muted-foreground">{story.username}</span> </div> ))} </div> )}