{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "footer-11",
  "dependencies": [
    "react-icons"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/footer-11.tsx",
      "content": "import LogoIcon from '@/assets/logo-icon';\nimport * as React from 'react';\nimport {\n  FaCircle,\n  FaArrowUp,\n  FaArrowRight,\n} from 'react-icons/fa6';\n\nexport interface Footer11NavLink {\n  label: string;\n  href: string;\n}\n\nexport interface Footer11Props {\n  /** Small tagline badge text displayed at top-left */\n  badgeText?: string;\n  /** Large heading text in the upper section */\n  heading?: string;\n  /** Label above the contact email */\n  contactLabel?: string;\n  /** Contact email address displayed */\n  contactEmail?: string;\n  /** Href for the contact email link */\n  contactEmailHref?: string;\n  /** Navigation links displayed at bottom-right of upper section */\n  navLinks?: Footer11NavLink[];\n  /** Brand name displayed in the bottom section */\n  brandName?: string;\n  /** Custom brand logo element (SVG or ReactNode) */\n  brandLogo?: React.ReactNode;\n  /** Callback when scroll to top is clicked */\n  onScrollToTop?: () => void;\n}\n\nexport function Footer11({\n  badgeText = 'Loved by Creators',\n  heading = 'Want to collaborate with us, explore our tools or just curious to know more?',\n  contactLabel = 'Reach out at:',\n  contactEmail = 'hello@watermelon.sh',\n  contactEmailHref = 'mailto:hello@watermelon.sh',\n  navLinks = [\n    { label: 'Products', href: '#' },\n    { label: 'Company', href: '#' },\n    { label: 'Pricing', href: '#' },\n    { label: 'Contact', href: '#' },\n  ],\n  brandName = 'watermelon.io',\n  brandLogo,\n  onScrollToTop,\n}: Footer11Props) {\n  const handleScrollToTop = () => {\n    if (onScrollToTop) {\n      onScrollToTop();\n    } else {\n      window.scrollTo({ top: 0, behavior: 'smooth' });\n    }\n  };\n\n  return (\n    <footer className=\"w-full overflow-hidden\">\n      <div className=\"relative bg-zinc-950 px-6 pt-8 pb-10 sm:px-10 md:px-16 lg:px-20\">\n        <div className=\"flex items-center justify-between\">\n          <div className=\"inline-flex items-center gap-2\">\n            <FaCircle className=\"h-2 w-2 fill-red-500\" />\n            <span className=\"text-md font-light text-zinc-50\">{badgeText}</span>\n          </div>\n\n          <button\n            onClick={handleScrollToTop}\n            className=\"group text-md inline-flex items-center gap-1.5 font-light tracking-wide text-zinc-200 transition-colors duration-200 hover:text-zinc-200\"\n          >\n            <span className=\"\">Scroll to Top</span>\n            <FaArrowUp className=\"size-4 fill-zinc-200 transition-all duration-200 group-hover:fill-zinc-200\" />\n          </button>\n        </div>\n\n        <div className=\"mt-8 max-w-lg sm:mt-10 md:mt-12\">\n          <h2 className=\"text-2xl leading-snug font-light tracking-tight text-zinc-100 sm:text-3xl md:text-4xl\">\n            {heading}\n          </h2>\n        </div>\n\n        <div className=\"mt-20 flex flex-col gap-8 sm:mt-24 md:mt-28 lg:flex-row lg:items-end lg:justify-between\">\n          <div className=\"flex flex-col gap-1.5\">\n            <span className=\"text-lg font-light tracking-wide text-zinc-400\">\n              {contactLabel}\n            </span>\n            <a\n              href={contactEmailHref}\n              className=\"group inline-flex items-center gap-2 text-2xl font-medium text-zinc-200 transition-colors duration-200 hover:text-white\"\n            >\n              <span>{contactEmail}</span>\n              <FaArrowRight className=\"size-6 fill-zinc-200 transition-all duration-200 group-hover:fill-zinc-200\" />\n            </a>\n          </div>\n\n          <nav className=\"flex flex-wrap items-center gap-6 sm:gap-8 lg:gap-10\">\n            {navLinks.map((link) => (\n              <a\n                key={link.label}\n                href={link.href}\n                className=\"text-md font-medium text-zinc-200 transition-colors duration-200 hover:text-zinc-100\"\n              >\n                {link.label}\n              </a>\n            ))}\n          </nav>\n        </div>\n      </div>\n\n      <div className=\"relative bg-zinc-950 px-6 pt-10 pb-12 sm:px-10 md:px-16 lg:px-20 lg:pt-14 lg:pb-16\">\n        <div className=\"pointer-events-none absolute right-0 bottom-0 h-full w-3/4 blur-lg sm:w-2/3\">\n          <div className=\"absolute right-0 bottom-0 h-full w-full bg-gradient-to-tl from-red-500/80 via-red-800/30 to-transparent\" />\n          <div className=\"absolute -right-20 -bottom-20 h-80 w-80 rounded-full bg-red-600/40 blur-3xl sm:h-96 sm:w-96\" />\n          <div className=\"absolute right-1/4 bottom-0 h-64 w-64 rounded-full bg-red-800/20 blur-3xl\" />\n        </div>\n\n\n        <div className=\"relative z-10 flex w-full flex-col items-center justify-center gap-6 overflow-hidden sm:flex-row sm:gap-8\">\n          <div className=\"hidden shrink-0 sm:block\">\n            {brandLogo || (\n              <LogoIcon className=\"size-20  text-white/20 lg:size-32\" />\n            )}\n          </div>\n\n          <svg\n            className=\"h-auto w-full flex-1 select-none\"\n            viewBox={`0 0 ${Math.max(brandName.length * 90, 400)} 100`}\n            preserveAspectRatio=\"xMidYMid meet\"\n            aria-label={brandName}\n          >\n            <text\n              x=\"0%\"\n              y=\"100%\"\n              dominantBaseline=\"alphabetic\"\n              textAnchor=\"start\"\n              textLength=\"90%\"\n              lengthAdjust=\"spacing\"\n              className=\"fill-white/20 font-sans font-bold tracking-tight\"\n              fontSize=\"140\"\n            >\n              {brandName}\n            </text>\n          </svg>\n        </div>\n      </div>\n    </footer>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/footer-11.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"
}
