{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-13",
  "dependencies": [
    "framer-motion",
    "motion",
    "react-icons"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-13.tsx",
      "content": "import { type FormEvent, type ReactNode } from 'react';\nimport { motion, type Variants } from 'motion/react';\nimport {\n  FaArrowRight,\n  FaFacebookF,\n  FaInstagram,\n  FaLinkedinIn,\n  FaXTwitter,\n} from 'react-icons/fa6';\nimport LogoIcon from '@/assets/logo-icon';\n\nexport interface Footer13Link {\n  label: string;\n  href: string;\n}\n\nexport interface Footer13Column {\n  title: string;\n  links: Footer13Link[];\n}\n\nexport interface Footer13SocialLink {\n  label: string;\n  href: string;\n  icon: ReactNode;\n}\n\nexport interface Footer13BottomLink {\n  label: string;\n  href: string;\n}\n\nexport interface Footer13Props {\n  /** URL for the full-width hero landscape image at the top */\n  heroSrc?: string;\n  heroAlt?: string;\n  /** Custom logo mark element */\n  logoIcon?: ReactNode;\n  brandName?: string;\n  /** Four navigation columns rendered left of the Contact Us column */\n  columns?: Footer13Column[];\n  emailPlaceholder?: string;\n  subscribeLabel?: string;\n  /** Short tagline shown below the subscribe form */\n  subscribeTagline?: string;\n  onSubscribe?: (email: string) => void;\n  copyright?: string;\n  socialLinks?: Footer13SocialLink[];\n  bottomLinks?: Footer13BottomLink[];\n}\n\nconst defaultColumns: Footer13Column[] = [\n  {\n    title: 'Company',\n    links: [\n      { label: 'Manifesto', href: '#' },\n      { label: 'Career', href: '#' },\n      { label: 'Partners', href: '#' },\n      { label: 'Inquiries', href: '#' },\n    ],\n  },\n  {\n    title: 'Intelligence',\n    links: [\n      { label: 'Field Notes', href: '#' },\n      { label: 'System Ethics', href: '#' },\n      { label: 'The Long Now', href: '#' },\n      { label: 'Whitepapers', href: '#' },\n      { label: 'Intelligence', href: '#' },\n    ],\n  },\n  {\n    title: 'Protocols',\n    links: [\n      { label: 'The Golden Path', href: '#' },\n      { label: 'Careers', href: '#' },\n      { label: 'Contact us', href: '#' },\n      { label: 'Products', href: '#' },\n    ],\n  },\n  {\n    title: 'Legal',\n    links: [\n      { label: 'Terms', href: '#' },\n      { label: 'Privacy Policy', href: '#' },\n      { label: 'Security Policy', href: '#' },\n    ],\n  },\n];\n\nconst defaultSocials: Footer13SocialLink[] = [\n  { label: 'Facebook', href: '#', icon: <FaFacebookF /> },\n  { label: 'Twitter / X', href: '#', icon: <FaXTwitter /> },\n  { label: 'Instagram', href: '#', icon: <FaInstagram /> },\n  { label: 'LinkedIn', href: '#', icon: <FaLinkedinIn /> },\n];\n\nconst defaultBottomLinks: Footer13BottomLink[] = [\n  { label: 'Privacy Policy', href: '#' },\n  { label: 'Terms of Service', href: '#' },\n  { label: 'Cookie Policy', href: '#' },\n];\n\nconst heroVariant: Variants = {\n  hidden: { opacity: 0, scale: 1.04 },\n  visible: {\n    opacity: 1,\n    scale: 1,\n    transition: { duration: 1.05, ease: [0.22, 1, 0.36, 1] },\n  },\n};\n\nconst staggerContainer: Variants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      staggerChildren: 0.08,\n      delayChildren: 0.04,\n    },\n  },\n};\n\nconst riseItem: Variants = {\n  hidden: { opacity: 0, y: 20, filter: 'blur(8px)' },\n  visible: {\n    opacity: 1,\n    y: 0,\n    filter: 'blur(0px)',\n    transition: { type: 'spring', duration: 0.65, bounce: 0 },\n  },\n};\n\nconst linkStagger: Variants = {\n  hidden: {},\n  visible: { transition: { staggerChildren: 0.045 } },\n};\n\nconst linkItem: Variants = {\n  hidden: { opacity: 0, y: 6 },\n  visible: {\n    opacity: 1,\n    y: 0,\n    transition: { type: 'spring', duration: 0.45, bounce: 0 },\n  },\n};\n\n\nexport function Footer13({\n  heroSrc = 'https://assets.watermelon.sh/footer-13-bg.avif',\n  heroAlt = 'A serene mountain landscape at dusk with pine silhouettes',\n  logoIcon,\n  brandName = 'Watermelon',\n  columns = defaultColumns,\n  emailPlaceholder = 'Enter your email',\n  subscribeLabel = 'Subscribe',\n  subscribeTagline = 'Receive calm nature wrapped\\nin moonlight silence.',\n  onSubscribe,\n  copyright = '© 2026 Watermelon Inc. All rights reserved.',\n  socialLinks = defaultSocials,\n  bottomLinks = defaultBottomLinks,\n}: Footer13Props) {\n  function handleSubmit(event: FormEvent<HTMLFormElement>) {\n    event.preventDefault();\n    const formData = new FormData(event.currentTarget);\n    const email = String(formData.get('email') ?? '');\n    onSubscribe?.(email);\n  }\n\n  return (\n    <footer className=\"w-full overflow-hidden font-sans antialiased\">\n      <motion.div\n        variants={heroVariant}\n        initial=\"hidden\"\n        whileInView=\"visible\"\n        viewport={{ once: true, amount: 0.15 }}\n        className=\"relative h-[340px] w-full overflow-hidden sm:h-[400px] md:h-[460px] lg:h-[520px]\"\n      >\n        <img\n          src={heroSrc}\n          alt={heroAlt}\n          className=\"h-full w-full mask-b-from-80% object-cover object-center outline-1 -outline-offset-1 outline-white/10\"\n        />\n      </motion.div>\n\n      <motion.div\n        variants={staggerContainer}\n        initial=\"hidden\"\n        whileInView=\"visible\"\n        viewport={{ once: true, amount: 0.06 }}\n        className=\"bg-neutral-950 px-6 pt-8 sm:px-10 lg:px-14 xl:px-20\"\n      >\n        <div className=\"flex flex-col gap-10 border-b border-white/[0.07] pb-8 lg:flex-col lg:gap-8 xl:gap-8\">\n          <motion.div\n            variants={riseItem}\n            className=\"flex shrink-0 items-center gap-2 \"\n          >\n            <span className=\"shrink-0\">{logoIcon ?? <LogoIcon className='size-8 dark:text-white text-zinc-200' />}</span>\n            <span className=\"text-xl font-normal tracking-wide text-white uppercase select-none\">\n              {brandName}\n            </span>\n          </motion.div>\n\n          <motion.nav\n            variants={staggerContainer}\n            aria-label=\"Footer navigation\"\n            className=\"grid flex-1 grid-cols-2 gap-x-4 gap-y-9 sm:grid-cols-3 lg:grid-cols-[repeat(4,minmax(0,1fr))_minmax(210px,350px)] lg:gap-x-4 xl:gap-x-4\"\n          >\n            {columns.map((col) => (\n              <motion.div key={col.title} variants={riseItem}>\n                <h3 className=\"text-lg leading-none font-light tracking-wide text-balance text-white\">\n                  {col.title}\n                </h3>\n                <motion.ul\n                  variants={linkStagger}\n                  className=\"mt-[18px] space-y-[11px]\"\n                >\n                  {col.links.map((link) => (\n                    <motion.li key={link.label} variants={linkItem}>\n                      <a\n                        href={link.href}\n                        className=\"text-sm leading-none font-light text-neutral-400 transition-colors duration-200 hover:text-white\"\n                      >\n                        {link.label}\n                      </a>\n                    </motion.li>\n                  ))}\n                </motion.ul>\n              </motion.div>\n            ))}\n\n            <motion.div\n              variants={riseItem}\n              className=\"col-span-2 sm:col-span-2 md:col-span-1\"\n            >\n              <h3 className=\"text-sm leading-none font-medium tracking-wide text-balance text-white\">\n                Contact Us\n              </h3>\n              <form onSubmit={handleSubmit} className=\"mt-[18px]\">\n                <div className=\"flex w-full max-w-2xl gap-2 overflow-hidden\">\n                  <label htmlFor=\"footer13-email\" className=\"sr-only\">\n                    Email address\n                  </label>\n                  <input\n                    id=\"footer13-email\"\n                    name=\"email\"\n                    type=\"email\"\n                    placeholder={emailPlaceholder}\n                    className=\"h-[42px] min-w-0 flex-1 bg-white px-3 text-sm font-normal text-neutral-900 placeholder:text-neutral-400 focus:outline-none\"\n                  />\n\n                  <motion.button\n                    type=\"submit\"\n                    whileTap={{ scale: 0.96 }}\n                    className=\"flex h-[42px] shrink-0 cursor-pointer items-center gap-1.5 bg-[linear-gradient(to_right,#881F43_0%,#C53A4A_50%,#FDA25F_100%)] pr-3 pl-3.5 text-sm font-medium text-neutral-900 outline-2 -outline-offset-2 outline-white/10 transition-[background-color] duration-150 hover:bg-neutral-100 active:bg-neutral-200\"\n                  >\n                    <span>{subscribeLabel}</span>\n                    <FaArrowRight className=\"size-3 shrink-0\" />\n                  </motion.button>\n                </div>\n\n                <p className=\"mt-2.5 text-sm leading-[1.55] font-light text-pretty whitespace-pre-line text-neutral-200\">\n                  {subscribeTagline}\n                </p>\n              </form>\n            </motion.div>\n          </motion.nav>\n        </div>\n\n        <motion.div\n          variants={riseItem}\n          className=\"flex flex-col gap-5 py-[18px] text-xs sm:flex-row sm:items-center sm:justify-between sm:gap-4\"\n        >\n          <p className=\"text-md font-normal text-neutral-300\">{copyright}</p>\n\n          <div className=\"flex items-center gap-0\">\n            {socialLinks.map((link) => (\n              <motion.a\n                key={link.label}\n                href={link.href}\n                aria-label={link.label}\n                whileTap={{ scale: 0.96 }}\n                className=\"flex min-h-10 min-w-10 items-center justify-center text-neutral-400 transition-colors duration-200 hover:text-white\"\n              >\n                <span className=\"text-[15px]\">{link.icon}</span>\n              </motion.a>\n            ))}\n          </div>\n\n         \n          <div className=\"flex flex-wrap items-center gap-x-5 gap-y-1.5\">\n            {bottomLinks.map((link) => (\n              <a\n                key={link.label}\n                href={link.href}\n                className=\"font-normal text-neutral-500 transition-colors duration-200 hover:text-neutral-300\"\n              >\n                {link.label}\n              </a>\n            ))}\n          </div>\n        </motion.div>\n      </motion.div>\n    </footer>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/footer-13.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"
}
