{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-15",
  "dependencies": [
    "framer-motion",
    "motion",
    "react-icons"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-15.tsx",
      "content": "import { type ReactNode } from 'react';\nimport { motion, type Variants } from 'motion/react';\nimport { FaArrowRight } from 'react-icons/fa6';\nimport LogoIcon from '@/assets/logo-icon';\n\n\n\nexport interface Footer15Link {\n  label: string;\n  href: string;\n}\n\nexport interface Footer15Column {\n  title: string;\n  links: Footer15Link[];\n}\n\nexport interface Footer15Props {\n  /** Custom logo mark element */\n  logoIcon?: ReactNode;\n  brandName?: string;\n  /** Short brand description / tagline */\n  description?: string;\n  /** CTA button label */\n  ctaLabel?: string;\n  ctaHref?: string;\n  /** Navigation columns */\n  columns?: Footer15Column[];\n  /** Large brand text in the bottom hero section */\n  heroBrandName?: string;\n  /** Copyright year / text */\n  copyrightYear?: string;\n}\n\n\n\nconst defaultColumns: Footer15Column[] = [\n  {\n    title: 'Product',\n    links: [\n      { label: 'Docs', href: '#' },\n      { label: 'Pricing', href: '#' },\n      { label: 'Features', href: '#' },\n      { label: 'Security', href: '#' },\n    ],\n  },\n  {\n    title: 'Company',\n    links: [\n      { label: 'Blog', href: '#' },\n      { label: 'Careers', href: '#' },\n      { label: 'Support', href: '#' },\n    ],\n  },\n  {\n    title: 'Social',\n    links: [\n      { label: 'Twitter', href: '#' },\n      { label: 'Linkedin', href: '#' },\n      { label: 'Instagram', href: '#' },\n      { label: 'Discord', href: '#' },\n    ],\n  },\n  {\n    title: 'Legal',\n    links: [\n      { label: 'Privacy Policy', href: '#' },\n      { label: 'Terms', href: '#' },\n    ],\n  },\n];\n\n\nconst staggerContainer: Variants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      staggerChildren: 0.09,\n      delayChildren: 0.05,\n    },\n  },\n};\n\n\nconst navStagger: Variants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      staggerChildren: 0.07,\n      delayChildren: 0.02,\n    },\n  },\n};\n\n\nconst riseItem: Variants = {\n  hidden: { opacity: 0, y: 18, filter: 'blur(6px)' },\n  visible: {\n    opacity: 1,\n    y: 0,\n    filter: 'blur(0px)',\n    transition: { type: 'spring', duration: 0.6, bounce: 0 },\n  },\n};\n\n\nconst linkStagger: Variants = {\n  hidden: {},\n  visible: { transition: { staggerChildren: 0.04 } },\n};\n\nconst linkItem: Variants = {\n  hidden: { opacity: 0, y: 5 },\n  visible: {\n    opacity: 1,\n    y: 0,\n    transition: { type: 'spring', duration: 0.4, bounce: 0 },\n  },\n};\n\n\nconst heroBrandVariant: Variants = {\n  hidden: { opacity: 0, y: 40, filter: 'blur(12px)' },\n  visible: {\n    opacity: 1,\n    y: 0,\n    filter: 'blur(0px)',\n    transition: { type: 'spring', duration: 1.1, bounce: 0 },\n  },\n};\n\n\nconst ctaVariant: Variants = {\n  hidden: { opacity: 0, y: 10, filter: 'blur(4px)' },\n  visible: {\n    opacity: 1,\n    y: 0,\n    filter: 'blur(0px)',\n    transition: { type: 'spring', duration: 0.5, bounce: 0 },\n  },\n};\n\n\n\n\n\n\nexport function Footer15({\n  logoIcon,\n  brandName = 'Watermelon',\n  description = 'Craft adaptive systems, enhance results,\\nand launch effortlessly with next-\\ngeneration AI capabilities.',\n  ctaLabel = 'Explore now',\n  ctaHref = '#',\n  columns = defaultColumns,\n  heroBrandName = 'Watermelon',\n\n}: Footer15Props) {\n  return (\n    <footer className=\"w-full overflow-hidden rounded-t-4xl bg-[#2a2a1e] font-sans antialiased sm:rounded-t-[2.5rem] md:rounded-t-[3rem]\">\n      <motion.div\n        variants={staggerContainer}\n        initial=\"hidden\"\n        whileInView=\"visible\"\n        viewport={{ once: true, amount: 0.1 }}\n        className=\"px-6 pt-10 pb-0 sm:px-10 sm:pt-14 lg:px-14 lg:pt-16 xl:px-20\"\n      >\n        <div className=\"mx-auto flex max-w-[1440px] flex-col justify-between gap-10 lg:flex-row lg:gap-16 xl:gap-20\">\n          <motion.div\n            variants={riseItem}\n            className=\"flex shrink-0 flex-col gap-5 lg:max-w-[240px] xl:max-w-[260px]\"\n          >\n            <div className=\"flex items-center gap-2\">\n              <span className=\"shrink-0\">\n                {logoIcon ?? <LogoIcon className=\"size-8 text-[#a8a08c]\" />}\n              </span>\n              <span className=\"text-lg font-medium  text-[#e8e0cc] uppercase select-none\">\n                {brandName}\n              </span>\n            </div>\n\n            <p className=\"text-sm leading-[1.6] font-light text-pretty whitespace-pre-line text-[#a8a08c]\">\n              {description}\n            </p>\n\n            <motion.a\n              href={ctaHref}\n              variants={ctaVariant}\n              whileTap={{ scale: 0.96 }}\n              className=\"group mt-1 inline-flex w-fit items-center gap-2.5 rounded-full bg-green-500 py-0.5 pr-1 pl-5 shadow-[0_1px_3px_rgba(0,0,0,0.12),0_0_0_1px_rgba(0,0,0,0.04)] transition-[background-color,box-shadow] duration-200 hover:shadow-[0_2px_8px_rgba(0,0,0,0.15),0_0_20px_rgba(232,224,204,0.12)]\"\n            >\n              <span className=\"text-sm font-medium text-[#2a2a1e]\">\n                {ctaLabel}\n              </span>\n              <span className=\"will-change-transfor flex size-10 items-center justify-center rounded-full bg-zinc-800\">\n                <FaArrowRight className=\"size-4 text-zinc-100 transition-transform duration-200 group-hover:translate-x-0.5\" />\n              </span>\n            </motion.a>\n          </motion.div>\n\n          <motion.nav\n            variants={navStagger}\n            aria-label=\"Footer navigation\"\n            className=\"grid w-full max-w-[540px] grid-cols-2 gap-y-8 sm:grid-cols-4\"\n          >\n            {columns.map((col) => (\n              <motion.div key={col.title} variants={riseItem} className=\"\">\n                <h3 className=\"text-md leading-none font-normal tracking-wide text-balance text-[#e8e0cc]\">\n                  {col.title}\n                </h3>\n                <motion.ul\n                  variants={linkStagger}\n                  className=\"mt-3 flex flex-col gap-3\"\n                >\n                  {col.links.map((link) => (\n                    <motion.li key={link.label} variants={linkItem}>\n                      <a\n                        href={link.href}\n                        className=\"inline-block text-sm leading-none font-light text-[#a8a08c] transition-colors duration-200 hover:text-[#e8e0cc]\"\n                      >\n                        {link.label}\n                      </a>\n                    </motion.li>\n                  ))}\n                </motion.ul>\n              </motion.div>\n            ))}\n          </motion.nav>\n        </div>\n      </motion.div>\n\n      <motion.div\n        variants={heroBrandVariant}\n        initial=\"hidden\"\n        whileInView=\"visible\"\n        viewport={{ once: true, amount: 0.15 }}\n        className=\"relative flex items-end justify-center overflow-hidden px-4 pt-10 sm:px-6 sm:pt-14 md:pt-20\"\n      >\n        <svg\n          className=\"h-auto w-full translate-y-2 select-none md:translate-y-6\"\n          viewBox={`0 0 ${Math.max(heroBrandName.length * 90, 400)} 110`}\n          preserveAspectRatio=\"xMidYMid meet\"\n          aria-label={heroBrandName}\n        >\n          <text\n            x=\"50%\"\n            y=\"100%\"\n            dominantBaseline=\"alphabetic\"\n            textAnchor=\"middle\"\n            textLength=\"95%\"\n            lengthAdjust=\"spacing\"\n            className=\"fill-[#e8e0cc] font-sans font-semibold  text-shadow-sm\"\n            fontSize=\"160\"\n          >\n            {heroBrandName}\n          </text>\n        </svg>\n      </motion.div>\n    </footer>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/footer-15.tsx"
    },
    {
      "path": "src/assets/logo-icon.tsx",
      "content": "export default function LogoIcon({ className }: { className?: string }) {\n  return (\n    <svg\n      className={className}\n      width=\"785\"\n      height=\"506\"\n      viewBox=\"0 0 785 506\"\n      fill=\"currentColor\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        d=\"M392.688 104.141C299.504 104.141 291.288 234.316 261.147 234.316C231.007 234.316 230.996 0 121.38 0C-30.726 0 -49.9098 505.63 121.38 505.63C196.742 505.63 218.672 442.598 252.926 442.598C287.179 442.598 322.801 505.63 392.688 505.63C462.575 505.63 496.832 442.598 531.085 442.598C565.339 442.598 587.269 505.63 662.631 505.63C833.921 505.63 814.737 0 662.631 0C553.015 0 553.004 234.316 522.864 234.316C492.723 234.316 485.872 104.141 392.688 104.141Z\"\n        fill=\"currentColor\"\n      />\n      <circle cx=\"515.226\" cy=\"332.977\" r=\"46.5892\" fill=\"black\" />\n      <circle cx=\"268.575\" cy=\"332.976\" r=\"46.5892\" fill=\"black\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "assets/logo-icon.tsx"
    }
  ],
  "type": "registry:ui"
}
