{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-mega-newsletter",
  "title": "Footer — Mega with Newsletter",
  "type": "registry:block",
  "files": [
    {
      "path": "packages/registry-react/blocks/footer-mega-newsletter/FooterMegaNewsletter.tsx",
      "content": "'use client'\n\nimport { useState, type FormEvent } from 'react'\nimport { ArrowRight, Check, Layers } from 'lucide-react'\n\n// lucide-react no longer ships brand glyphs, so they are inlined here the\n// same way footer-01 and the other shipped React blocks do it.\nconst Github = ({ className }: { className?: string }) => (\n  <svg className={className} viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\">\n    <path d=\"M12 .5C5.7.5.5 5.7.5 12c0 5.1 3.3 9.4 7.9 10.9.6.1.8-.3.8-.6v-2c-3.2.7-3.9-1.5-3.9-1.5-.5-1.4-1.3-1.7-1.3-1.7-1.1-.7.1-.7.1-.7 1.2.1 1.8 1.2 1.8 1.2 1 1.8 2.7 1.3 3.4 1 .1-.8.4-1.3.7-1.6-2.6-.3-5.3-1.3-5.3-5.8 0-1.3.5-2.3 1.2-3.1-.1-.3-.5-1.5.1-3.1 0 0 1-.3 3.3 1.2a11.4 11.4 0 016 0C17 4.7 18 5 18 5c.6 1.6.2 2.8.1 3.1.8.8 1.2 1.8 1.2 3.1 0 4.5-2.7 5.5-5.3 5.8.4.4.8 1.1.8 2.2v3.3c0 .3.2.7.8.6 4.6-1.5 7.9-5.8 7.9-10.9C23.5 5.7 18.3.5 12 .5z\" />\n  </svg>\n)\n\nconst Linkedin = ({ className }: { className?: string }) => (\n  <svg className={className} viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\">\n    <path d=\"M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 110-4.13 2.06 2.06 0 010 4.13zm1.78 13.02H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0z\" />\n  </svg>\n)\n\nconst Youtube = ({ className }: { className?: string }) => (\n  <svg className={className} viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\">\n    <path d=\"M23.5 6.2a3 3 0 00-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 00.5 6.2C0 8.1 0 12 0 12s0 3.9.5 5.8a3 3 0 002.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 002.1-2.1c.5-1.9.5-5.8.5-5.8s0-3.9-.5-5.8zM9.6 15.6V8.4l6.2 3.6-6.2 3.6z\" />\n  </svg>\n)\n\nimport { Badge } from '@/components/ui/badge'\nimport { Button } from '@/components/ui/button'\nimport { Input } from '@/components/ui/input'\nimport { Separator } from '@/components/ui/separator'\n\nconst sections = [\n  { heading: 'Product', links: ['Metric layer', 'Dashboards', 'Alerting', 'Embedding', 'Changelog'] },\n  { heading: 'Solutions', links: ['Finance', 'RevOps', 'Analytics', 'Engineering'] },\n  { heading: 'Developers', links: ['Documentation', 'API reference', 'CLI', 'Status'] },\n  { heading: 'Company', links: ['About', 'Careers', 'Customers', 'Press kit'] },\n  { heading: 'Legal', links: ['Privacy', 'Terms', 'DPA', 'Subprocessors'] },\n]\n\nexport function FooterMegaNewsletter() {\n  const [email, setEmail] = useState('')\n  const [submitted, setSubmitted] = useState(false)\n\n  function subscribe(event: FormEvent) {\n    event.preventDefault()\n    if (!email.trim()) return\n    setSubmitted(true)\n  }\n\n  return (\n    <footer data-slot=\"footer-mega-newsletter\" className=\"border-border bg-background border-t\">\n      <div className=\"mx-auto max-w-6xl px-6 py-14\">\n        <div className=\"grid gap-12 lg:grid-cols-[22rem_1fr] lg:gap-16\">\n          <div>\n            <a href=\"#top\" className=\"flex items-center gap-2 font-semibold tracking-tight\">\n              <Layers className=\"text-primary size-5\" aria-hidden=\"true\" />\n              Northwind\n            </a>\n            <p className=\"text-muted-foreground mt-3 max-w-sm text-sm leading-relaxed\">\n              One certified metric layer between your warehouse and everything downstream.\n            </p>\n\n            <form className=\"mt-6\" onSubmit={subscribe}>\n              <label htmlFor=\"footer-email\" className=\"text-sm font-medium\">\n                Monthly engineering notes\n              </label>\n              <div className=\"mt-2 flex gap-2\">\n                <Input\n                  id=\"footer-email\"\n                  value={email}\n                  onChange={(event) => setEmail(event.target.value)}\n                  type=\"email\"\n                  placeholder=\"you@company.com\"\n                  autoComplete=\"email\"\n                  className=\"max-w-64\"\n                />\n                <Button type=\"submit\">\n                  Subscribe\n                  <ArrowRight className=\"ml-1.5 size-3.5\" aria-hidden=\"true\" />\n                </Button>\n              </div>\n              {/* Status line reserves its own row, so confirming does not shift the columns. */}\n              <p className=\"text-muted-foreground mt-2 min-h-5 text-xs\">\n                {submitted ? (\n                  <span className=\"text-success inline-flex items-center gap-1.5\">\n                    <Check className=\"size-3\" aria-hidden=\"true\" />\n                    Check your inbox to confirm.\n                  </span>\n                ) : (\n                  <span>One email a month. Unsubscribe in one click.</span>\n                )}\n              </p>\n            </form>\n          </div>\n\n          <div className=\"grid grid-cols-2 gap-8 sm:grid-cols-3 lg:grid-cols-5\">\n            {sections.map((section) => (\n              <div key={section.heading}>\n                <p className=\"text-muted-foreground/70 text-xs font-medium tracking-wide uppercase\">\n                  {section.heading}\n                </p>\n                <ul className=\"mt-3 space-y-2\">\n                  {section.links.map((link) => (\n                    <li key={link}>\n                      <a href=\"#\" className=\"text-muted-foreground hover:text-foreground text-sm transition-colors\">\n                        {link}\n                      </a>\n                    </li>\n                  ))}\n                </ul>\n              </div>\n            ))}\n          </div>\n        </div>\n\n        <Separator className=\"my-10\" />\n\n        <div className=\"flex flex-col gap-4 sm:flex-row sm:items-center\">\n          <p className=\"text-muted-foreground text-xs\">© 2026 Northwind Data, Inc. All rights reserved.</p>\n          <Badge variant=\"outline\" className=\"w-fit\">\n            SOC 2 Type II\n          </Badge>\n          <div className=\"flex items-center gap-1 sm:ml-auto\">\n            <Button variant=\"ghost\" size=\"icon\" className=\"size-8\" aria-label=\"GitHub\">\n              <Github className=\"size-4\" aria-hidden=\"true\" />\n            </Button>\n            <Button variant=\"ghost\" size=\"icon\" className=\"size-8\" aria-label=\"LinkedIn\">\n              <Linkedin className=\"size-4\" aria-hidden=\"true\" />\n            </Button>\n            <Button variant=\"ghost\" size=\"icon\" className=\"size-8\" aria-label=\"YouTube\">\n              <Youtube className=\"size-4\" aria-hidden=\"true\" />\n            </Button>\n          </div>\n        </div>\n      </div>\n    </footer>\n  )\n}\n",
      "type": "registry:block",
      "target": "~/components/blocks/FooterMegaNewsletter.tsx"
    }
  ],
  "dependencies": [
    "lucide-react"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://uipkge.dev/r/react/badge.json",
    "https://uipkge.dev/r/react/button.json",
    "https://uipkge.dev/r/react/input.json",
    "https://uipkge.dev/r/react/separator.json"
  ],
  "description": "Large footer pairing a newsletter signup and status line with five link columns, a social row, and a legal bar carrying the copyright and a compliance badge.",
  "categories": [
    "marketing"
  ],
  "deprecated": true,
  "replacedBy": "footer"
}