{
  "$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 = (p.id ?? 'footer') -%}\n{%- set v_label = (p.label ?? null) -%}\n{%- set v_brand = (p.brand ?? null) -%}\n{%- set v_tagline = (p.tagline ?? null) -%}\n{%- set v_copyright = (p.copyright ?? null) -%}\n{%- set v_groups = (p.groups ?? null) -%}\n{%- set v_extras = (p.extras ?? null) -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set v_layout = (p.layout ?? 'stats') -%}\n{%- set v_mediaSide = (p.mediaSide ?? 'end') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_image = (p.image ?? null) -%}\n{%- set v_imageAlt = (p.imageAlt ?? null) -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\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            {{ include('blocks/footer-brand.html.twig', {'p': {'brand': v_brand, 'tagline': v_tagline}}, with_context = false) }}\n            {{ include('blocks/footer-figures.html.twig', {'p': {'extras': v_extras}}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Stack.html.twig', {'gap': '6', 'align': 'start', 'children': c_1}, with_context = false) }}\n          {{ include('blocks/footer-sitemap.html.twig', {'p': {'href': og_get(v_extras, ['sitemapHref']), 'label': og_get(v_labels, ['sitemap'])}}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Group.html.twig', {'gap': '6', 'align': 'start', 'justify': 'between', 'class': 'flex-wrap', 'children': c_2}, with_context = false) }}\n        {{ include('blocks/footer-group-cards.html.twig', {'p': {'label': v_label, 'groups': v_groups, 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n        {%- set c_4 -%}\n          {%- set c_3 -%}\n            {{ og_text(v_copyright) }}\n          {%- endset -%}\n          {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_3}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Box.html.twig', {'class': 'border-t border-border pt-6', 'children': c_4}, with_context = false) }}\n      {%- endset -%}\n      {{ include('compose/Stack.html.twig', {'gap': '8', 'align': 'stretch', 'children': c_5}, with_context = false) }}\n    {%- else %}\n      {%- set c_12 -%}\n        {%- if og_t(og_eq(v_mediaSide, 'start')) %}\n          {{ include('blocks/media-frame.html.twig', {'p': {'alt': (og_t(v_imageAlt) ? v_imageAlt : v_brand), 'src': v_image, 'ratio': '4/3'}}, with_context = false) }}\n        {%- endif %}\n        {%- set c_11 -%}\n          {%- if og_t(og_or([og_eq(v_layout, 'points'), og_eq(v_layout, 'links')])) %}\n            {{ include('blocks/footer-brand.html.twig', {'p': {'brand': v_brand, 'tagline': v_tagline}}, with_context = false) }}\n          {%- else %}\n            {%- set c_8 -%}\n              {%- set c_6 -%}\n                {{ og_text((og_t(og_eq(v_layout, 'newsletter')) ? og_get(v_labels, ['loopTitle']) : (og_t(og_eq(v_layout, 'channels')) ? og_get(v_labels, ['joinTitle']) : og_get(v_labels, ['title'])))) }}\n              {%- endset -%}\n              {{ include('compose/Text.html.twig', {'size': 'xl', 'weight': 'bold', 'children': c_6}, with_context = false) }}\n              {%- set c_7 -%}\n                {{ og_text((og_t(og_eq(v_layout, 'newsletter')) ? og_get(v_labels, ['loopText']) : (og_t(og_eq(v_layout, 'channels')) ? og_get(v_labels, ['joinText']) : og_get(v_labels, ['text'])))) }}\n              {%- endset -%}\n              {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_7}, with_context = false) }}\n            {%- endset -%}\n            {{ include('compose/Stack.html.twig', {'gap': '2', 'align': 'start', 'children': c_8}, with_context = false) }}\n          {%- endif %}\n          {%- if og_t(og_eq(v_layout, 'points')) %}\n            {{ include('blocks/footer-points.html.twig', {'p': {'extras': v_extras, 'title': og_get(v_labels, ['points'])}}, with_context = false) }}\n          {%- endif %}\n          {%- if og_t(og_eq(v_layout, 'newsletter')) %}\n            {{ include('blocks/footer-signup-card.html.twig', {'p': {'id': v_id, 'labels': v_labels}}, with_context = false) }}\n          {%- endif %}\n          {%- if og_t(og_or([og_eq(v_layout, 'links'), og_eq(v_layout, 'newsletter')])) %}\n            {{ include('blocks/footer-link-columns.html.twig', {'p': {'label': v_label, 'groups': v_groups, 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n          {%- endif %}\n          {%- if og_t(og_eq(v_layout, 'contacts')) %}\n            {{ include('blocks/footer-contacts.html.twig', {'p': {'extras': v_extras}}, with_context = false) }}\n            {{ include('blocks/action-group.html.twig', {'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'])}}, with_context = false) }}\n          {%- endif %}\n          {%- if og_t(og_eq(v_layout, 'channels')) %}\n            {{ include('blocks/footer-channels.html.twig', {'p': {'extras': v_extras}}, with_context = false) }}\n            {{ include('blocks/footer-figures.html.twig', {'p': {'extras': v_extras}}, with_context = false) }}\n          {%- endif %}\n          {%- set c_10 -%}\n            {%- set c_9 -%}\n              {{ og_text(v_copyright) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_9}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Box.html.twig', {'class': 'border-t border-border pt-6', 'children': c_10}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Stack.html.twig', {'gap': '8', 'align': 'stretch', 'children': c_11}, with_context = false) }}\n        {%- if og_t(not (og_eq(v_mediaSide, 'start'))) %}\n          {{ include('blocks/media-frame.html.twig', {'p': {'alt': (og_t(v_imageAlt) ? v_imageAlt : v_brand), 'src': v_image, 'ratio': '4/3'}}, with_context = false) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ include('compose/Box.html.twig', {'class': 'grid grid-cols-1 items-center gap-8 lg:grid-cols-2', 'children': c_12}, with_context = false) }}\n    {%- endif %}\n  {%- endset -%}\n  {{ include('compose/Container.html.twig', {'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}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Block.html.twig', {'tag': 'footer', 'class': og_s(og_cnv(['border-t border-border', (og_t(og_eq(v_tone, 'muted')) ? 'bg-muted' : '')])), 'attrs': og_attrs(['data-layout', v_layout, 'aria-label', v_landmarkLabel, 'data-slot', 'footer-split']), 'children': c_14}, with_context = false) }}\n",
      "path": "blocks/footer-split.html.twig",
      "target": "blocks/footer-split.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "navigation",
    "kind": "block",
    "tags": [
      "twig",
      "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": "twig",
  "title": "Footer Split",
  "type": "registry:block"
}
