{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero7",
  "title": "Centered Hero with Media",
  "description": "Centered hero with optional badge, heading, description, dual action buttons, and a featured image below. Perfect for product launches and landing pages.",
  "dependencies": [
    "clsx",
    "tailwind-merge",
    "class-variance-authority",
    "@radix-ui/react-slot"
  ],
  "registryDependencies": [
    "button",
    "badge"
  ],
  "files": [
    {
      "path": "registry/hero7/hero7.tsx",
      "content": "\"use client\";\n\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport Link from \"next/link\";\nimport { cn } from \"@/lib/utils\";\n\ninterface Hero7Props {\n  badge?: {\n    label: string;\n    variant?: \"default\" | \"secondary\" | \"outline\";\n  };\n  heading: string;\n  description?: string;\n  buttons?: {\n    label: string;\n    href: string;\n    variant?: \"default\" | \"outline\";\n  }[];\n  image?: {\n    src: string;\n    alt: string;\n  };\n  className?: string;\n}\n\nexport const hero7Demo: Hero7Props = {\n  badge: { label: \"New Release\", variant: \"secondary\" },\n  heading: \"Build stunning websites with easy tools\",\n  description:\n    \"Turn ideas into beautiful, professional sites using our intuitive no-code platform, where anyone can easily drag, drop, and customize templates to bring creative visions to life without coding.\",\n  buttons: [\n    { label: \"Get Started\", href: \"https://beste.co\", variant: \"default\" },\n    { label: \"Watch Demo\", href: \"https://beste.co\", variant: \"outline\" },\n  ],\n  image: {\n    src: \"https://oud.pics/m/4b65-89e7-f905b2c1a789/b9bd4cf2-1dc4.png\",\n    alt: \"Hero banner\",\n  },\n};\n\nexport function Hero7({ badge, heading, description, buttons, image, className }: Hero7Props) {\n  return (\n    <section className={cn(\"py-16 md:py-24 w-full\", className)}>\n      <div className=\"mx-auto max-w-6xl px-6\">\n        <div className=\"flex flex-col items-center text-center\">\n          <div className=\"flex flex-col items-center justify-center pb-8 md:pb-10\">\n            {badge && (\n              <div className=\"mb-6\">\n                <Badge variant={badge.variant ?? \"secondary\"}>{badge.label}</Badge>\n              </div>\n            )}\n\n            {heading && (\n              <h1 className=\"mb-6 text-4xl font-semibold text-balance md:text-6xl max-w-4xl mx-auto\">\n                {heading}\n              </h1>\n            )}\n\n            {description && (\n              <p className=\"mb-10 max-w-2xl text-lg text-muted-foreground text-balance md:mb-12\">\n                {description}\n              </p>\n            )}\n\n            {buttons && buttons.length > 0 && (\n              <div className=\"flex flex-wrap justify-center gap-4\">\n                {buttons.map((button, index) => (\n                  <Button key={index} variant={button.variant ?? \"default\"} size=\"lg\" asChild>\n                    <Link href={button.href ?? \"#\"}>{button.label}</Link>\n                  </Button>\n                ))}\n              </div>\n            )}\n          </div>\n\n          {image && (\n            <div className=\"w-full max-w-4xl px-4\">\n              <img\n                src={image.src}\n                alt={image.alt}\n                width={1200}\n                height={800}\n                className=\"w-full rounded-lg\"\n              />\n            </div>\n          )}\n        </div>\n      </div>\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/beste/block/hero7.tsx"
    }
  ],
  "type": "registry:block"
}