{
  "title": "Footer 3",
  "description": "Dual-column layout pairing brand information and social icons with a newsletter subscription box.",
  "name": "marketing-footer-3",
  "dependencies": [],
  "registryDependencies": [
    "button",
    "input"
  ],
  "type": "registry:block",
  "files": [
    {
      "path": "components/blocks/marketing/footer/footer-3.tsx",
      "type": "registry:block",
      "content": "import { type FormEvent, useState } from \"react\";\n\nimport { ArrowRight } from \"lucide-react\";\n\nimport { cn } from \"@/lib/utils.ts\";\n\nimport { Button } from \"@/components/ui/button\";\nimport { Input } from \"@/components/ui/input\";\n\nconst socialLinks = [\n    {\n        name: \"Twitter\",\n        icon: \"https://cdn.paceui.com/brand-logos/x.svg\",\n        isDarkInvert: true,\n        href: \"#\",\n    },\n    {\n        name: \"GitHub\",\n        icon: \"https://cdn.paceui.com/brand-logos/github.svg\",\n        isDarkInvert: true,\n        href: \"#\",\n    },\n    {\n        name: \"LinkedIn\",\n        icon: \"https://cdn.paceui.com/brand-logos/linkedin.svg\",\n        href: \"#\",\n    },\n];\n\nexport function Footer3() {\n    const [email, setEmail] = useState(\"\");\n\n    const handleSubmit = (e: FormEvent) => {\n        e.preventDefault();\n        setEmail(\"\");\n    };\n\n    return (\n        <div>\n            <div className=\"bg-muted/60 flex h-36 items-center justify-center border-b border-dashed\">\n                <p className=\"text-foreground/25 font-medium\">Content Here</p>\n            </div>\n            <footer className=\"w-full py-12 md:py-16\">\n                <div className=\"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8\">\n                    <div className=\"grid grid-cols-1 gap-10 md:grid-cols-2 lg:gap-16\">\n                        <div className=\"flex flex-col space-y-4\">\n                            <a href=\"#\" className=\"flex items-center gap-2.5\">\n                                <div className=\"bg-muted flex size-9 shrink-0 items-center justify-center rounded-md text-sm font-medium\">\n                                    P\n                                </div>\n                                <span className=\"text-lg font-medium tracking-tight\">PaceUI</span>\n                            </a>\n\n                            <p className=\"text-muted-foreground max-w-md text-sm leading-relaxed font-normal\">\n                                Empowering developers and designers to build beautiful, accessible web applications with\n                                clean React components and modern design systems.\n                            </p>\n\n                            <div className=\"text-muted-foreground flex items-center gap-0.5 pt-2\">\n                                {socialLinks.map((social) => {\n                                    return (\n                                        <Button\n                                            key={social.name}\n                                            variant=\"ghost\"\n                                            size=\"icon\"\n                                            aria-label={social.name}\n                                            className=\"hover:text-foreground\"\n                                            render={\n                                                <a href={social.href} aria-label={social.name}>\n                                                    <img\n                                                        src={social.icon}\n                                                        className={cn(\"size-4\", { \"dark:invert\": social.isDarkInvert })}\n                                                        alt={social.name}\n                                                    />\n                                                </a>\n                                            }></Button>\n                                    );\n                                })}\n                            </div>\n                        </div>\n\n                        <div className=\"bg-muted/20 flex h-fit flex-col space-y-4 rounded-xl border p-4 md:p-5\">\n                            <div>\n                                <h3 className=\"text-base font-medium\">Stay up to date</h3>\n                                <p className=\"text-muted-foreground mt-1 text-sm font-normal\">\n                                    Get our monthly newsletter with component releases, design tips, and updates.\n                                </p>\n                            </div>\n\n                            <form onSubmit={handleSubmit} className=\"flex flex-col gap-2 pt-2 sm:flex-row\">\n                                <Input\n                                    type=\"email\"\n                                    placeholder=\"Enter your email\"\n                                    value={email}\n                                    onChange={(e) => setEmail(e.target.value)}\n                                    className=\"shadow-none\"\n                                    required\n                                />\n                                <Button type=\"submit\" className=\"shrink-0\">\n                                    Subscribe <ArrowRight className=\"size-4\" />\n                                </Button>\n                            </form>\n                        </div>\n                    </div>\n\n                    <div className=\"text-muted-foreground mt-12 flex flex-col items-center justify-between gap-4 border-t pt-6 text-sm sm:flex-row\">\n                        <p>&copy; {new Date().getFullYear()} PaceUI. All rights reserved.</p>\n                        <div className=\"flex gap-6\">\n                            <a href=\"#\" className=\"hover:text-foreground transition-colors\">\n                                Privacy Policy\n                            </a>\n                            <a href=\"#\" className=\"hover:text-foreground transition-colors\">\n                                Terms of Service\n                            </a>\n                        </div>\n                    </div>\n                </div>\n            </footer>\n        </div>\n    );\n}\n"
    }
  ],
  "mcp": {
    "description": "Dual-column layout pairing brand information and social icons with a newsletter subscription box. Relies on button, input. Ideal when an AI agent needs to compose section layouts or application views.",
    "tags": [
      "block",
      "marketing",
      "footer"
    ]
  }
}