{
  "$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 = 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_signup = og_def(p['signup'], none) -%}\n{%- set v_status = og_def(p['status'], none) -%}\n{%- set v_id = og_def(p['id'], 'footer') -%}\n{%- set v_layout = og_def(p['layout'], 'columns') -%}\n{%- set v_density = og_def(p['density'], 'default') -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- if og_t(og_eq(v_layout, 'card')) %}\n  {{ og_include('blocks/footer-card.html.j2', {'p': {'label': v_label, 'brand': v_brand, 'groups': v_groups, 'landmarkLabel': v_landmarkLabel}}) }}\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          {{ og_include('compose/title.html.j2', {'p': {'As': 3, 'Size': 'xl', 'Weight': 'bold'}, 'children': c_1}) }}\n          {%- set c_5 -%}\n            {%- set c_2 -%}\n              {{ og_text(og_get(v_signup, ['label'])) }}\n            {%- endset -%}\n            {{ og_include('compose/label.html.j2', {'p': {'For': og_s(og_tpl('{0}-email', [v_id])), 'Class': 'sr-only'}, 'children': c_2}) }}\n            {%- set c_4 -%}\n              {{ og_include('compose/input.html.j2', {'p': {'Type': 'email', 'Name': 'email', 'Class': 'min-w-0 flex-1', 'Attrs': og_attrs(['id', og_tpl('{0}-email', [v_id]), 'data-slot', 'field'])}}) }}\n              {%- set c_3 -%}\n                {{ og_text(og_get(v_signup, ['submit'])) }}\n              {%- endset -%}\n              {{ og_include('compose/button.html.j2', {'p': {'Variant': 'default', 'Size': 'default', 'Type': 'submit'}, 'children': c_3}) }}\n            {%- endset -%}\n            {{ og_include('compose/group.html.j2', {'p': {'Gap': '2', 'Align': 'start', 'Class': 'w-full flex-wrap'}, 'children': c_4}) }}\n          {%- endset -%}\n          {{ og_include('compose/form.html.j2', {'p': {'Method': 'dialog', 'Class': og_s(og_cnv(['w-full max-w-md', ('mx-auto' if og_t(false) else '')])), 'Attrs': og_attrs(['data-slot', 'email-form'])}, 'children': c_5}) }}\n        {%- endset -%}\n        {{ og_include('compose/stack.html.j2', {'p': {'Gap': '4', 'Class': 'max-w-md', 'Attrs': og_attrs(['data-slot', 'signup'])}, 'children': c_6}) }}\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            {{ og_include('compose/text.html.j2', {'p': {'Size': 'xl', 'Weight': 'bold'}, 'children': c_7}) }}\n            {%- set c_8 -%}\n              {{ og_text(v_tagline) }}\n            {%- endset -%}\n            {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_8}) }}\n          {%- endset -%}\n          {{ og_include('compose/stack.html.j2', {'p': {'Gap': '2', 'Class': 'md:w-64 md:shrink-0'}, 'children': c_9}) }}\n          {%- set c_10 -%}\n            {{ og_include('blocks/footer-columns.html.j2', {'p': {'label': v_label, 'groups': v_groups, 'landmarkLabel': v_landmarkLabel}}) }}\n          {%- endset -%}\n          {{ og_include('compose/box.html.j2', {'p': {'Class': 'min-w-0 flex-1'}, 'children': c_10}) }}\n        {%- endset -%}\n        {{ og_include('compose/box.html.j2', {'p': {'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}) }}\n      {%- else %}\n        {%- set c_16 -%}\n          {%- set c_12 -%}\n            {{ og_text(v_brand) }}\n          {%- endset -%}\n          {{ og_include('compose/text.html.j2', {'p': {'Size': 'base', 'Weight': 'bold'}, 'children': c_12}) }}\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                  {{ og_include('blocks/menu-entry.html.j2', {'p': {'href': og_get(v_g, ['href']), 'className': og_cnv(['text-sm']), 'testid': 'group'}, 'children': og_markup(c_13)}) }}\n                {%- endfor %}\n              {%- endset -%}\n              {{ og_include('compose/group.html.j2', {'p': {'Gap': '4', 'Class': 'flex-wrap'}, 'children': c_14}) }}\n            {%- endset -%}\n            {{ og_include('blocks/nav-block.html.j2', {'p': {'label': (og_uniq(og_tpl('{0}, {1}', [v_label, v_landmarkLabel])) if og_t(v_landmarkLabel) else v_label)}, 'children': og_markup(c_15)}) }}\n          {%- endif %}\n        {%- endset -%}\n        {{ og_include('compose/group.html.j2', {'p': {'Gap': '6', 'Align': 'center', 'Justify': 'between', 'Class': 'flex-wrap'}, 'children': c_16}) }}\n      {%- endif %}\n      {%- set c_19 -%}\n        {%- set c_17 -%}\n          {{ og_text(v_copyright) }}\n        {%- endset -%}\n        {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_17}) }}\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          {{ og_include('blocks/pill.html.j2', {'p': {'tone': 'green', 'icon': 'circle-check'}, 'children': og_markup(c_18)}) }}\n        {%- endif %}\n      {%- endset -%}\n      {{ og_include('compose/group.html.j2', {'p': {'Gap': '4', 'Align': 'center', 'Justify': 'between', 'Class': 'flex-wrap border-t border-border pt-6'}, 'children': c_19}) }}\n    {%- endset -%}\n    {{ og_include('compose/container.html.j2', {'p': {'Class': og_s(og_cnv(['mx-auto w-full max-w-6xl px-4', 'flex flex-col gap-8', ('py-6' if og_t(og_eq(v_density, 'compact')) else 'py-12')])), 'Attrs': og_attrs(['data-slot', 'container'])}, 'children': c_20}) }}\n  {%- endset -%}\n  {{ og_include('compose/block.html.j2', {'p': {'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}) }}\n{%- endif %}\n",
      "path": "blocks/sitemap-footer.html.j2",
      "target": "blocks/sitemap-footer.html.j2"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "navigation",
    "kind": "block",
    "tags": [
      "jinja2",
      "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": "jinja2",
  "title": "Sitemap Footer",
  "type": "registry:block"
}
