{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-8",
  "dependencies": [
    "framer-motion",
    "motion",
    "react-icons"
  ],
  "registryDependencies": [
    "separator"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-8.tsx",
      "content": "import { type ReactNode } from 'react';\nimport { motion, type Variants } from 'motion/react';\nimport { Separator } from '@/components/ui/separator';\nimport { FaArrowRight } from 'react-icons/fa6';\n\nexport interface Footer8Link {\n  label: string;\n  href: string;\n}\n\nexport interface Footer8LinkColumn {\n  links: Footer8Link[];\n}\n\nexport interface Footer8PersonInfo {\n  name: string;\n  role: string;\n  location: string;\n}\n\nexport interface Footer8Props {\n  /** Small heading above the CTA */\n  tagline?: string;\n  /** The main CTA email address */\n  email?: string;\n  /** The href for the email CTA (e.g. mailto:) */\n  emailHref?: string;\n  /** Icon shown next to the email CTA */\n  emailIcon?: ReactNode;\n  /** Background image URL */\n  backgroundImage?: string;\n  /** Person/brand info displayed below separator on the left */\n  personInfo?: Footer8PersonInfo;\n  /** Navigation link columns displayed on the right */\n  linkColumns?: Footer8LinkColumn[];\n  /** Copyright text at the bottom */\n  copyright?: string;\n}\n\nconst containerVariants: Variants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: {\n      staggerChildren: 0.15,\n      delayChildren: 0.1,\n    },\n  },\n};\n\nconst slideUpVariants: Variants = {\n  hidden: { opacity: 0, y: 30, filter: 'blur(8px)' },\n  visible: {\n    opacity: 1,\n    y: 0,\n    filter: 'blur(0px)',\n    transition: { type: 'spring', duration: 0.9, bounce: 0.2 },\n  },\n};\n\nconst separatorVariants: Variants = {\n  hidden: { opacity: 0, scaleX: 0, originX: 0 },\n  visible: {\n    opacity: 1,\n    scaleX: 1,\n    transition: { type: 'spring', duration: 0.9, bounce: 0 },\n  },\n};\n\nconst fadeSlideVariants: Variants = {\n  hidden: { opacity: 0, x: -20 },\n  visible: {\n    opacity: 1,\n    x: 0,\n    transition: { type: 'spring', duration: 0.8, bounce: 0 },\n  },\n};\n\nconst fadeVariants: Variants = {\n  hidden: { opacity: 0 },\n  visible: {\n    opacity: 1,\n    transition: { duration: 0.6 },\n  },\n};\n\nexport function Footer8({\n  tagline = \"Let's collaborate\",\n  email = 'hello@novastudio.com',\n  emailHref = 'mailto:hello@novastudio.com',\n  emailIcon,\n  backgroundImage,\n  personInfo = {\n    name: 'Elena Vasquez',\n    role: 'Creative Director',\n    location: 'Brooklyn, NY',\n  },\n  linkColumns = [],\n  copyright = '© 2026 novastudio',\n}: Footer8Props) {\n  return (\n    <footer className=\"relative w-full py-12\">\n      {backgroundImage && (\n        <img\n          src={backgroundImage}\n          alt=\"\"\n          aria-hidden=\"true\"\n          className=\"pointer-events-none absolute inset-0 h-full w-full object-cover select-none\"\n        />\n      )}\n\n      <div className=\"pointer-events-none absolute inset-0 bg-black/20\" />\n\n      <motion.div\n        variants={containerVariants}\n        initial=\"hidden\"\n        whileInView=\"visible\"\n        viewport={{ once: true, amount: 0.3 }}\n        className=\"relative z-10 mx-auto flex min-h-[520px] w-full max-w-7xl flex-col justify-between px-6 py-10 sm:min-h-[560px] sm:px-10 md:min-h-[600px] md:px-16 lg:px-20\"\n      >\n        <motion.div variants={slideUpVariants} className=\"flex flex-1 flex-col justify-center gap-4 pt-8 sm:gap-5 md:gap-6\">\n          {tagline && (\n            <p className=\"text-sm font-normal text-white/90 sm:text-lg\">\n              {tagline}\n            </p>\n          )}\n        </motion.div>\n\n        <div className=\"flex flex-col gap-6 pb-2 sm:gap-6\">\n          <motion.a\n            variants={slideUpVariants}\n            href={emailHref}\n            className=\"group flex w-full items-center justify-between gap-3 sm:gap-4 md:gap-5\"\n          >\n            <div className=\"flex w-full items-center overflow-hidden\">\n              <svg\n                className=\"h-auto w-full transition-colors duration-300 select-none\"\n                viewBox={`0 0 ${Math.max(email.length * 70, 400)} 160`}\n                preserveAspectRatio=\"xMidYMid meet\"\n                aria-label={email}\n              >\n                <text\n                  x=\"0\"\n                  y=\"130\"\n                  dominantBaseline=\"alphabetic\"\n                  textAnchor=\"start\"\n                  textLength=\"100%\"\n                  lengthAdjust=\"spacing\"\n                  className=\"fill-white/90 font-sans font-medium tracking-normal transition-colors group-hover:fill-white\"\n                  fontSize=\"140\"\n                >\n                  {email}\n                </text>\n              </svg>\n            </div>\n            <span className=\"flex shrink-0 items-center justify-center text-white transition-transform duration-300 group-hover:translate-x-4\">\n              {emailIcon || (\n                <FaArrowRight className=\"h-6 w-6 sm:h-8 sm:w-8 md:h-10 md:w-10 lg:h-12 lg:w-12\" />\n              )}\n            </span>\n          </motion.a>\n          \n          <motion.div variants={separatorVariants}>\n            <Separator className=\"bg-white/30\" />\n          </motion.div>\n          \n          <div className=\"flex flex-col gap-8 sm:gap-10 lg:flex-row lg:items-start lg:justify-between\">\n            {personInfo && (\n              <motion.div variants={fadeSlideVariants} className=\"flex flex-wrap items-center gap-1.5 text-sm text-white/80 sm:gap-2\">\n                <span className=\"font-medium text-white\">\n                  {personInfo.name}\n                </span>\n                <span className=\"text-white/50\">•</span>\n                <span>{personInfo.role}</span>\n                <span className=\"text-white/50\">•</span>\n                <span>{personInfo.location}</span>\n              </motion.div>\n            )}\n\n            {linkColumns.length > 0 && (\n              <div className=\"flex flex-wrap gap-12 sm:gap-16 lg:gap-20\">\n                {linkColumns.map((column, colIndex) => (\n                  <motion.ul variants={fadeSlideVariants} key={colIndex} className=\"flex flex-col gap-2.5\">\n                    {column.links.map((link, linkIndex) => (\n                      <li key={linkIndex}>\n                        <a\n                          href={link.href}\n                          className=\"text-sm text-white/80 transition-colors duration-200 hover:text-white\"\n                        >\n                          {link.label}\n                        </a>\n                      </li>\n                    ))}\n                  </motion.ul>\n                ))}\n              </div>\n            )}\n          </div>\n\n          {copyright && (\n            <motion.p variants={fadeVariants} className=\"mt-4 text-xs text-white/60 sm:mt-6 sm:text-sm\">\n              {copyright}\n            </motion.p>\n          )}\n        </div>\n      </motion.div>\n    </footer>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/footer-8.tsx"
    }
  ],
  "type": "registry:ui"
}
