{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A call to action with logos, features, figures, icon rows or delivery zones; centered or beside a picture.",
  "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 call to action with proof: a badge, the heading, a lead, the proof, one or two actions and an optional note.\n * Axes: layout (center: everything centred, the proof above the actions; split: beside a picture), proof (logos,\n * features, stats, rows, zones), mediaSide, tone.\n */\nimport { type ReactNode } from \"react\";\nimport { Text } from \"../compose\";\nimport { ActionGroup } from \"../components/action-group\";\nimport { CtaProofItems } from \"../components/cta-proof-items\";\nimport { MediaFrame } from \"../components/media-frame\";\nimport { SectionFrame } from \"../components/section-frame\";\nimport type { CtaContent } from \"./cta-proof.types\";\nimport type { Logo } from \"./logo-cloud.types\";\nimport type { Feature } from \"./feature-grid.types\";\nimport type { Stat } from \"./stats-band.types\";\nimport type { Zone } from \"./zone-table.types\";\nimport type { LinkActions } from \"./error-page.types\";\n\nexport type CtaProofProps = {\n  id: string;\n  title: string;\n  lead?: string;\n  badge?: string;\n  actions: LinkActions;\n  content: CtaContent;\n  note?: string;\n  layout?: \"center\" | \"split\";\n  proof?: \"logos\" | \"features\" | \"stats\" | \"rows\" | \"zones\";\n  mediaSide?: \"end\" | \"start\";\n  tone?: \"default\" | \"muted\";\n  image?: string;\n  imageAlt?: string;\n  landmarkLabel?: string;\n};\n\nexport function CtaProof({\n  id,\n  title,\n  lead = \"\",\n  badge = \"\",\n  actions,\n  content,\n  note = \"\",\n  layout = \"center\",\n  proof = \"stats\",\n  mediaSide = \"end\",\n  tone = \"default\",\n  image,\n  imageAlt,\n  landmarkLabel,\n}: CtaProofProps) {\n  return (\n    <SectionFrame\n      id={id}\n      title={title}\n      lead={lead}\n      heading={{ badge }}\n      tone={tone}\n      align={(((layout as string) === \"center\") ? \"center\" : \"start\")}\n      layout={(((layout as string) === \"center\") ? \"stack\" : \"split\")}\n      media={{ show: ((layout as string) === \"split\"), side: mediaSide }}\n      landmarkLabel={landmarkLabel}\n      aside={(\n        <MediaFrame alt={(imageAlt ? imageAlt : title)} src={image} ratio=\"4/3\" />\n      )}\n    >\n      <CtaProofItems content={content} proof={proof} center={((layout as string) === \"center\")} />\n      <ActionGroup\n        primary={actions.cta}\n        primaryHref={actions.href}\n        secondary={((actions.mode === \"two\") ? actions.secondary : undefined)}\n        secondaryHref={actions.secondaryHref}\n        align={(((layout as string) === \"center\") ? \"center\" : \"start\")}\n      />\n      {note ? (\n        <Text size=\"xs\" className=\"text-muted-foreground\" data-slot=\"cta-note\">\n          {note}\n        </Text>\n      ) : null}\n    </SectionFrame>\n  );\n}\n",
      "path": "blocks/cta-proof.tsx",
      "target": "blocks/cta-proof.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 { Logo } from \"./logo-cloud.types\";\nimport type { Feature } from \"./feature-grid.types\";\nimport type { Stat } from \"./stats-band.types\";\nimport type { Zone } from \"./zone-table.types\";\n\nexport type CtaContent = {\n  logos: Logo[];\n  features: Feature[];\n  stats: Stat[];\n  zones: Zone[];\n};\n",
      "path": "blocks/cta-proof.types.ts",
      "target": "blocks/cta-proof.types.ts"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "cta",
    "kind": "block",
    "tags": [
      "react",
      "block"
    ]
  },
  "name": "cta-proof",
  "registryDependencies": [
    "action-group",
    "compose",
    "cta-proof-items",
    "error-page",
    "feature-grid",
    "logo-cloud",
    "media-frame",
    "section-frame",
    "stats-band",
    "utils",
    "zone-table"
  ],
  "runtime": "react",
  "title": "Cta Proof",
  "type": "registry:block"
}
