{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-29",
  "dependencies": [
    "framer-motion",
    "lucide-react"
  ],
  "registryDependencies": [
    "button",
    "input",
    "utils"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-29.tsx",
      "content": "import React from 'react';\nimport { motion } from 'framer-motion';\nimport { Input } from '@/components/ui/input';\nimport { Button } from '@/components/ui/button';\nimport { Facebook, Twitter, Instagram, Linkedin } from 'lucide-react';\nimport { cn } from '@/lib/utils';\n\nexport interface FooterLink {\n  label: string;\n  href: string;\n}\n\nexport interface FooterLinkGroup {\n  title: string;\n  links: FooterLink[];\n}\n\nexport interface Footer29Props {\n  logo: React.ReactNode;\n  brandName: string;\n  newsletterPlaceholder?: string;\n  newsletterButtonText?: string;\n  linkGroups: FooterLinkGroup[];\n  backgroundImage?: string;\n  className?: string;\n}\n\nconst containerVariants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      staggerChildren: 0.1,\n    },\n  },\n};\n\nconst itemVariants = {\n  hidden: { opacity: 0, y: 12, filter: 'blur(4px)' },\n  visible: { opacity: 1, y: 0, filter: 'blur(0px)' },\n};\n\nexport function Footer29({\n  logo,\n  brandName,\n  newsletterPlaceholder = 'Enter Your Email',\n  newsletterButtonText = 'Subscribe',\n  linkGroups,\n  backgroundImage,\n  className,\n}: Footer29Props) {\n  return (\n    <footer\n      className={cn(\n        'relative w-full overflow-hidden bg-[#faede1] text-stone-800',\n        className,\n      )}\n    >\n    \n      {backgroundImage && (\n        <div\n          className=\"pointer-events-none absolute right-0 bottom-0 left-0 h-[300px] w-full bg-cover bg-bottom bg-no-repeat opacity-100 sm:h-[400px] lg:h-[400px] 2xl:h-[800px]\"\n          style={{ backgroundImage: `url(${backgroundImage})` }}\n        />\n      )}\n\n     \n      <div className=\"relative z-10 mx-auto max-w-7xl px-4 pt-16 pb-[300px] sm:px-6 sm:pb-[400px] lg:px-8 lg:pt-24 lg:pb-[400px]\">\n        <motion.div\n          initial=\"hidden\"\n          whileInView=\"visible\"\n          viewport={{ once: true, margin: '-50px' }}\n          variants={containerVariants}\n          className=\"flex flex-col justify-between gap-12 lg:flex-row lg:gap-24\"\n        >\n          {/* Left Column */}\n          <motion.div\n            variants={itemVariants}\n            className=\"shrink-0 space-y-8 lg:w-[320px]\"\n          >\n            <div className=\"flex items-center gap-2\">\n              <div className=\"text-stone-800\">{logo}</div>\n              <span className=\"text-lg font-semibold tracking-wider uppercase\">\n                {brandName}\n              </span>\n            </div>\n\n            <form\n              className=\"flex w-full items-center\"\n              onSubmit={(e) => e.preventDefault()}\n            >\n              <Input\n                type=\"email\"\n                placeholder={newsletterPlaceholder}\n                className=\"h-11 rounded-none border-stone-300 bg-transparent text-sm placeholder:text-stone-400 focus-visible:ring-1 focus-visible:ring-stone-400 focus-visible:ring-offset-0\"\n              />\n              <Button\n                type=\"submit\"\n                className=\"h-11 rounded-none bg-[#9E9E7A] px-6 text-sm font-medium text-white transition-transform duration-150 ease-out hover:bg-[#8A8A68] active:not-disabled:scale-[0.96]\"\n              >\n                {newsletterButtonText}\n              </Button>\n            </form>\n\n            <div className=\"flex items-center gap-5\">\n              {[Facebook, Twitter, Instagram, Linkedin].map((Icon, idx) => (\n                <a\n                  key={idx}\n                  href=\"#\"\n                  className=\"text-stone-700 transition-all duration-150 ease-out hover:text-stone-900 active:scale-[0.96]\"\n                >\n                  <Icon className=\"h-5 w-5\" strokeWidth={2} />\n                </a>\n              ))}\n            </div>\n          </motion.div>\n\n          {/* Right Columns */}\n          <div className=\"grid flex-1 grid-cols-2 gap-8 sm:grid-cols-4 lg:gap-12\">\n            {linkGroups.map((group, idx) => (\n              <motion.div\n                key={idx}\n                variants={itemVariants}\n                className=\"space-y-6\"\n              >\n                <h4 className=\"text-xs font-semibold tracking-wider text-stone-500 uppercase\">\n                  {group.title}\n                </h4>\n                <ul className=\"space-y-4\">\n                  {group.links.map((link, linkIdx) => (\n                    <li key={linkIdx}>\n                      <a\n                        href={link.href}\n                        className=\"text-sm text-stone-600 transition-colors hover:text-stone-900\"\n                      >\n                        {link.label}\n                      </a>\n                    </li>\n                  ))}\n                </ul>\n              </motion.div>\n            ))}\n          </div>\n        </motion.div>\n      </div>\n    </footer>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/footer-29.tsx"
    }
  ],
  "type": "registry:ui"
}
