{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "changelog-1",
  "type": "registry:block",
  "title": "Changelog 1",
  "description": "Release timeline with versions, dates and New / Improved / Fixed tags.",
  "files": [
    {
      "path": "app/preview/changelog/one/page.tsx",
      "content": "import Link from 'next/link'\n\ntype Tag = 'New' | 'Improved' | 'Fixed'\n\nconst tagStyles: Record<Tag, string> = {\n    New: 'bg-emerald-500/10 text-emerald-700 ring-emerald-500/20 dark:text-emerald-400',\n    Improved: 'bg-sky-500/10 text-sky-700 ring-sky-500/20 dark:text-sky-400',\n    Fixed: 'bg-amber-500/10 text-amber-700 ring-amber-500/20 dark:text-amber-400',\n}\n\nconst releases: { version: string; date: string; title: string; summary: string; changes: { tag: Tag; text: string }[] }[] = [\n    {\n        version: 'v2.4.0',\n        date: 'Nov 14, 2026',\n        title: 'Command menu and keyboard shortcuts',\n        summary: 'Press ⌘K anywhere to jump between projects, run actions and search docs.',\n        changes: [\n            { tag: 'New', text: 'Global command menu with fuzzy search.' },\n            { tag: 'New', text: 'Customisable keyboard shortcuts in settings.' },\n            { tag: 'Improved', text: 'Sidebar now remembers its collapsed state.' },\n        ],\n    },\n    {\n        version: 'v2.3.2',\n        date: 'Oct 30, 2026',\n        title: 'Faster dashboards',\n        summary: 'Charts now stream in as data arrives instead of waiting for every query.',\n        changes: [\n            { tag: 'Improved', text: 'Dashboard load time down 48% on large workspaces.' },\n            { tag: 'Fixed', text: 'Date range picker skipping the last day of the month.' },\n        ],\n    },\n    {\n        version: 'v2.3.0',\n        date: 'Oct 12, 2026',\n        title: 'Team roles and audit log',\n        summary: 'Give people exactly the access they need, and see who changed what.',\n        changes: [\n            { tag: 'New', text: 'Viewer, editor and admin roles per project.' },\n            { tag: 'New', text: 'Exportable audit log for every workspace.' },\n            { tag: 'Fixed', text: 'Invites expiring before the stated seven days.' },\n        ],\n    },\n]\n\nexport default function Changelog() {\n    return (\n        <section className=\"py-16 md:py-24\">\n            <div className=\"mx-auto max-w-4xl px-6\">\n                <div className=\"max-w-xl\">\n                    <h2 className=\"text-4xl font-semibold lg:text-5xl\">Changelog</h2>\n                    <p className=\"text-muted-foreground mt-4\">\n                        New features, improvements and fixes, shipped every week.{' '}\n                        <Link\n                            href=\"#\"\n                            className=\"text-foreground underline underline-offset-4\">\n                            Subscribe via RSS\n                        </Link>\n                    </p>\n                </div>\n\n                <ol className=\"mt-16\">\n                    {releases.map((release) => (\n                        <li\n                            key={release.version}\n                            className=\"relative grid gap-4 pb-14 last:pb-0 md:grid-cols-[10rem_minmax(0,1fr)] md:gap-10\">\n                            <div className=\"md:text-right\">\n                                <time className=\"text-muted-foreground text-sm md:sticky md:top-8\">{release.date}</time>\n                            </div>\n                            <div className=\"relative border-l pl-8 md:pl-10\">\n                                <span\n                                    aria-hidden\n                                    className=\"bg-background ring-border absolute -left-[5px] top-1.5 size-2.5 rounded-full ring-2\"\n                                />\n                                <span className=\"text-muted-foreground font-mono text-xs\">{release.version}</span>\n                                <h3 className=\"mt-1 text-xl font-semibold\">{release.title}</h3>\n                                <p className=\"text-muted-foreground mt-2\">{release.summary}</p>\n                                <ul className=\"mt-5 space-y-2.5\">\n                                    {release.changes.map((change) => (\n                                        <li\n                                            key={change.text}\n                                            className=\"flex items-start gap-3 text-sm\">\n                                            <span className={`mt-px inline-flex w-[4.75rem] shrink-0 justify-center rounded-full px-2 py-0.5 text-xs font-medium ring-1 ring-inset ${tagStyles[change.tag]}`}>{change.tag}</span>\n                                            <span>{change.text}</span>\n                                        </li>\n                                    ))}\n                                </ul>\n                            </div>\n                        </li>\n                    ))}\n                </ol>\n            </div>\n        </section>\n    )\n}\n",
      "type": "registry:component",
      "target": "components/changelog-1.tsx"
    }
  ]
}