{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "location-15",
  "type": "registry:block",
  "description": "Expansion map of a country silhouette with open, coming soon and planned pins filtered by legend chips.",
  "dependencies": [],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/location/location-15.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\n\nimport { cn } from \"@workspace/ui/lib/utils\"\n\ntype Status = \"open\" | \"soon\" | \"planned\"\n\nconst sites: { city: string; status: Status; date: string; x: number; y: number }[] = [\n  { city: \"Templates\", status: \"open\", date: \"Live\", x: 54, y: 38 },\n  { city: \"Blocks\", status: \"open\", date: \"Live\", x: 47, y: 42 },\n  { city: \"Icons\", status: \"open\", date: \"Live\", x: 40, y: 68 },\n  { city: \"Logos\", status: \"open\", date: \"Live\", x: 48, y: 14 },\n  { city: \"Mobile UI kit\", status: \"soon\", date: \"Soon\", x: 50, y: 55 },\n  { city: \"3D illustrations\", status: \"soon\", date: \"Soon\", x: 34, y: 66 },\n  { city: \"Motion presets\", status: \"planned\", date: \"Planned\", x: 56, y: 25 },\n  { city: \"Figma plugin\", status: \"planned\", date: \"Planned\", x: 62, y: 78 },\n  { city: \"AI workflows\", status: \"planned\", date: \"Planned\", x: 74, y: 55 },\n]\n\nconst legend: { id: Status | \"all\"; label: string; dot: string }[] = [\n  { id: \"all\", label: \"All\", dot: \"bg-foreground\" },\n  { id: \"open\", label: \"Live\", dot: \"bg-primary\" },\n  { id: \"soon\", label: \"Coming soon\", dot: \"bg-primary\" },\n  { id: \"planned\", label: \"Planned\", dot: \"bg-muted-foreground/50\" },\n]\n\nconst dot: Record<Status, string> = {\n  open: \"bg-primary ring-primary/25\",\n  soon: \"bg-primary ring-primary/25\",\n  planned: \"border-2 border-dashed border-muted-foreground bg-background ring-transparent\",\n}\n\nexport default function Location15() {\n  const [filter, setFilter] = useState<Status | \"all\">(\"all\")\n  const visible = sites.filter((s) => filter === \"all\" || s.status === filter)\n\n  return (\n    <section className=\"w-full bg-background py-20 md:py-28\">\n      <div className=\"mx-auto grid max-w-6xl gap-12 px-6 md:grid-cols-[1fr_1.1fr] md:items-center\">\n        <div>\n          <p className=\"text-xs font-medium tracking-widest text-muted-foreground uppercase\">\n            Roadmap\n          </p>\n          <h2 className=\"mt-3 text-4xl font-semibold tracking-tight md:text-5xl\">\n            What Designali ships next\n          </h2>\n          <p className=\"mt-4 text-muted-foreground\">\n            Templates, blocks, icons and logos are live on designali.com.\n            Here&apos;s what we are building next.\n          </p>\n\n          <div className=\"mt-8 flex flex-wrap gap-2\">\n            {legend.map((item) => (\n              <button\n                key={item.id}\n                type=\"button\"\n                onClick={() => setFilter(item.id)}\n                aria-pressed={filter === item.id}\n                className={cn(\n                  \"inline-flex items-center gap-2 rounded-full border px-3.5 py-1.5 text-sm transition-colors\",\n                  filter === item.id ? \"border-foreground bg-muted\" : \"hover:bg-muted/60\"\n                )}\n              >\n                <span className={cn(\"size-2 rounded-full\", item.dot)} />\n                {item.label}\n              </button>\n            ))}\n          </div>\n\n          <ul className=\"mt-8 divide-y border-y\">\n            {visible.map((site) => (\n              <li key={site.city} className=\"flex items-center justify-between py-3 text-sm\">\n                <span className=\"flex items-center gap-3\">\n                  <span className={cn(\"size-2.5 rounded-full ring-4\", dot[site.status])} />\n                  {site.city}\n                </span>\n                <span className=\"text-muted-foreground tabular-nums\">{site.date}</span>\n              </li>\n            ))}\n          </ul>\n        </div>\n\n        <div className=\"relative mx-auto aspect-[3/4] w-full max-w-md\">\n          <svg viewBox=\"0 0 100 130\" className=\"absolute inset-0 h-full w-full\" aria-hidden>\n            <path\n              d=\"M44 4 C 52 2, 58 8, 54 14 C 60 18, 62 24, 58 30 C 64 36, 66 42, 70 48 C 80 50, 84 58, 78 66 C 84 72, 78 82, 70 84 C 62 90, 50 88, 40 92 C 30 94, 24 90, 30 84 C 34 80, 26 76, 30 70 C 34 64, 30 60, 36 56 C 42 52, 38 46, 42 40 C 38 34, 34 28, 40 22 C 36 16, 38 8, 44 4 Z\"\n              className=\"fill-muted stroke-border\"\n              strokeWidth=\"0.6\"\n            />\n          </svg>\n          {sites.map((site) => (\n            <span\n              key={site.city}\n              style={{ left: `${site.x}%`, top: `${site.y}%` }}\n              className={cn(\n                \"absolute flex -translate-x-1/2 -translate-y-1/2 items-center gap-1.5 transition-opacity\",\n                !visible.includes(site) && \"opacity-15\"\n              )}\n            >\n              <span className={cn(\"size-3 rounded-full ring-4\", dot[site.status])} />\n              <span className=\"hidden text-[11px] font-medium sm:inline\">{site.city}</span>\n            </span>\n          ))}\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "800px"
  },
  "categories": [
    "location"
  ]
}