{
  "$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\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"
    },
    {
      "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-->\n<script lang=\"ts\">\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</script>\n\n<script setup lang=\"ts\">\nimport Text from \"../compose/Text.vue\";\nimport ActionGroup from \"../components/action-group.vue\";\nimport CtaProofItems from \"../components/cta-proof-items.vue\";\nimport MediaFrame from \"../components/media-frame.vue\";\nimport SectionFrame from \"../components/section-frame.vue\";\n\nconst {\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} = defineProps<CtaProofProps>();\n</script>\n\n<template>\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  >\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    <Text v-if=\"note\" size=\"xs\" class=\"text-muted-foreground\" data-slot=\"cta-note\">\n      {{ note }}\n    </Text>\n    <template #aside>\n      <MediaFrame :alt=\"(imageAlt ? imageAlt : title)\" :src=\"image\" ratio=\"4/3\" />\n    </template>\n  </SectionFrame>\n</template>\n",
      "path": "blocks/cta-proof.vue",
      "target": "blocks/cta-proof.vue"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "cta",
    "kind": "block",
    "tags": [
      "vue",
      "block"
    ]
  },
  "name": "cta-proof",
  "registryDependencies": [
    "action-group",
    "cta-proof-items",
    "error-page",
    "feature-grid",
    "logo-cloud",
    "media-frame",
    "section-frame",
    "stats-band",
    "text",
    "utils",
    "zone-table"
  ],
  "runtime": "vue",
  "title": "Cta Proof",
  "type": "registry:block"
}
