{
  "$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{var $v_label = ($p['label'] ?? null)}\n{var $v_brand = ($p['brand'] ?? null)}\n{var $v_tagline = ($p['tagline'] ?? null)}\n{var $v_copyright = ($p['copyright'] ?? null)}\n{var $v_groups = ($p['groups'] ?? null)}\n{var $v_signup = ($p['signup'] ?? null)}\n{var $v_status = ($p['status'] ?? null)}\n{var $v_id = ($p['id'] ?? 'footer')}\n{var $v_layout = ($p['layout'] ?? 'columns')}\n{var $v_density = ($p['density'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{if og_t(og_eq($v_layout, 'card'))}\n  {=og_include('blocks/footer-card.latte', ['p' => ['label' => $v_label, 'brand' => $v_brand, 'groups' => $v_groups, 'landmarkLabel' => $v_landmarkLabel]])|noescape}\n{else}\n  {capture $c_21}\n    {capture $c_20}\n      {if og_t(og_eq(og_get($v_signup, ['mode']), 'first'))}\n        {capture $c_6}\n          {capture $c_1}\n            {=og_text(og_get($v_signup, ['title']))}\n          {/capture}\n          {=og_include('compose/Title.latte', ['as' => 3, 'size' => 'xl', 'weight' => 'bold', 'children' => (string) $c_1])|noescape}\n          {capture $c_5}\n            {capture $c_2}\n              {=og_text(og_get($v_signup, ['label']))}\n            {/capture}\n            {=og_include('compose/Label.latte', ['htmlFor' => og_s(og_tpl('{0}-email', [$v_id])), 'class' => 'sr-only', 'children' => (string) $c_2])|noescape}\n            {capture $c_4}\n              {=og_include('compose/Input.latte', ['type' => 'email', 'name' => 'email', 'class' => 'min-w-0 flex-1', 'attrs' => og_attrs(['id', og_tpl('{0}-email', [$v_id]), 'data-slot', 'field'])])|noescape}\n              {capture $c_3}\n                {=og_text(og_get($v_signup, ['submit']))}\n              {/capture}\n              {=og_include('compose/Button.latte', ['variant' => 'default', 'size' => 'default', 'type' => 'submit', 'children' => (string) $c_3])|noescape}\n            {/capture}\n            {=og_include('compose/Group.latte', ['gap' => '2', 'align' => 'start', 'class' => 'w-full flex-wrap', 'children' => (string) $c_4])|noescape}\n          {/capture}\n          {=og_include('compose/Form.latte', ['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' => (string) $c_5])|noescape}\n        {/capture}\n        {=og_include('compose/Stack.latte', ['gap' => '4', 'class' => 'max-w-md', 'attrs' => og_attrs(['data-slot', 'signup']), 'children' => (string) $c_6])|noescape}\n      {/if}\n      {if og_t(og_eq($v_layout, 'columns'))}\n        {capture $c_11}\n          {capture $c_9}\n            {capture $c_7}\n              {=og_text($v_brand)}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => 'xl', 'weight' => 'bold', 'children' => (string) $c_7])|noescape}\n            {capture $c_8}\n              {=og_text($v_tagline)}\n            {/capture}\n            {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_8])|noescape}\n          {/capture}\n          {=og_include('compose/Stack.latte', ['gap' => '2', 'class' => 'md:w-64 md:shrink-0', 'children' => (string) $c_9])|noescape}\n          {capture $c_10}\n            {=og_include('blocks/footer-columns.latte', ['p' => ['label' => $v_label, 'groups' => $v_groups, 'landmarkLabel' => $v_landmarkLabel]])|noescape}\n          {/capture}\n          {=og_include('compose/Box.latte', ['class' => 'min-w-0 flex-1', 'children' => (string) $c_10])|noescape}\n        {/capture}\n        {=og_include('compose/Box.latte', ['class' => 'flex flex-col gap-8 md:flex-row md:items-start md:gap-12', 'attrs' => og_attrs(['data-slot', 'footer-top']), 'children' => (string) $c_11])|noescape}\n      {else}\n        {capture $c_16}\n          {capture $c_12}\n            {=og_text($v_brand)}\n          {/capture}\n          {=og_include('compose/Text.latte', ['size' => 'base', 'weight' => 'bold', 'children' => (string) $c_12])|noescape}\n          {if og_t(og_gt(og_len($v_groups), 0))}\n            {capture $c_15}\n              {capture $c_14}\n                {foreach og_l($v_groups) as $v_g}\n                  {capture $c_13}\n                    {=og_text(og_get($v_g, ['title']))}\n                  {/capture}\n                  {=og_include('blocks/menu-entry.latte', ['p' => ['href' => og_get($v_g, ['href']), 'className' => og_cnv(['text-sm']), 'testid' => 'group'], 'children' => og_markup($c_13)])|noescape}\n                {/foreach}\n              {/capture}\n              {=og_include('compose/Group.latte', ['gap' => '4', 'class' => 'flex-wrap', 'children' => (string) $c_14])|noescape}\n            {/capture}\n            {=og_include('blocks/nav-block.latte', ['p' => ['label' => (og_t($v_landmarkLabel) ? og_uniq(og_tpl('{0}, {1}', [$v_label, $v_landmarkLabel])) : $v_label)], 'children' => og_markup($c_15)])|noescape}\n          {/if}\n        {/capture}\n        {=og_include('compose/Group.latte', ['gap' => '6', 'align' => 'center', 'justify' => 'between', 'class' => 'flex-wrap', 'children' => (string) $c_16])|noescape}\n      {/if}\n      {capture $c_19}\n        {capture $c_17}\n          {=og_text($v_copyright)}\n        {/capture}\n        {=og_include('compose/Text.latte', ['size' => 'sm', 'class' => 'text-muted-foreground', 'children' => (string) $c_17])|noescape}\n        {if og_t(og_eq(og_get($v_status, ['mode']), 'show'))}\n          {capture $c_18}\n            {=og_text(og_get($v_status, ['label']))}\n          {/capture}\n          {=og_include('blocks/pill.latte', ['p' => ['tone' => 'green', 'icon' => 'circle-check'], 'children' => og_markup($c_18)])|noescape}\n        {/if}\n      {/capture}\n      {=og_include('compose/Group.latte', ['gap' => '4', 'align' => 'center', 'justify' => 'between', 'class' => 'flex-wrap border-t border-border pt-6', 'children' => (string) $c_19])|noescape}\n    {/capture}\n    {=og_include('compose/Container.latte', ['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' => (string) $c_20])|noescape}\n  {/capture}\n  {=og_include('compose/Block.latte', ['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' => (string) $c_21])|noescape}\n{/if}\n",
      "path": "blocks/sitemap-footer.latte",
      "target": "blocks/sitemap-footer.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "navigation",
    "kind": "block",
    "tags": [
      "latte",
      "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": "latte",
  "title": "Sitemap Footer",
  "type": "registry:block"
}
