{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "location-20",
  "type": "registry:block",
  "description": "Hiking route hero with a contour-line SVG trail, labelled waypoints, copyable coordinates and a stats bar.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/location/location-20.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  Check,\n  Copy,\n  Footprints,\n  Mountain,\n  Navigation,\n  Timer,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\n\nconst coords = \"hello@designali.com\"\n\nconst stats = [\n  { icon: Footprints, label: \"Phases\", value: \"4 steps\" },\n  { icon: Timer, label: \"Typical timeline\", value: \"4–8 weeks\" },\n  { icon: Mountain, label: \"Scope\", value: \"Brand to code\" },\n  { icon: Navigation, label: \"From\", value: \"Discovery call\" },\n]\n\nexport default function Location20() {\n  const [copied, setCopied] = useState(false)\n\n  async function copy() {\n    try {\n      await navigator.clipboard.writeText(coords)\n      setCopied(true)\n      setTimeout(() => setCopied(false), 1600)\n    } catch {\n      setCopied(false)\n    }\n  }\n\n  return (\n    <section className=\"w-full bg-background py-20 md:py-28\">\n      <div className=\"mx-auto max-w-7xl px-6\">\n        <div className=\"flex flex-col justify-between gap-6 md:flex-row md:items-end\">\n          <div>\n            <p className=\"text-xs font-medium tracking-widest text-muted-foreground uppercase\">\n              The process\n            </p>\n            <h2 className=\"mt-3 text-4xl font-semibold tracking-tight md:text-5xl\">\n              From first call to launch\n            </h2>\n          </div>\n          <div className=\"flex flex-wrap gap-2\">\n            <Button variant=\"outline\" onClick={copy}>\n              {copied ? <Check /> : <Copy />}\n              {copied ? \"Copied\" : coords}\n            </Button>\n            <Button nativeButton={false} render={<a href=\"/contact\" />}>\n              <Navigation />\n              Start a project\n            </Button>\n          </div>\n        </div>\n\n        <div className=\"mt-10 border\">\n          <div className=\"relative aspect-[16/10] overflow-hidden bg-gradient-to-b from-primary/10 to-primary/5 md:aspect-[21/8] dark:from-chart-5/50 dark:to-chart-5/40\">\n            <svg viewBox=\"0 0 1000 380\" preserveAspectRatio=\"xMidYMid slice\" className=\"absolute inset-0 h-full w-full\" aria-hidden>\n              {Array.from({ length: 9 }).map((_, i) => (\n                <path\n                  key={i}\n                  d={`M-20 ${330 - i * 30} C 200 ${300 - i * 34}, 380 ${350 - i * 40}, 560 ${290 - i * 30} S 860 ${200 - i * 18}, 1020 ${240 - i * 22}`}\n                  className=\"fill-none stroke-chart-3/15 dark:stroke-chart-1/15\"\n                  strokeWidth=\"1.5\"\n                />\n              ))}\n              <path\n                d=\"M80 330 C 180 320, 220 270, 320 260 S 460 290, 540 230 S 680 160, 760 150 S 880 110, 920 80\"\n                className=\"fill-none stroke-background\"\n                strokeWidth=\"10\"\n                strokeLinecap=\"round\"\n              />\n              <path\n                d=\"M80 330 C 180 320, 220 270, 320 260 S 460 290, 540 230 S 680 160, 760 150 S 880 110, 920 80\"\n                className=\"fill-none stroke-primary\"\n                strokeWidth=\"4\"\n                strokeDasharray=\"10 8\"\n                strokeLinecap=\"round\"\n              />\n              <circle cx=\"80\" cy=\"330\" r=\"10\" className=\"fill-background stroke-foreground\" strokeWidth=\"4\" />\n              <circle cx=\"540\" cy=\"230\" r=\"6\" className=\"fill-foreground\" />\n              <circle cx=\"920\" cy=\"80\" r=\"16\" className=\"fill-primary/25\" />\n              <circle cx=\"920\" cy=\"80\" r=\"8\" className=\"fill-primary\" />\n            </svg>\n            <span className=\"absolute start-[6%] bottom-[4%] bg-background px-2 py-1 text-xs\">Start &middot; Discovery call</span>\n            <span className=\"absolute start-[50%] top-[50%] hidden bg-background px-2 py-1 text-xs sm:block\">Design review</span>\n            <span className=\"absolute end-[4%] top-[6%] bg-foreground px-2 py-1 text-xs font-medium text-background\">\n              Launch &middot; designali.com\n            </span>\n          </div>\n\n          <dl className=\"grid grid-cols-2 border-t lg:grid-cols-4\">\n            {stats.map((stat, index) => (\n              <div\n                key={stat.label}\n                className={`flex items-center gap-4 p-5 md:p-6 ${index % 2 === 0 ? \"border-e\" : \"\"} ${index < 2 ? \"border-b lg:border-b-0\" : \"\"} lg:not-last:border-e`}\n              >\n                <stat.icon className=\"size-5 shrink-0 text-muted-foreground\" />\n                <div className=\"min-w-0\">\n                  <dt className=\"text-xs text-muted-foreground\">{stat.label}</dt>\n                  <dd className=\"truncate font-medium\">{stat.value}</dd>\n                </div>\n              </div>\n            ))}\n          </dl>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "800px"
  },
  "categories": [
    "location"
  ]
}