{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-03",
  "title": "Hero — Gradient",
  "author": "SAASTRO <https://saastro.io>",
  "description": "Hero with gradient background, floating badge, and a single prominent CTA. Zero-JS Astro component.",
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/default/blocks/hero-03.astro",
      "content": "---\n/**\n * hero-03 — Hero con fondo degradado, badge flotante y un único CTA\n * prominente. Bloque Astro puro: cero JS, cero dependencias.\n */\ninterface Props {\n  badge?: string;\n  title: string;\n  description: string;\n  cta: { label: string; href: string };\n  class?: string;\n}\nconst { badge, title, description, cta, class: className } = Astro.props;\n\nconst btn =\n  'inline-flex h-9 shrink-0 items-center justify-center gap-1.5 rounded-lg border border-transparent px-2.5 text-base font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:translate-y-px';\nconst btnSecondary = 'bg-secondary text-secondary-foreground hover:bg-secondary/80';\nconst badgeOutline =\n  'mb-4 inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-white/30 bg-white/10 px-2 py-0.5 text-xs font-medium whitespace-nowrap text-white';\n---\n\n<section class:list={['relative w-full overflow-hidden px-6 py-24 md:py-32 lg:py-40', className]}>\n  <div class=\"absolute inset-0 bg-gradient-to-br from-primary via-primary/80 to-violet-600\"></div>\n  <div class=\"absolute inset-0 bg-[radial-gradient(ellipse_at_center,transparent_20%,rgba(0,0,0,0.3))]\"></div>\n  <div class=\"relative mx-auto max-w-3xl text-center\">\n    {badge && <span class={badgeOutline}>{badge}</span>}\n    <h1 class=\"text-4xl font-bold tracking-tight text-white sm:text-5xl lg:text-6xl\">{title}</h1>\n    <p class=\"mt-6 text-lg text-white/80 sm:text-xl\">{description}</p>\n    <div class=\"mt-10\">\n      <a href={cta.href} class:list={[btn, btnSecondary]}>{cta.label}</a>\n    </div>\n  </div>\n</section>\n",
      "type": "registry:component",
      "target": "@components/blocks/hero-03.astro"
    }
  ],
  "meta": {
    "group": "Hero",
    "iframeHeight": "700px"
  },
  "docs": "Astro component — zero JS, no React required. Default import: `import Hero03 from '@/components/blocks/hero-03.astro'`. Props: badge?, title, description, cta {label, href}, class?.",
  "categories": [
    "hero",
    "landing"
  ],
  "type": "registry:block"
}