"use client";
import {ThemeProvider as LibraryDemoThemeProvider} from "next-themes";
import { TimelineScroll } from "@/components/ui/tweenly-timeline-scroll"
const items = [
{ year: 2019, tag: "Day one", title: "Founded", description: "Two engineers, one spare bedroom, a lot of coffee." },
{ year: 2020, tag: "Traction", title: "First 1,000 users", description: "Grew entirely by word of mouth in eight months." },
{ year: 2021, tag: "Funding", title: "Seed round", description: "$3M led by operators who had built it before." },
{ year: 2022, tag: "Team", title: "25 people", description: "Opened our first office and hired across four time zones." },
{ year: 2023, tag: "Funding", title: "Series A", description: "$18M to scale the platform and the team." },
{ year: 2024, tag: "Product", title: "Platform 2.0", description: "Rebuilt from the ground up, ten times faster." },
{ year: 2025, tag: "Scale", title: "Global launch", description: "Live in 40 countries with local payments." },
{ year: 2026, tag: "Today", title: "1M customers", description: "And we're just getting started." },
]
export function Demo() {
return (
<TimelineScroll items={items} />
)
}
function SourceSpecimen(){return <Demo/>}
export default function LibraryRegistryPreview(){return <LibraryDemoThemeProvider defaultTheme="dark" enableSystem={false}><div data-component-demo data-demo-theme="dark" data-theme="dark" className="dark" style={{background:"var(--background)",color:"var(--foreground)"}}><div className="relative w-full min-w-0 max-w-5xl min-h-[400px] flex items-center justify-center"><SourceSpecimen/></div></div></LibraryDemoThemeProvider>}