{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-02",
  "title": "Hero — Split with Image",
  "author": "SAASTRO <https://saastro.io>",
  "description": "Split hero with content on the left and image or screenshot on the right. Zero-JS Astro component.",
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/default/blocks/hero-02.astro",
      "content": "---\n/**\n * hero-02 — Hero partido: contenido a la izquierda, imagen/screenshot a la\n * derecha. Bloque Astro puro: cero JS, cero dependencias.\n */\ninterface Props {\n  badge?: string;\n  title: string;\n  description: string;\n  primaryCta: { label: string; href: string };\n  secondaryCta?: { label: string; href: string };\n  imageSrc?: string;\n  imageAlt?: string;\n  class?: string;\n}\nconst {\n  badge,\n  title,\n  description,\n  primaryCta,\n  secondaryCta,\n  imageSrc,\n  imageAlt = '',\n  class: className,\n} = 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-sm 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 btnPrimary = 'bg-primary text-primary-foreground hover:bg-primary/80';\nconst btnOutline =\n  'border-border bg-background hover:bg-muted hover:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50';\nconst badgeCls =\n  'mb-4 inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent bg-secondary px-2 py-0.5 text-xs font-medium whitespace-nowrap text-secondary-foreground';\n---\n\n<section class:list={['w-full px-6 py-24 md:py-32', className]}>\n  <div class=\"mx-auto grid max-w-6xl items-center gap-12 lg:grid-cols-2\">\n    <div>\n      {badge && <span class={badgeCls}>{badge}</span>}\n      <h1 class=\"text-4xl font-bold tracking-tight sm:text-5xl\">{title}</h1>\n      <p class=\"mt-6 text-lg text-muted-foreground\">{description}</p>\n      <div class=\"mt-10 flex items-center gap-4\">\n        <a href={primaryCta.href} class:list={[btn, btnPrimary]}>{primaryCta.label}</a>\n        {secondaryCta && (\n          <a href={secondaryCta.href} class:list={[btn, btnOutline]}>{secondaryCta.label}</a>\n        )}\n      </div>\n    </div>\n    <div class=\"relative aspect-video overflow-hidden rounded-xl border bg-muted\">\n      {imageSrc ? (\n        <img src={imageSrc} alt={imageAlt} class=\"h-full w-full object-cover\" />\n      ) : (\n        <div class=\"flex h-full w-full items-center justify-center bg-gradient-to-br from-primary/20 to-primary/5\">\n          <span class=\"text-4xl text-muted-foreground/30\">Screenshot</span>\n        </div>\n      )}\n    </div>\n  </div>\n</section>\n",
      "type": "registry:component",
      "target": "@components/blocks/hero-02.astro"
    }
  ],
  "meta": {
    "group": "Hero",
    "iframeHeight": "760px"
  },
  "docs": "Astro component — zero JS, no React required. Default import: `import Hero02 from '@/components/blocks/hero-02.astro'`. Props: badge?, title, description, primaryCta, secondaryCta?, imageSrc?, imageAlt?, class?.",
  "categories": [
    "hero",
    "landing"
  ],
  "type": "registry:block"
}