{
  "$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 = og_def(p['id'], none) -%}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_text = og_def(p['text'], none) -%}\n{%- set v_actions = og_def(p['actions'], none) -%}\n{%- set v_quote = og_def(p['quote'], none) -%}\n{%- set v_layout = og_def(p['layout'], 'card') -%}\n{%- set v_tone = og_def(p['tone'], 'muted') -%}\n{%- set v_proof = og_def(p['proof'], 'none') -%}\n{%- set v_density = og_def(p['density'], 'default') -%}\n{%- set v_image = og_def(p['image'], none) -%}\n{%- set v_imageAlt = og_def(p['imageAlt'], none) -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\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  {{ og_include('blocks/cta-banner.html.j2', {'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}}) }}\n{%- elif 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            {{ og_include('compose/title.html.j2', {'p': {'As': 2, 'Size': '2xl', 'Weight': 'bold', 'Attrs': og_attrs(['id', og_tpl('{0}-title', [v_id])])}, 'children': c_1}) }}\n            {%- set c_2 -%}\n              {{ og_text(v_text) }}\n            {%- endset -%}\n            {{ og_include('compose/text.html.j2', {'p': {'Size': 'base', 'Class': 'text-muted-foreground'}, 'children': c_2}) }}\n          {%- endset -%}\n          {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2', 'Class': 'min-w-0'}, 'children': c_3}) }}\n          {%- if og_t(og_eq(v_proof, 'quote')) %}\n            {{ og_include('blocks/quote-proof.html.j2', {'p': {'quote': og_get(v_quote, ['text']), 'quoteBy': og_get(v_quote, ['by']), 'center': v_center}}) }}\n          {%- endif %}\n          {{ og_include('blocks/cta-actions.html.j2', {'p': {'id': v_id, 'actions': v_actions, 'center': v_center}}) }}\n        {%- endset -%}\n        {{ og_include('compose/card-content.html.j2', {'p': {'Class': 'flex flex-col gap-4 md:flex-row md:items-center md:justify-between'}, 'children': c_4}) }}\n      {%- endset -%}\n      {{ og_include('compose/card.html.j2', {'p': {'Variant': 'muted'}, 'children': c_5}) }}\n    {%- endset -%}\n    {{ og_include('compose/container.html.j2', {'p': {'Class': 'mx-auto w-full max-w-6xl px-4', 'Attrs': og_attrs(['data-slot', 'container'])}, 'children': c_6}) }}\n  {%- endset -%}\n  {{ og_include('compose/block.html.j2', {'p': {'Tag': 'section', 'Class': 'py-8', 'Attrs': og_attrs(['aria-labelledby', (none if og_t(v_landmarkLabel) else og_tpl('{0}-title', [v_id])), 'data-tone', v_tone, 'data-density', v_density, 'aria-label', v_landmarkLabel, 'data-slot', 'section'])}, 'children': c_7}) }}\n{%- else %}\n  {%- set f_8 -%}\n    {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': (v_imageAlt if og_t(v_imageAlt) else v_title), 'src': v_image, 'ratio': '4/3'}}) }}\n  {%- endset -%}\n  {%- set c_9 -%}\n    {%- if og_t(og_eq(v_proof, 'quote')) %}\n      {{ og_include('blocks/quote-proof.html.j2', {'p': {'quote': og_get(v_quote, ['text']), 'quoteBy': og_get(v_quote, ['by']), 'center': v_center}}) }}\n    {%- endif %}\n    {{ og_include('blocks/cta-actions.html.j2', {'p': {'id': v_id, 'actions': v_actions, 'center': v_center}}) }}\n  {%- endset -%}\n  {{ og_include('blocks/section-frame.html.j2', {'p': {'id': v_id, 'title': v_title, 'lead': v_text, 'layout': ('split' if og_t(og_eq(v_layout, 'split')) else 'stack'), 'align': ('center' if og_t(v_center) else '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)}) }}\n{%- endif %}\n",
      "path": "blocks/cta-band.html.j2",
      "target": "blocks/cta-band.html.j2"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "cta",
    "kind": "block",
    "tags": [
      "jinja2",
      "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": "jinja2",
  "title": "Cta Band",
  "type": "registry:block"
}
