{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "sections-08",
  "type": "registry:block",
  "description": "Interactive horizontal story timeline with year markers and a detail panel.",
  "dependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/sections/sections-08.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\n\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nconst milestones = [\n  {\n    year: \"Dalim\",\n    title: \"Where it started\",\n    body: \"Ali Imam starts Dalim, a home for his design work across graphics, visuals and type.\",\n    stat: \"Dalim Graphic\",\n  },\n  {\n    year: \"Fonts\",\n    title: \"Type and icons\",\n    body: \"Dalim Fonts and Dalim Icons turn one-off project assets into tools other designers can use.\",\n    stat: \"Dalim Icons\",\n  },\n  {\n    year: \"Agency\",\n    title: \"Client work\",\n    body: \"Dalim Agency and Dalim Works take on brand identity, UI/UX and web projects for clients.\",\n    stat: \"Dalim Agency\",\n  },\n  {\n    year: \"UI\",\n    title: \"Design meets code\",\n    body: \"Dalim UI and Dalim Tools bring the design work into React and Tailwind CSS components.\",\n    stat: \"Dalim UI\",\n  },\n  {\n    year: \"Today\",\n    title: \"designali\",\n    body: \"Everything comes together as Designali: a design and development studio, plus templates, blocks, icons and logos on designali.com.\",\n    stat: \"460+ blocks\",\n  },\n]\n\nexport default function Sections08() {\n  const [active, setActive] = useState(milestones.length - 1)\n  const item = milestones[active]!\n\n  return (\n    <section className=\"w-full bg-background py-24\">\n      <div className=\"mx-auto max-w-7xl px-6\">\n        <p className=\"font-sans text-xs tracking-widest text-muted-foreground uppercase\">Our story</p>\n        <h2 className=\"mt-4 max-w-2xl text-4xl font-semibold tracking-tight md:text-5xl\">\n          From Dalim to designali, design se code tak.\n        </h2>\n\n        <div className=\"relative mt-16\">\n          <div className=\"absolute top-[7px] right-0 left-0 h-px bg-border\" aria-hidden />\n          <div\n            className=\"absolute top-[7px] left-0 h-px bg-foreground transition-all duration-500\"\n            style={{ width: `${(active / (milestones.length - 1)) * 100}%` }}\n            aria-hidden\n          />\n          <ol className=\"relative flex justify-between\" role=\"tablist\" aria-label=\"Milestones\">\n            {milestones.map((milestone, index) => (\n              <li key={milestone.year}>\n                <button\n                  type=\"button\"\n                  role=\"tab\"\n                  aria-selected={active === index}\n                  onClick={() => setActive(index)}\n                  className=\"group flex flex-col items-center gap-3\"\n                >\n                  <span\n                    className={cn(\n                      \"size-[15px] border-2 transition-colors\",\n                      index <= active ? \"border-foreground bg-foreground\" : \"border-border bg-background group-hover:border-foreground\"\n                    )}\n                  />\n                  <span\n                    className={cn(\n                      \"font-sans text-xs transition-colors sm:text-sm\",\n                      active === index ? \"text-foreground\" : \"text-muted-foreground\"\n                    )}\n                  >\n                    {milestone.year}\n                  </span>\n                </button>\n              </li>\n            ))}\n          </ol>\n        </div>\n\n        <div key={item.year} className=\"mt-14 grid gap-8 border-t border-border pt-10 md:grid-cols-[1fr_2fr_1fr]\" role=\"tabpanel\">\n          <p className=\"text-6xl font-semibold tracking-tight text-muted-foreground/40 md:text-7xl\">\n            {item.year}\n          </p>\n          <div>\n            <h3 className=\"text-2xl font-semibold tracking-tight\">{item.title}</h3>\n            <p className=\"mt-3 max-w-xl text-sm leading-7 text-muted-foreground\">{item.body}</p>\n          </div>\n          <div className=\"md:text-right\">\n            <p className=\"text-xs text-muted-foreground\">Milestone</p>\n            <p className=\"mt-1 text-2xl font-medium\">{item.stat}</p>\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "650px"
  },
  "categories": [
    "sections"
  ]
}