{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-08",
  "type": "registry:block",
  "description": "A centred waitlist hero with a gradient glow and inline email form.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "input"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/hero/hero-08.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  ArrowRight,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { Input } from \"@workspace/ui/components/input\"\n\nexport default function Hero08() {\n  const [email, setEmail] = useState(\"\")\n  const [joined, setJoined] = useState(false)\n\n  return (\n    <section className=\"relative w-full overflow-hidden bg-background px-6 py-28 md:py-40\">\n      <div\n        aria-hidden\n        className=\"pointer-events-none absolute inset-x-0 top-0 h-[480px] opacity-40 blur-3xl\"\n        style={{\n          background:\n            \"radial-gradient(ellipse at 50% 0%, var(--chart-2) 0%, transparent 60%)\",\n        }}\n      />\n      <div className=\"relative mx-auto flex max-w-3xl flex-col items-center text-center\">\n        <p className=\"font-sans text-xs tracking-widest text-muted-foreground uppercase\">\n          Designali newsletter\n        </p>\n        <h1 className=\"mt-6 text-5xl font-medium tracking-tight md:text-7xl\">\n          New templates, blocks and icons in your inbox.\n        </h1>\n        <p className=\"mt-6 max-w-xl text-base leading-7 text-muted-foreground\">\n          Get Ali Imam's notes on design and code, plus early access to new\n          Designali templates, blocks and UI kits before they hit designali.com.\n        </p>\n        <form\n          className=\"mt-10 flex w-full max-w-md flex-col gap-2 sm:flex-row\"\n          onSubmit={(event) => {\n            event.preventDefault()\n            if (email) setJoined(true)\n          }}\n        >\n          <Input\n            type=\"email\"\n            required\n            placeholder=\"you@example.com\"\n            aria-label=\"Email address\"\n            value={email}\n            onChange={(event) => setEmail(event.target.value)}\n            className=\"h-11 bg-background text-sm\"\n          />\n          <Button type=\"submit\" size=\"lg\" className=\"h-11\" disabled={joined}>\n            {joined ? \"You're in\" : \"Subscribe\"}\n            {!joined && <ArrowRight />}\n          </Button>\n        </form>\n        <p className=\"mt-4 text-xs text-muted-foreground\">\n          One email when something new ships. Unsubscribe anytime.\n        </p>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "700px"
  },
  "categories": [
    "hero"
  ]
}