{
  "$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{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_text = ($p['text'] ?? null)}\n{var $v_actions = ($p['actions'] ?? null)}\n{var $v_quote = ($p['quote'] ?? null)}\n{var $v_layout = ($p['layout'] ?? 'card')}\n{var $v_tone = ($p['tone'] ?? 'muted')}\n{var $v_proof = ($p['proof'] ?? 'none')}\n{var $v_density = ($p['density'] ?? 'default')}\n{var $v_image = ($p['image'] ?? null)}\n{var $v_imageAlt = ($p['imageAlt'] ?? null)}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{var $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.latte', ['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]])|noescape}\n{elseif og_t(og_eq($v_layout, 'row'))}\n  {capture $c_7}\n    {capture $c_6}\n      {capture $c_5}\n        {capture $c_4}\n          {capture $c_3}\n            {capture $c_1}\n              {=og_text($v_title)}\n            {/capture}\n            {=og_include('compose/Title.latte', ['as' => 2, 'size' => '2xl', 'weight' => 'bold', 'attrs' => og_attrs(['id', og_tpl('{0}-title', [$v_id])]), 'children' => (string) $c_1])|noescape}\n            {capture $c_2}\n              {=og_text($v_text)}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => 'base', 'class' => 'text-muted-foreground', 'children' => (string) $c_2])|noescape}\n          {/capture}\n          {=og_include('compose/Stack.latte', ['gap' => '2', 'class' => 'min-w-0', 'children' => (string) $c_3])|noescape}\n          {if og_t(og_eq($v_proof, 'quote'))}\n            {=og_include('blocks/quote-proof.latte', ['p' => ['quote' => og_get($v_quote, ['text']), 'quoteBy' => og_get($v_quote, ['by']), 'center' => $v_center]])|noescape}\n          {/if}\n          {=og_include('blocks/cta-actions.latte', ['p' => ['id' => $v_id, 'actions' => $v_actions, 'center' => $v_center]])|noescape}\n        {/capture}\n        {=og_include('compose/CardContent.latte', ['class' => 'flex flex-col gap-4 md:flex-row md:items-center md:justify-between', 'children' => (string) $c_4])|noescape}\n      {/capture}\n      {=og_include('compose/Card.latte', ['variant' => 'muted', 'children' => (string) $c_5])|noescape}\n    {/capture}\n    {=og_include('compose/Container.latte', ['class' => 'mx-auto w-full max-w-6xl px-4', 'attrs' => og_attrs(['data-slot', 'container']), 'children' => (string) $c_6])|noescape}\n  {/capture}\n  {=og_include('compose/Block.latte', ['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' => (string) $c_7])|noescape}\n{else}\n  {capture $f_8}\n    {=og_include('blocks/media-frame.latte', ['p' => ['alt' => (og_t($v_imageAlt) ? $v_imageAlt : $v_title), 'src' => $v_image, 'ratio' => '4/3']])|noescape}\n  {/capture}\n  {capture $c_9}\n    {if og_t(og_eq($v_proof, 'quote'))}\n      {=og_include('blocks/quote-proof.latte', ['p' => ['quote' => og_get($v_quote, ['text']), 'quoteBy' => og_get($v_quote, ['by']), 'center' => $v_center]])|noescape}\n    {/if}\n    {=og_include('blocks/cta-actions.latte', ['p' => ['id' => $v_id, 'actions' => $v_actions, 'center' => $v_center]])|noescape}\n  {/capture}\n  {=og_include('blocks/section-frame.latte', ['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)])|noescape}\n{/if}\n",
      "path": "blocks/cta-band.latte",
      "target": "blocks/cta-band.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "cta",
    "kind": "block",
    "tags": [
      "latte",
      "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": "latte",
  "title": "Cta Band",
  "type": "registry:block"
}
