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 { useState } from "react"import { Button } from "@/components/ui/button"import { PageTransition } from "@/components/ui/page-transition"const tabs = ["Overview", "Analytics", "Settings"]export default function PageTransitionDemo() { const [tab, setTab] = useState("Overview") return ( <div className="flex w-full max-w-md flex-col gap-4"> <div className="flex flex-wrap items-center gap-2"> {tabs.map((t) => ( <Button key={t} size="sm" variant={tab === t ? "default" : "outline"} onClick={() => setTab(t)} > {t} </Button> ))} </div> <PageTransition transitionKey={tab} className="h-[240px] rounded-md border"> <div className="p-6"> <p className="text-sm text-muted-foreground">Current view</p> <p className="text-lg font-semibold">{tab}</p> </div> </PageTransition> </div> )}