{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-20",
  "dependencies": [
    "@hugeicons/core-free-icons",
    "@hugeicons/react",
    "framer-motion",
    "motion"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-20.tsx",
      "content": "'use client'\n\nimport { HugeiconsIcon } from '@hugeicons/react';\nimport { ArrowUpRight01Icon, Facebook02Icon, NewTwitterIcon } from '@hugeicons/core-free-icons';\nimport { motion, type Variants } from 'motion/react';\nimport LogoIcon from '@/assets/logo-icon';\n\nconst staggerContainer: Variants = {\n    hidden: { opacity: 0 },\n    visible: {\n        opacity: 1,\n        transition: {\n            staggerChildren: 0.1,\n            delayChildren: 0.05,\n        },\n    },\n};\n\nconst riseItem: Variants = {\n    hidden: { opacity: 0, y: 20, filter: 'blur(4px)' },\n    visible: {\n        opacity: 1,\n        y: 0,\n        filter: 'blur(0px)',\n        transition: { type: 'spring', duration: 0.6, bounce: 0 },\n    },\n};\n\nconst giantTextVariant: 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.8, bounce: 0 },\n    },\n};\n\nexport interface Footer20Props {\n    brandName?: string;\n    description?: string;\n    email?: string;\n    links?: {\n        good: { label: string; href: string }[];\n        boring: { label: string; href: string }[];\n        cool: { label: string; href: string; icon?: React.ReactNode }[];\n    }\n}\n\nexport default function Footer20({\n    brandName = \"Watermelon\",\n    description = \"Craft adaptive systems, enhance results, and launch effortlessly with next-generation AI capabilities.\",\n    email = \"mindora@business.com\",\n    links = {\n        good: [\n            { label: \"Home\", href: \"#\" },\n            { label: \"Manifesto\", href: \"#\" },\n            { label: \"Research\", href: \"#\" },\n            { label: \"Careers\", href: \"#\" },\n        ],\n        boring: [\n            { label: \"Terms\", href: \"#\" },\n            { label: \"Play by the Rules\", href: \"#\" },\n            { label: \"Privacy\", href: \"#\" },\n            { label: \"Help\", href: \"#\" },\n        ],\n        cool: [\n            { label: \"X\", href: \"#\" },\n            { label: \"Instagram\", href: \"#\" },\n            { label: \"Facebook\", href: \"#\", icon: <HugeiconsIcon icon={Facebook02Icon} size={20} />, },\n            { label: \"Twitter\", href: \"#\", icon: <HugeiconsIcon icon={NewTwitterIcon} size={20} />, },\n        ]\n    }\n}: Footer20Props) {\n    return (\n        <motion.footer\n            variants={staggerContainer}\n            initial=\"hidden\"\n            whileInView=\"visible\"\n            viewport={{ once: true, amount: 0.15 }}\n            className=\"relative w-full bg-[#f4f4f2] dark:bg-[#0a0a0a] text-neutral-600 dark:text-neutral-400 font-sans overflow-hidden flex flex-col justify-between transition-colors duration-300 border-t border-neutral-200 dark:border-neutral-800\"\n        >\n            {/* Main content wrapper with dashed borders */}\n            <div className=\"relative z-10 max-w-[1400px] w-full mx-auto px-6 md:px-12 lg:px-16 pt-20 md:pt-32 flex flex-col border-x border-dashed border-neutral-300 dark:border-neutral-800\">\n                \n                {/* Top Grid */}\n                <div className=\"grid grid-cols-1 lg:grid-cols-12 gap-16 lg:gap-8 mb-10 md:mb-16 lg:mb-24\">\n                    \n                    {/* Left Column (Brand info) */}\n                    <motion.div variants={riseItem} className=\"lg:col-span-5 xl:col-span-4 flex flex-col gap-6 md:gap-8\">\n                        {/* Logo */}\n                        <div className=\"flex items-center gap-2 text-neutral-900 dark:text-neutral-100\">\n                           <LogoIcon className='size-8 text-zinc-300' />\n                            <span className=\"font-medium tracking-wide text-lg mt-0.5\">{brandName}</span>\n                        </div>\n\n                        {/* Description */}\n                        <p className=\"text-[15px] leading-relaxed text-neutral-600 dark:text-neutral-400 max-w-[320px]\">\n                            {description}\n                        </p>\n\n                        {/* Email */}\n                        <a href={`mailto:${email}`} className=\"inline-flex items-center gap-2 text-[17px] text-neutral-800 dark:text-neutral-300 hover:text-neutral-900 dark:hover:text-white transition-colors group mt-2\">\n                            {email}\n                            <HugeiconsIcon icon={ArrowUpRight01Icon} size={18} className=\"text-neutral-500 group-hover:text-neutral-900 dark:group-hover:text-white transition-colors\" />\n                        </a>\n                    </motion.div>\n\n                    {/* Right Columns (Links) */}\n                    <div className=\"lg:col-span-7 xl:col-span-8 grid grid-cols-2 sm:grid-cols-3 gap-12 lg:gap-8\">\n                        \n                        {/* The Good */}\n                        <motion.div variants={riseItem} className=\"flex flex-col gap-6\">\n                            <h4 className=\"font-medium text-neutral-900 dark:text-neutral-100\">The Good</h4>\n                            <ul className=\"flex flex-col gap-3\">\n                                {links.good.map((link, idx) => (\n                                    <li key={idx}>\n                                        <a href={link.href} className=\"text-[15px] text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-200 transition-colors\">\n                                            {link.label}\n                                        </a>\n                                    </li>\n                                ))}\n                            </ul>\n                        </motion.div>\n\n                        {/* The Boring */}\n                        <motion.div variants={riseItem} className=\"flex flex-col gap-6\">\n                            <h4 className=\"font-medium text-neutral-900 dark:text-neutral-100\">The Boring</h4>\n                            <ul className=\"flex flex-col gap-3\">\n                                {links.boring.map((link, idx) => (\n                                    <li key={idx}>\n                                        <a href={link.href} className=\"text-[15px] text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-200 transition-colors\">\n                                            {link.label}\n                                        </a>\n                                    </li>\n                                ))}\n                            </ul>\n                        </motion.div>\n\n                        {/* The Cool */}\n                        <motion.div variants={riseItem} className=\"flex flex-col gap-6\">\n                            <h4 className=\"font-medium text-neutral-900 dark:text-neutral-100\">The Cool</h4>\n                            <ul className=\"flex flex-col gap-3\">\n                                {links.cool.filter(link => !link.icon).map((link, idx) => (\n                                    <li key={idx}>\n                                        <a href={link.href} className=\"text-[15px] text-neutral-600 dark:text-neutral-400 hover:text-neutral-900 dark:hover:text-neutral-200 transition-colors\">\n                                            {link.label}\n                                        </a>\n                                    </li>\n                                ))}\n                                {/* Render icons in a row */}\n                                <li className=\"flex items-center gap-4 mt-2\">\n                                    {links.cool.filter(link => link.icon).map((link, idx) => (\n                                        <a key={idx} href={link.href} aria-label={link.label} className=\"text-neutral-500 hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-200 transition-colors\">\n                                            {link.icon}\n                                        </a>\n                                    ))}\n                                </li>\n                            </ul>\n                        </motion.div>\n                    </div>\n                </div>\n\n                {/* Giant Text SVG */}\n                <motion.div variants={giantTextVariant} className=\"w-full flex justify-center md:mt-auto pb-0\">\n                    <svg\n                        className=\"w-full h-auto select-none transition-colors duration-300\"\n                        viewBox={`0 30 ${Math.max(brandName.length * 80, 400)} 80`}\n                        preserveAspectRatio=\"xMidYMid meet\"\n                        aria-label={brandName}\n                    >\n                        <defs>\n                            <linearGradient id=\"watermark-gradient\" x1=\"0%\" y1=\"0%\" x2=\"0%\" y2=\"100%\">\n                                <stop offset=\"0%\" className=\"[stop-color:#FFDEE3] dark:[stop-color:#333333]\" />\n                                <stop offset=\"25%\" className=\"[stop-color:#FFDEE3] dark:[stop-color:#2A2A2A]\" />\n                                <stop offset=\"50%\" className=\"[stop-color:#E6D3F5] dark:[stop-color:#1A1A1A]\" />\n                                <stop offset=\"75%\" className=\"[stop-color:#FFEBEE] dark:[stop-color:#101010]\" />\n                                <stop offset=\"100%\" className=\"[stop-color:#E7D6F3] dark:[stop-color:#0A0A0A]\" />\n                            </linearGradient>\n                        </defs>\n                        <text\n                            x=\"0\"\n                            y=\"130\"\n                            dominantBaseline=\"alphabetic\"\n                            textAnchor=\"start\"\n                            textLength=\"100%\"\n                            lengthAdjust=\"spacing\"\n                            fill=\"url(#watermark-gradient)\"\n                            className=\"font-semibold tracking-tighter\"\n                            fontSize=\"140\"\n                        >\n                            {brandName}\n                        </text>\n                    </svg>\n                </motion.div>\n            </div>\n        </motion.footer>\n    );\n}",
      "type": "registry:ui",
      "target": "components/ui/footer-20.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"
}
