{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The brand with figures and a sitemap link over link-group cards; or a split beside a picture with points, link columns, a newsletter card, the contacts or the community channels.",
  "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/footer-split.json\n    A footer with more than links. Axes: layout (stats: the brand with three figures and a sitemap link over the link groups as cards; points, links, newsletter, contacts, channels: a split beside a picture with the brand and four points, the brand and small link columns, a newsletter card and link columns, the contacts and two actions, or the community channels and figures), mediaSide, tone.\n    Props (p): id, label, brand, tagline, copyright, groups, extras, labels, layout, mediaSide, tone, image, imageAlt, landmarkLabel. -#}\n{%- set v_id = og_def(p['id'], 'footer') -%}\n{%- set v_label = og_def(p['label'], none) -%}\n{%- set v_brand = og_def(p['brand'], none) -%}\n{%- set v_tagline = og_def(p['tagline'], none) -%}\n{%- set v_copyright = og_def(p['copyright'], none) -%}\n{%- set v_groups = og_def(p['groups'], none) -%}\n{%- set v_extras = og_def(p['extras'], none) -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set v_layout = og_def(p['layout'], 'stats') -%}\n{%- set v_mediaSide = og_def(p['mediaSide'], 'end') -%}\n{%- set v_tone = og_def(p['tone'], '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 c_14 -%}\n  {%- set c_13 -%}\n    {%- if og_t(og_eq(v_layout, 'stats')) %}\n      {%- set c_5 -%}\n        {%- set c_2 -%}\n          {%- set c_1 -%}\n            {{ og_include('blocks/footer-brand.html.j2', {'p': {'brand': v_brand, 'tagline': v_tagline}}) }}\n            {{ og_include('blocks/footer-figures.html.j2', {'p': {'extras': v_extras}}) }}\n          {%- endset -%}\n          {{ og_include('compose/stack.html.j2', {'p': {'Gap': '6', 'Align': 'start'}, 'children': c_1}) }}\n          {{ og_include('blocks/footer-sitemap.html.j2', {'p': {'href': og_get(v_extras, ['sitemapHref']), 'label': og_get(v_labels, ['sitemap'])}}) }}\n        {%- endset -%}\n        {{ og_include('compose/group.html.j2', {'p': {'Gap': '6', 'Align': 'start', 'Justify': 'between', 'Class': 'flex-wrap'}, 'children': c_2}) }}\n        {{ og_include('blocks/footer-group-cards.html.j2', {'p': {'label': v_label, 'groups': v_groups, 'landmarkLabel': v_landmarkLabel}}) }}\n        {%- set c_4 -%}\n          {%- set c_3 -%}\n            {{ og_text(v_copyright) }}\n          {%- endset -%}\n          {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_3}) }}\n        {%- endset -%}\n        {{ og_include('compose/box.html.j2', {'p': {'Class': 'border-t border-border pt-6'}, 'children': c_4}) }}\n      {%- endset -%}\n      {{ og_include('compose/stack.html.j2', {'p': {'Gap': '8', 'Align': 'stretch'}, 'children': c_5}) }}\n    {%- else %}\n      {%- set c_12 -%}\n        {%- if og_t(og_eq(v_mediaSide, 'start')) %}\n          {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': (v_imageAlt if og_t(v_imageAlt) else v_brand), 'src': v_image, 'ratio': '4/3'}}) }}\n        {%- endif %}\n        {%- set c_11 -%}\n          {%- if og_t(og_or([og_eq(v_layout, 'points'), og_eq(v_layout, 'links')])) %}\n            {{ og_include('blocks/footer-brand.html.j2', {'p': {'brand': v_brand, 'tagline': v_tagline}}) }}\n          {%- else %}\n            {%- set c_8 -%}\n              {%- set c_6 -%}\n                {{ og_text((og_get(v_labels, ['loopTitle']) if og_t(og_eq(v_layout, 'newsletter')) else (og_get(v_labels, ['joinTitle']) if og_t(og_eq(v_layout, 'channels')) else og_get(v_labels, ['title'])))) }}\n              {%- endset -%}\n              {{ og_include('compose/text.html.j2', {'p': {'Size': 'xl', 'Weight': 'bold'}, 'children': c_6}) }}\n              {%- set c_7 -%}\n                {{ og_text((og_get(v_labels, ['loopText']) if og_t(og_eq(v_layout, 'newsletter')) else (og_get(v_labels, ['joinText']) if og_t(og_eq(v_layout, 'channels')) else og_get(v_labels, ['text'])))) }}\n              {%- endset -%}\n              {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_7}) }}\n            {%- endset -%}\n            {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2', 'Align': 'start'}, 'children': c_8}) }}\n          {%- endif %}\n          {%- if og_t(og_eq(v_layout, 'points')) %}\n            {{ og_include('blocks/footer-points.html.j2', {'p': {'extras': v_extras, 'title': og_get(v_labels, ['points'])}}) }}\n          {%- endif %}\n          {%- if og_t(og_eq(v_layout, 'newsletter')) %}\n            {{ og_include('blocks/footer-signup-card.html.j2', {'p': {'id': v_id, 'labels': v_labels}}) }}\n          {%- endif %}\n          {%- if og_t(og_or([og_eq(v_layout, 'links'), og_eq(v_layout, 'newsletter')])) %}\n            {{ og_include('blocks/footer-link-columns.html.j2', {'p': {'label': v_label, 'groups': v_groups, 'landmarkLabel': v_landmarkLabel}}) }}\n          {%- endif %}\n          {%- if og_t(og_eq(v_layout, 'contacts')) %}\n            {{ og_include('blocks/footer-contacts.html.j2', {'p': {'extras': v_extras}}) }}\n            {{ og_include('blocks/action-group.html.j2', {'p': {'primary': og_get(v_labels, ['cta']), 'primaryHref': og_get(v_extras, ['ctaHref']), 'secondary': og_get(v_labels, ['secondary']), 'secondaryHref': og_get(v_extras, ['secondaryHref'])}}) }}\n          {%- endif %}\n          {%- if og_t(og_eq(v_layout, 'channels')) %}\n            {{ og_include('blocks/footer-channels.html.j2', {'p': {'extras': v_extras}}) }}\n            {{ og_include('blocks/footer-figures.html.j2', {'p': {'extras': v_extras}}) }}\n          {%- endif %}\n          {%- set c_10 -%}\n            {%- set c_9 -%}\n              {{ og_text(v_copyright) }}\n            {%- endset -%}\n            {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_9}) }}\n          {%- endset -%}\n          {{ og_include('compose/box.html.j2', {'p': {'Class': 'border-t border-border pt-6'}, 'children': c_10}) }}\n        {%- endset -%}\n        {{ og_include('compose/stack.html.j2', {'p': {'Gap': '8', 'Align': 'stretch'}, 'children': c_11}) }}\n        {%- if og_t(not (og_eq(v_mediaSide, 'start'))) %}\n          {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': (v_imageAlt if og_t(v_imageAlt) else v_brand), 'src': v_image, 'ratio': '4/3'}}) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ og_include('compose/box.html.j2', {'p': {'Class': 'grid grid-cols-1 items-center gap-8 lg:grid-cols-2'}, 'children': c_12}) }}\n    {%- endif %}\n  {%- endset -%}\n  {{ og_include('compose/container.html.j2', {'p': {'Class': og_s(og_cnv(['mx-auto w-full max-w-6xl px-4', 'py-12'])), 'Attrs': og_attrs(['data-slot', 'container'])}, 'children': c_13}) }}\n{%- endset -%}\n{{ og_include('compose/block.html.j2', {'p': {'Tag': 'footer', 'Class': og_s(og_cnv(['border-t border-border', ('bg-muted' if og_t(og_eq(v_tone, 'muted')) else '')])), 'Attrs': og_attrs(['data-layout', v_layout, 'aria-label', v_landmarkLabel, 'data-slot', 'footer-split'])}, 'children': c_14}) }}\n",
      "path": "blocks/footer-split.html.j2",
      "target": "blocks/footer-split.html.j2"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "navigation",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "footer-split",
  "registryDependencies": [
    "action-group",
    "block",
    "box",
    "container",
    "footer-brand",
    "footer-channels",
    "footer-contacts",
    "footer-figures",
    "footer-group-cards",
    "footer-link-columns",
    "footer-points",
    "footer-signup-card",
    "footer-sitemap",
    "group",
    "media-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Footer Split",
  "type": "registry:block"
}
