{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A closing call to action.",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "{#- Code generated by packages/kit-compose/src/server-organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n    Source: packages/compose-gen/specs/organisms/cta-band.json\n    A closing call to action: a heading, one sentence and one or two links. Axes: layout (card, band, split picture, row: heading beside the button in a card), tone, actions (one, two, form: an email field), proof (none, quote), density.\n    Props (p): id, title, text, actions, quote, layout, tone, proof, density, image, imageAlt, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_text = (p.text ?? null) -%}\n{%- set v_actions = (p.actions ?? null) -%}\n{%- set v_quote = (p.quote ?? null) -%}\n{%- set v_layout = (p.layout ?? 'card') -%}\n{%- set v_tone = (p.tone ?? 'muted') -%}\n{%- set v_proof = (p.proof ?? 'none') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_image = (p.image ?? null) -%}\n{%- set v_imageAlt = (p.imageAlt ?? null) -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set v_center = og_or([og_eq(v_layout, 'band'), og_eq(v_layout, 'banner')]) -%}\n{%- if og_t(og_eq(v_layout, 'banner')) %}\n  {{ include('blocks/cta-banner.html.twig', {'p': {'id': v_id, 'title': v_title, 'text': v_text, 'cta': og_get(v_actions, ['cta']), 'href': og_get(v_actions, ['href']), 'tone': v_tone, 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n{%- elseif og_t(og_eq(v_layout, 'row')) %}\n  {%- set c_7 -%}\n    {%- set c_6 -%}\n      {%- set c_5 -%}\n        {%- set c_4 -%}\n          {%- set c_3 -%}\n            {%- set c_1 -%}\n              {{ og_text(v_title) }}\n            {%- endset -%}\n            {{ include('compose/Title.html.twig', {'as': 2, 'size': '2xl', 'weight': 'bold', 'attrs': og_attrs(['id', og_tpl('{0}-title', [v_id])]), 'children': c_1}, with_context = false) }}\n            {%- set c_2 -%}\n              {{ og_text(v_text) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'base', 'class': 'text-muted-foreground', 'children': c_2}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Stack.html.twig', {'gap': '2', 'class': 'min-w-0', 'children': c_3}, with_context = false) }}\n          {%- if og_t(og_eq(v_proof, 'quote')) %}\n            {{ include('blocks/quote-proof.html.twig', {'p': {'quote': og_get(v_quote, ['text']), 'quoteBy': og_get(v_quote, ['by']), 'center': v_center}}, with_context = false) }}\n          {%- endif %}\n          {{ include('blocks/cta-actions.html.twig', {'p': {'id': v_id, 'actions': v_actions, 'center': v_center}}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/CardContent.html.twig', {'class': 'flex flex-col gap-4 md:flex-row md:items-center md:justify-between', 'children': c_4}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Card.html.twig', {'variant': 'muted', 'children': c_5}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Container.html.twig', {'class': 'mx-auto w-full max-w-6xl px-4', 'attrs': og_attrs(['data-slot', 'container']), 'children': c_6}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Block.html.twig', {'tag': 'section', 'class': 'py-8', 'attrs': og_attrs(['aria-labelledby', (og_t(v_landmarkLabel) ? null : og_tpl('{0}-title', [v_id])), 'data-tone', v_tone, 'data-density', v_density, 'aria-label', v_landmarkLabel, 'data-slot', 'section']), 'children': c_7}, with_context = false) }}\n{%- else %}\n  {%- set f_8 -%}\n    {{ include('blocks/media-frame.html.twig', {'p': {'alt': (og_t(v_imageAlt) ? v_imageAlt : v_title), 'src': v_image, 'ratio': '4/3'}}, with_context = false) }}\n  {%- endset -%}\n  {%- set c_9 -%}\n    {%- if og_t(og_eq(v_proof, 'quote')) %}\n      {{ include('blocks/quote-proof.html.twig', {'p': {'quote': og_get(v_quote, ['text']), 'quoteBy': og_get(v_quote, ['by']), 'center': v_center}}, with_context = false) }}\n    {%- endif %}\n    {{ include('blocks/cta-actions.html.twig', {'p': {'id': v_id, 'actions': v_actions, 'center': v_center}}, with_context = false) }}\n  {%- endset -%}\n  {{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'lead': v_text, 'layout': (og_t(og_eq(v_layout, 'split')) ? 'split' : 'stack'), 'align': (og_t(v_center) ? 'center' : 'start'), 'boxed': og_eq(v_layout, 'card'), 'media': {'show': og_eq(v_layout, 'split')}, 'tone': v_tone, 'density': v_density, 'landmarkLabel': v_landmarkLabel, 'aside': og_markup(f_8)}, 'children': og_markup(c_9)}, with_context = false) }}\n{%- endif %}\n",
      "path": "blocks/cta-band.html.twig",
      "target": "blocks/cta-band.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "cta",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "cta-band",
  "registryDependencies": [
    "block",
    "card",
    "card-content",
    "container",
    "cta-actions",
    "cta-banner",
    "media-frame",
    "quote-proof",
    "section-frame",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Cta Band",
  "type": "registry:block"
}
