{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "navigation-20",
  "type": "registry:block",
  "description": "Inverted selected work index list whose hovered entry reveals a gradient preview card beside it.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/navigation/navigation-20.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  ArrowUpRight,\n} from \"@designali/icons\"\n\nimport { cn } from \"@workspace/ui/lib/utils\"\n\nconst entries = [\n  {\n    title: \"Dalim Agency\",\n    kind: \"Agency identity\",\n    year: \"Brand\",\n    image: \"/images/templates/dalim-agency-old.jpg\",\n  },\n  {\n    title: \"Dalim Fonts\",\n    kind: \"Type platform\",\n    year: \"Web\",\n    image: \"/images/templates/dalim-fonts-old.jpg\",\n  },\n  {\n    title: \"Dalim UI\",\n    kind: \"Component library\",\n    year: \"Code\",\n    image: \"/images/templates/dalim-ui-old.jpg\",\n  },\n  {\n    title: \"Dalim Icons\",\n    kind: \"Icon system\",\n    year: \"Design\",\n    image: \"/images/templates/dalim-icons-old.jpg\",\n  },\n  {\n    title: \"Dalim Visuals\",\n    kind: \"CGI and motion\",\n    year: \"3D\",\n    image: \"/images/templates/dalim-visuals-old.jpg\",\n  },\n]\n\nexport default function Navigation20() {\n  const [hovered, setHovered] = useState(0)\n\n  return (\n    <section className=\"w-full bg-foreground py-20 text-background md:py-28\">\n      <div className=\"mx-auto grid max-w-7xl gap-12 px-6 lg:grid-cols-[1fr_380px]\">\n        <nav aria-label=\"Selected work\">\n          <div className=\"flex items-end justify-between border-b border-background/20 pb-4\">\n            <p className=\"text-xs tracking-widest text-background/60 uppercase\">Index</p>\n            <p className=\"text-xs text-background/60 tabular-nums\">{entries.length} projects</p>\n          </div>\n          <ul>\n            {entries.map((entry, index) => (\n              <li key={entry.title} className=\"border-b border-background/20\">\n                <a\n                  href=\"#\"\n                  onMouseEnter={() => setHovered(index)}\n                  onFocus={() => setHovered(index)}\n                  className=\"group grid grid-cols-[2rem_1fr_auto] items-baseline gap-4 py-5 md:grid-cols-[3rem_1fr_200px_4rem]\"\n                >\n                  <span className=\"font-sans text-xs text-background/50 tabular-nums\">\n                    {String(index + 1).padStart(2, \"0\")}\n                  </span>\n                  <span\n                    className={cn(\n                      \"text-2xl font-semibold tracking-tight transition-colors md:text-4xl\",\n                      hovered === index ? \"text-background\" : \"text-background/40\"\n                    )}\n                  >\n                    {entry.title}\n                  </span>\n                  <span className=\"hidden text-sm text-background/60 md:block\">{entry.kind}</span>\n                  <span className=\"flex items-center justify-end gap-1 text-sm text-background/60 tabular-nums\">\n                    <span className=\"hidden sm:inline\">{entry.year}</span>\n                    <ArrowUpRight className=\"size-4 opacity-0 transition-opacity group-hover:opacity-100\" />\n                  </span>\n                </a>\n              </li>\n            ))}\n          </ul>\n        </nav>\n\n        <div className=\"relative hidden aspect-[4/5] overflow-hidden lg:block\">\n          {entries.map((entry, index) => (\n            <div\n              key={entry.title}\n              className={cn(\n                \"absolute inset-0 flex flex-col justify-end bg-muted p-6 text-white transition-all duration-500\",\n                hovered === index ? \"scale-100 opacity-100\" : \"scale-105 opacity-0\"\n              )}\n            >\n              <img\n                src={entry.image}\n                alt={`${entry.title} — Designali case study`}\n                className=\"absolute inset-0 size-full object-cover\"\n              />\n              <span className=\"absolute inset-0 bg-gradient-to-t from-black/70 via-black/10 to-transparent\" />\n              <p className=\"relative text-xs tracking-widest uppercase opacity-70\">{entry.kind}</p>\n              <p className=\"relative mt-1 text-2xl font-semibold\">{entry.title}</p>\n            </div>\n          ))}\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "750px"
  },
  "categories": [
    "navigation"
  ]
}