{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-28",
  "dependencies": [
    "@hugeicons/core-free-icons",
    "@hugeicons/react",
    "lucide-react",
    "motion"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/hero-28.tsx",
      "content": "import { useState } from \"react\";\nimport { motion } from \"motion/react\";\nimport { HugeiconsIcon } from \"@hugeicons/react\";\nimport {\n  ArrowDown01Icon,\n  StarIcon,\n  Menu01Icon,\n  Cancel01Icon,\n} from \"@hugeicons/core-free-icons\";\nimport { Button } from \"@/components/ui/button\";\nimport LogoIcon from \"@/assets/logo-icon\";\n\nconst PLACEHOLDER_AVATARS = [\n  \"https://assets.watermelon.sh/wm_ben.png\",\n  \"https://assets.watermelon.sh/wm_alex.png\",\n  \"https://assets.watermelon.sh/wm_olivia.png\",\n  \"https://assets.watermelon.sh/wm_mia.png\",\n];\n\ninterface Hero28Props {\n  titleLine1Start?: string;\n  titleLine1Highlight?: string;\n  titleLine1End?: string;\n  titleLine2?: string;\n  subtitle?: string;\n  primaryActionText?: string;\n  secondaryActionText?: string;\n  socialProofText?: string;\n  backgroundImage?: string;\n}\n\nexport default function Hero28({\n  titleLine1Start = \"Ready to\",\n  titleLine1Highlight = \"scale\",\n  titleLine1End = \"your\",\n  titleLine2 = \"brand with paid ads?\",\n  subtitle = \"If you want to achieve ground-breaking growth with increased sales\\nand profitability with paid ads, then you're in the right place.\",\n  primaryActionText = \"Book a call\",\n  secondaryActionText = \"Learn more\",\n  socialProofText = \"200+ Brands Scaled\",\n  backgroundImage = \"https://assets.watermelon.sh/hero-28.webp\",\n}: Hero28Props) {\n  const [activeNav, setActiveNav] = useState(\"Products\");\n  const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);\n  const navLinks = [\"Products\", \"Solutions\", \"About\", \"Features\", \"Support\"];\n\n  return (\n    <section className=\"relative flex min-h-dvh w-full flex-col items-center overflow-hidden bg-[#EAE8DE]\">\n      {/* Background Image - light and misty, no dark overlay */}\n      <div\n        className=\"absolute inset-0 z-0 bg-cover bg-center bg-no-repeat opacity-90\"\n        style={{ backgroundImage: `url(${backgroundImage})` }}\n      />\n\n      {/* Floating Navbar */}\n      <motion.header\n        initial={{ opacity: 0, y: -20 }}\n        animate={{ opacity: 1, y: 0 }}\n        transition={{ duration: 0.8, ease: \"easeOut\" }}\n        className=\"relative z-50 mt-6 flex h-16 w-[calc(100%-2rem)] max-w-7xl items-center justify-between rounded-[20px] bg-[#EAE8DD]/95 px-4 shadow-sm backdrop-blur-md sm:px-6 md:w-[calc(100%-3rem)] md:px-8\"\n      >\n        {/* Logo */}\n        <div className=\"flex items-center justify-center gap-2\">\n          {/* Using a stylized SVG to match the floral logo in the reference, while keeping Watermelon branding accessible */}\n          <LogoIcon className=\"size-8 text-[#FF745E]\" />\n          <span className=\"text-lg font-medium tracking-wide text-black\">\n            Watermelon\n          </span>\n        </div>\n\n        {/* Desktop Navigation */}\n        <nav className=\"hidden items-center gap-1 md:flex\">\n          {navLinks.map((link) => (\n            <button\n              key={link}\n              onClick={() => setActiveNav(link)}\n              className={`relative rounded-full px-5 py-2 text-sm font-medium transition-colors ${\n                activeNav === link\n                  ? \"text-neutral-900\"\n                  : \"text-neutral-700 hover:text-neutral-900\"\n              }`}\n            >\n              {activeNav === link && (\n                <motion.div\n                  layoutId=\"activeHero28Nav\"\n                  className=\"absolute inset-0 -z-10 rounded-full bg-white/60 shadow-sm\"\n                  transition={{ type: \"spring\", stiffness: 400, damping: 30 }}\n                />\n              )}\n              {link}\n            </button>\n          ))}\n        </nav>\n\n        {/* Right Actions */}\n        <div className=\"flex items-center gap-2 sm:gap-4\">\n          <Button\n            size=\"sm\"\n            className=\"h-9 rounded-xl bg-[#E06A59] px-4 text-xs font-medium text-white transition-all hover:bg-[#c95c4b] hover:shadow-md sm:h-10 sm:px-6 sm:text-sm\"\n          >\n            Learn More\n          </Button>\n          <button\n            onClick={() => setIsMobileMenuOpen(!isMobileMenuOpen)}\n            className=\"flex size-8 items-center justify-center rounded-full text-neutral-800 transition-colors hover:bg-neutral-200 sm:size-10 md:hidden\"\n          >\n            <HugeiconsIcon\n              icon={isMobileMenuOpen ? Cancel01Icon : Menu01Icon}\n              className=\"size-5 sm:size-6\"\n            />\n          </button>\n        </div>\n\n        {/* Mobile Navigation Dropdown */}\n        {isMobileMenuOpen && (\n          <motion.div\n            initial={{ opacity: 0, y: -10 }}\n            animate={{ opacity: 1, y: 0 }}\n            className=\"absolute top-full left-0 mt-2 w-full overflow-hidden rounded-[20px] bg-[#EAE8DD]/95 shadow-lg backdrop-blur-md md:hidden\"\n          >\n            <nav className=\"flex flex-col p-2\">\n              {navLinks.map((link) => (\n                <button\n                  key={link}\n                  onClick={() => {\n                    setActiveNav(link);\n                    setIsMobileMenuOpen(false);\n                  }}\n                  className={`rounded-xl px-4 py-3 text-left text-sm font-medium transition-colors ${\n                    activeNav === link\n                      ? \"bg-white/60 text-neutral-900 shadow-sm\"\n                      : \"text-neutral-700 hover:bg-white/40 hover:text-neutral-900\"\n                  }`}\n                >\n                  {link}\n                </button>\n              ))}\n            </nav>\n          </motion.div>\n        )}\n      </motion.header>\n\n      {/* Main Content */}\n      <div className=\"relative z-10 container mt-16 flex flex-1 flex-col items-center justify-center px-4 pb-40 text-center md:mt-0\">\n        <motion.div\n          initial={{ opacity: 0, y: 30 }}\n          animate={{ opacity: 1, y: 0 }}\n          transition={{ duration: 1, ease: [0.16, 1, 0.3, 1], delay: 0.1 }}\n          className=\"mx-auto flex w-full max-w-4xl flex-col items-center\"\n        >\n          {/* Social Proof */}\n          <div className=\"mb-8 flex flex-col items-center gap-4 sm:flex-row sm:gap-6\">\n            <div className=\"flex -space-x-3\">\n              {PLACEHOLDER_AVATARS.map((avatar, index) => (\n                <img\n                  key={index}\n                  src={avatar}\n                  alt=\"Customer avatar\"\n                  className=\"size-10 rounded-full border-2 border-[#EAE8DE] object-cover shadow-sm\"\n                />\n              ))}\n            </div>\n            <div className=\"flex flex-col items-center sm:items-start\">\n              <div className=\"flex items-center gap-1 text-[#E36C59]\">\n                {[...Array(5)].map((_, i) => (\n                  <HugeiconsIcon\n                    key={i}\n                    icon={StarIcon}\n                    className=\"size-4 fill-current\"\n                  />\n                ))}\n              </div>\n              <span className=\"mt-0.5 text-sm font-medium text-neutral-800\">\n                {socialProofText}\n              </span>\n            </div>\n          </div>\n\n          {/* Title */}\n          <h1 className=\"mb-6 text-center text-4xl font-medium tracking-tight text-neutral-900 sm:text-5xl md:text-7xl lg:text-[80px] lg:leading-[1.1]\">\n            {titleLine1Start}{\" \"}\n            <span className=\"font-serif italic\">{titleLine1Highlight}</span>{\" \"}\n            {titleLine1End} <br className=\"hidden md:block\" />\n            {titleLine2}\n          </h1>\n\n          {/* Subtitle */}\n          <p className=\"mx-auto mb-10 max-w-3xl text-base leading-relaxed whitespace-pre-line text-neutral-700 sm:text-lg md:text-xl\">\n            {subtitle}\n          </p>\n\n          {/* Actions */}\n          <div className=\"flex w-full flex-col items-center justify-center gap-4 sm:w-auto sm:flex-row sm:gap-6\">\n            <Button\n              size=\"lg\"\n              className=\"h-14 w-full rounded-[14px] bg-[#E06A59] px-8 text-base font-medium text-white transition-all hover:bg-[#c95c4b] hover:shadow-lg sm:w-auto\"\n            >\n              {primaryActionText}\n            </Button>\n\n            <Button\n              size=\"lg\"\n              variant=\"outline\"\n              className=\"h-14 w-full rounded-[14px] border-2 border-white/80 bg-[#F5F3E7] px-8 text-base font-medium text-neutral-900 shadow-sm transition-all hover:bg-white sm:w-auto dark:border-white/80 dark:bg-[#F5F3E7]\"\n            >\n              {secondaryActionText}\n            </Button>\n          </div>\n        </motion.div>\n      </div>\n\n      {/* Bottom Scroll Indicator */}\n      <motion.div\n        initial={{ opacity: 0, y: 10 }}\n        animate={{ opacity: 1, y: 0 }}\n        transition={{ duration: 1, delay: 0.8, ease: \"easeOut\" }}\n        className=\"absolute bottom-8 left-1/2 flex -translate-x-1/2 flex-col items-center gap-2 text-neutral-800\"\n      >\n        <span className=\"text-sm font-medium tracking-wide\">\n          Scroll to Discover\n        </span>\n        <HugeiconsIcon icon={ArrowDown01Icon} className=\"size-4\" />\n      </motion.div>\n    </section>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/hero-28.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"
}
