{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-16",
  "type": "registry:block",
  "description": "Split hero with an inverted pitch panel and floor-plan sketch beside a sign-up form with success state.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "input"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/hero/hero-16.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport {\n  ArrowRight,\n  CircleCheck as CheckCircle2,\n  Lock,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { Input } from \"@workspace/ui/components/input\"\n\nconst benefits = [\n  \"Free blocks, icons and logos\",\n  \"Copy-paste React and Tailwind code\",\n  \"Figma-ready UI designs\",\n]\n\nexport default function Hero16() {\n  const [submitted, setSubmitted] = useState(false)\n\n  return (\n    <section className=\"w-full bg-background\">\n      <div className=\"mx-auto grid max-w-7xl lg:grid-cols-2\">\n        <div className=\"bg-foreground px-6 py-16 text-background md:px-12 md:py-24\">\n          <p className=\"font-sans text-xs tracking-widest uppercase opacity-60\">\n            Designali / design se code tak\n          </p>\n          <h1 className=\"mt-6 text-4xl font-medium tracking-tight md:text-6xl\">\n            Build your next site before your coffee gets cold.\n          </h1>\n          <p className=\"mt-6 max-w-md text-base leading-7 opacity-70\">\n            Pick a Designali template, drop in blocks and ship a production-ready\n            Next.js site. Made for designers, developers and founders.\n          </p>\n          <ul className=\"mt-10 space-y-3 text-sm\">\n            {benefits.map((benefit) => (\n              <li key={benefit} className=\"flex items-center gap-3\">\n                <CheckCircle2 className=\"size-4 shrink-0 opacity-70\" />\n                {benefit}\n              </li>\n            ))}\n          </ul>\n          <svg viewBox=\"0 0 320 120\" className=\"mt-12 w-full max-w-sm opacity-40\" aria-hidden>\n            <rect x=\"2\" y=\"2\" width=\"316\" height=\"116\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2\" />\n            <line x1=\"130\" y1=\"2\" x2=\"130\" y2=\"80\" stroke=\"currentColor\" strokeWidth=\"2\" />\n            <line x1=\"130\" y1=\"80\" x2=\"210\" y2=\"80\" stroke=\"currentColor\" strokeWidth=\"2\" />\n            <line x1=\"240\" y1=\"2\" x2=\"240\" y2=\"118\" stroke=\"currentColor\" strokeWidth=\"2\" />\n            <path d=\"M130 80 A30 30 0 0 1 160 110\" fill=\"none\" stroke=\"currentColor\" strokeDasharray=\"3 3\" />\n            <text x=\"40\" y=\"60\" fill=\"currentColor\" fontSize=\"10\">Hero</text>\n            <text x=\"150\" y=\"40\" fill=\"currentColor\" fontSize=\"10\">Blocks</text>\n            <text x=\"254\" y=\"60\" fill=\"currentColor\" fontSize=\"10\">CTA</text>\n          </svg>\n        </div>\n\n        <div className=\"flex items-center px-6 py-16 md:px-12 md:py-24\">\n          <div className=\"w-full max-w-md\">\n            {submitted ? (\n              <div className=\"border border-border p-8 text-center\">\n                <CheckCircle2 className=\"mx-auto size-8 text-primary dark:text-primary\" />\n                <p className=\"mt-4 text-lg font-medium\">Check your inbox</p>\n                <p className=\"mt-2 text-sm text-muted-foreground\">\n                  We sent a sign-in link. It expires in 15 minutes.\n                </p>\n              </div>\n            ) : (\n              <form\n                onSubmit={(event) => {\n                  event.preventDefault()\n                  setSubmitted(true)\n                }}\n                className=\"space-y-5\"\n              >\n                <div>\n                  <h2 className=\"text-2xl font-medium tracking-tight\">\n                    Create your free Designali account\n                  </h2>\n                  <p className=\"mt-2 text-sm text-muted-foreground\">\n                    Already have one?{\" \"}\n                    <a href=\"/login\" className=\"text-foreground underline underline-offset-4\">\n                      Sign in\n                    </a>\n                  </p>\n                </div>\n                <div className=\"grid gap-4 sm:grid-cols-2\">\n                  <label className=\"space-y-1.5 text-sm\">\n                    <span>First name</span>\n                    <Input required placeholder=\"Ali\" />\n                  </label>\n                  <label className=\"space-y-1.5 text-sm\">\n                    <span>Last name</span>\n                    <Input required placeholder=\"Imam\" />\n                  </label>\n                </div>\n                <label className=\"block space-y-1.5 text-sm\">\n                  <span>Work email</span>\n                  <Input required type=\"email\" placeholder=\"you@example.com\" />\n                </label>\n                <label className=\"block space-y-1.5 text-sm\">\n                  <span>I am a...</span>\n                  <select className=\"h-9 w-full border border-input bg-transparent px-3 text-sm\">\n                    <option>Designer</option>\n                    <option>Developer</option>\n                    <option>Founder</option>\n                    <option>Agency or studio</option>\n                  </select>\n                </label>\n                <Button type=\"submit\" size=\"lg\" className=\"w-full\">\n                  Create account\n                  <ArrowRight />\n                </Button>\n                <p className=\"flex items-center justify-center gap-1.5 text-xs text-muted-foreground\">\n                  <Lock className=\"size-3\" />\n                  No credit card. Cancel any time.\n                </p>\n              </form>\n            )}\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "800px"
  },
  "categories": [
    "hero"
  ]
}