{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A split hero with figures, faces, small cards or a quote under the lead, beside a picture, a floating card, a picture grid or plan cards.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/**\n * A split hero: a badge, the heading, a lead, an extra under it and one or two actions, beside the media. Axes:\n * extra (stats: three figures, avatars: faces and a proof line, minis: two small feature cards, quote: a quote\n * over three figures, none), media (picture, card: a floating card on the picture, grid: four pictures with\n * captions, plans: two plan cards on the picture), mediaSide, tone.\n */\nimport { type JSX } from \"solid-js\";\nimport { ActionGroup } from \"../components/action-group\";\nimport { HeroSplitExtras } from \"../components/hero-split-extras\";\nimport { HeroSplitMedia } from \"../components/hero-split-media\";\nimport { SectionFrame } from \"../components/section-frame\";\nimport type { HeroContent } from \"./hero-split.types\";\nimport type { Stat } from \"./stats-band.types\";\nimport type { Feature } from \"./feature-grid.types\";\nimport type { Quote } from \"./testimonial-grid.types\";\nimport type { OfferCard } from \"./store-hero.types\";\nimport type { Plan } from \"./pricing-card.types\";\nimport type { LinkActions } from \"./error-page.types\";\n\nexport type HeroSplitProps = {\n  id: string;\n  title: string;\n  lead?: string;\n  badge?: string;\n  level?: 1 | 2;\n  actions: LinkActions;\n  content: HeroContent;\n  extra?: \"stats\" | \"avatars\" | \"minis\" | \"quote\" | \"none\";\n  media?: \"picture\" | \"card\" | \"grid\" | \"plans\";\n  mediaSide?: \"end\" | \"start\";\n  tone?: \"default\" | \"muted\";\n  image?: string;\n  imageAlt?: string;\n  landmarkLabel?: string;\n};\n\nexport function HeroSplit({\n  id,\n  title,\n  lead = \"\",\n  badge = \"\",\n  level = 1,\n  actions,\n  content,\n  extra = \"stats\",\n  media = \"picture\",\n  mediaSide = \"end\",\n  tone = \"default\",\n  image,\n  imageAlt,\n  landmarkLabel,\n}: HeroSplitProps) {\n  return (\n    <SectionFrame\n      id={id}\n      title={title}\n      lead={lead}\n      heading={{ badge, level }}\n      layout=\"split\"\n      media={{ show: true, side: mediaSide }}\n      tone={tone}\n      landmarkLabel={landmarkLabel}\n      aside={(\n        <HeroSplitMedia content={content} alt={(imageAlt ? imageAlt : title)} image={image} media={media} />\n      )}\n    >\n      <HeroSplitExtras content={content} extra={extra} />\n      <ActionGroup\n        primary={actions.cta}\n        primaryHref={actions.href}\n        secondary={((actions.mode === \"two\") ? actions.secondary : undefined)}\n        secondaryHref={actions.secondaryHref}\n      />\n    </SectionFrame>\n  );\n}\n",
      "path": "blocks/hero-split.tsx",
      "target": "blocks/hero-split.tsx"
    },
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n\nimport type { Stat } from \"./stats-band.types\";\nimport type { Feature } from \"./feature-grid.types\";\nimport type { Quote } from \"./testimonial-grid.types\";\nimport type { OfferCard } from \"./store-hero.types\";\nimport type { Plan } from \"./pricing-card.types\";\n\nexport type HeroContent = {\n  stats: Stat[];\n  features: Feature[];\n  people: Quote[];\n  plans: Plan[];\n  proof: string;\n  card: OfferCard;\n};\n",
      "path": "blocks/hero-split.types.ts",
      "target": "blocks/hero-split.types.ts"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "hero",
    "kind": "block",
    "tags": [
      "solid",
      "block"
    ]
  },
  "name": "hero-split",
  "registryDependencies": [
    "action-group",
    "error-page",
    "feature-grid",
    "hero-split-extras",
    "hero-split-media",
    "pricing-card",
    "section-frame",
    "stats-band",
    "store-hero",
    "testimonial-grid",
    "utils"
  ],
  "runtime": "solid",
  "title": "Hero Split",
  "type": "registry:block"
}
