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
"use client"import * as React from "react"import { BackToTop } from "@/components/back-to-top"const sections = Array.from({ length: 12 }, (_, i) => ({ title: `Section ${i + 1}`, body: "Scroll through the article to see the progress ring fill as you read further down the page.",}))export default function BackToTopDemo() { const scrollRef = React.useRef<HTMLDivElement>(null) React.useEffect(() => { if (scrollRef.current) scrollRef.current.scrollTop = 600 }, []) return ( <div className="relative h-72 w-full max-w-md overflow-hidden rounded-md border"> <div ref={scrollRef} className="h-full overflow-y-auto p-4"> {sections.map((section) => ( <div key={section.title} className="mb-6"> <p className="mb-1 text-sm font-semibold">{section.title}</p> <p className="text-sm text-muted-foreground">{section.body}</p> </div> ))} </div> <BackToTop contained containerRef={scrollRef} /> </div> )}