{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "A footer with the brand, groups of links and the copyright; a single row, a sign-up first or a status pill.",
  "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/sitemap-footer.json\n    A footer with the brand, a tagline, groups of links and the copyright. Axes: layout (columns: brand above, equal columns per group, row: the brand, the group names and the copyright in one row), signup mode (none, first: a sign-up above the links), status mode (none, show: a live status pill), density. The live status itself is a port contract.\n    Props (p): label, brand, tagline, copyright, groups, signup, status, id, layout, density, landmarkLabel. -#}\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_signup = (p.signup ?? null) -%}\n{%- set v_status = (p.status ?? null) -%}\n{%- set v_id = (p.id ?? 'footer') -%}\n{%- set v_layout = (p.layout ?? 'columns') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- if og_t(og_eq(v_layout, 'card')) %}\n  {{ include('blocks/footer-card.html.twig', {'p': {'label': v_label, 'brand': v_brand, 'groups': v_groups, 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n{%- else %}\n  {%- set c_21 -%}\n    {%- set c_20 -%}\n      {%- if og_t(og_eq(og_get(v_signup, ['mode']), 'first')) %}\n        {%- set c_6 -%}\n          {%- set c_1 -%}\n            {{ og_text(og_get(v_signup, ['title'])) }}\n          {%- endset -%}\n          {{ include('compose/Title.html.twig', {'as': 3, 'size': 'xl', 'weight': 'bold', 'children': c_1}, with_context = false) }}\n          {%- set c_5 -%}\n            {%- set c_2 -%}\n              {{ og_text(og_get(v_signup, ['label'])) }}\n            {%- endset -%}\n            {{ include('compose/Label.html.twig', {'htmlFor': og_s(og_tpl('{0}-email', [v_id])), 'class': 'sr-only', 'children': c_2}, with_context = false) }}\n            {%- set c_4 -%}\n              {{ include('compose/Input.html.twig', {'type': 'email', 'name': 'email', 'class': 'min-w-0 flex-1', 'attrs': og_attrs(['id', og_tpl('{0}-email', [v_id]), 'data-slot', 'field'])}, with_context = false) }}\n              {%- set c_3 -%}\n                {{ og_text(og_get(v_signup, ['submit'])) }}\n              {%- endset -%}\n              {{ include('compose/Button.html.twig', {'variant': 'default', 'size': 'default', 'type': 'submit', 'children': c_3}, with_context = false) }}\n            {%- endset -%}\n            {{ include('compose/Group.html.twig', {'gap': '2', 'align': 'start', 'class': 'w-full flex-wrap', 'children': c_4}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Form.html.twig', {'method': 'dialog', 'class': og_s(og_cnv(['w-full max-w-md', (og_t(false) ? 'mx-auto' : '')])), 'attrs': og_attrs(['data-slot', 'email-form']), 'children': c_5}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Stack.html.twig', {'gap': '4', 'class': 'max-w-md', 'attrs': og_attrs(['data-slot', 'signup']), 'children': c_6}, with_context = false) }}\n      {%- endif %}\n      {%- if og_t(og_eq(v_layout, 'columns')) %}\n        {%- set c_11 -%}\n          {%- set c_9 -%}\n            {%- set c_7 -%}\n              {{ og_text(v_brand) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'xl', 'weight': 'bold', 'children': c_7}, with_context = false) }}\n            {%- set c_8 -%}\n              {{ og_text(v_tagline) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_8}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Stack.html.twig', {'gap': '2', 'class': 'md:w-64 md:shrink-0', 'children': c_9}, with_context = false) }}\n          {%- set c_10 -%}\n            {{ include('blocks/footer-columns.html.twig', {'p': {'label': v_label, 'groups': v_groups, 'landmarkLabel': v_landmarkLabel}}, with_context = false) }}\n          {%- endset -%}\n          {{ include('compose/Box.html.twig', {'class': 'min-w-0 flex-1', 'children': c_10}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Box.html.twig', {'class': 'flex flex-col gap-8 md:flex-row md:items-start md:gap-12', 'attrs': og_attrs(['data-slot', 'footer-top']), 'children': c_11}, with_context = false) }}\n      {%- else %}\n        {%- set c_16 -%}\n          {%- set c_12 -%}\n            {{ og_text(v_brand) }}\n          {%- endset -%}\n          {{ include('compose/Text.html.twig', {'size': 'base', 'weight': 'bold', 'children': c_12}, with_context = false) }}\n          {%- if og_t(og_gt(og_len(v_groups), 0)) %}\n            {%- set c_15 -%}\n              {%- set c_14 -%}\n                {%- for v_g in og_l(v_groups) %}\n                  {%- set c_13 -%}\n                    {{ og_text(og_get(v_g, ['title'])) }}\n                  {%- endset -%}\n                  {{ include('blocks/menu-entry.html.twig', {'p': {'href': og_get(v_g, ['href']), 'className': og_cnv(['text-sm']), 'testid': 'group'}, 'children': og_markup(c_13)}, with_context = false) }}\n                {%- endfor %}\n              {%- endset -%}\n              {{ include('compose/Group.html.twig', {'gap': '4', 'class': 'flex-wrap', 'children': c_14}, with_context = false) }}\n            {%- endset -%}\n            {{ include('blocks/nav-block.html.twig', {'p': {'label': (og_t(v_landmarkLabel) ? og_uniq(og_tpl('{0}, {1}', [v_label, v_landmarkLabel])) : v_label)}, 'children': og_markup(c_15)}, with_context = false) }}\n          {%- endif %}\n        {%- endset -%}\n        {{ include('compose/Group.html.twig', {'gap': '6', 'align': 'center', 'justify': 'between', 'class': 'flex-wrap', 'children': c_16}, with_context = false) }}\n      {%- endif %}\n      {%- set c_19 -%}\n        {%- set c_17 -%}\n          {{ og_text(v_copyright) }}\n        {%- endset -%}\n        {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_17}, with_context = false) }}\n        {%- if og_t(og_eq(og_get(v_status, ['mode']), 'show')) %}\n          {%- set c_18 -%}\n            {{ og_text(og_get(v_status, ['label'])) }}\n          {%- endset -%}\n          {{ include('blocks/pill.html.twig', {'p': {'tone': 'green', 'icon': 'circle-check'}, 'children': og_markup(c_18)}, with_context = false) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ include('compose/Group.html.twig', {'gap': '4', 'align': 'center', 'justify': 'between', 'class': 'flex-wrap border-t border-border pt-6', 'children': c_19}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Container.html.twig', {'class': og_s(og_cnv(['mx-auto w-full max-w-6xl px-4', 'flex flex-col gap-8', (og_t(og_eq(v_density, 'compact')) ? 'py-6' : 'py-12')])), 'attrs': og_attrs(['data-slot', 'container']), 'children': c_20}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Block.html.twig', {'tag': 'footer', 'class': 'mt-12 border-t border-border', 'attrs': og_attrs(['data-layout', v_layout, 'aria-label', v_landmarkLabel, 'data-slot', 'site-footer']), 'children': c_21}, with_context = false) }}\n{%- endif %}\n",
      "path": "blocks/sitemap-footer.html.twig",
      "target": "blocks/sitemap-footer.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "navigation",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "sitemap-footer",
  "registryDependencies": [
    "block",
    "box",
    "button",
    "container",
    "footer-card",
    "footer-columns",
    "form",
    "group",
    "input",
    "label",
    "menu-entry",
    "nav-block",
    "pill",
    "stack",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Sitemap Footer",
  "type": "registry:block"
}
