{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The footer of DashboardShell: the copyright and a row of links, under the content column (inset) or across the whole shell (full).",
  "devDependencies": [],
  "digest": "0.1.0",
  "files": [
    {
      "content": "// Code generated by packages/kit-compose/src/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/**\n * The footer of DashboardShell: the copyright and a row of links, under the content column (inset) or across the\n * whole shell (full).\n */\nimport { type ReactNode } from \"react\";\nimport { Block, List, ListItem, Text } from \"../compose\";\nimport { MenuEntry } from \"../components/menu-entry\";\nimport { NavBlock } from \"../components/nav-block\";\nimport { cn, tpl, uniqLabel } from \"../utils\";\nimport type { ShellNav } from \"../blocks/dashboard-shell.types\";\n\nexport type ShellFooterProps = {\n  nav: ShellNav;\n  place?: \"full\" | \"inset\";\n  landmarkLabel?: string;\n};\n\nexport function ShellFooter({ nav, place = \"full\", landmarkLabel }: ShellFooterProps) {\n  return (\n    <Block\n      tag=\"footer\"\n      className={cn(\n        \"flex shrink-0 flex-wrap items-center justify-between gap-4 border-t border-border px-6 py-4\",\n        (((place as string) === \"full\") ? \"bg-card\" : \"\")\n      )}\n      data-place={place}\n      aria-label={landmarkLabel}\n      data-slot=\"footer\"\n    >\n      <Text size=\"xs\" className=\"text-muted-foreground\">\n        {nav.copyright}\n      </Text>\n      {((nav.footer?.length ?? 0) > 0) ? (\n        <NavBlock\n          label={\n            landmarkLabel ? uniqLabel(tpl(\"{0}, {1}\", nav.footerLabel, landmarkLabel))\n            : nav.footerLabel\n          }\n        >\n          <List className=\"m-0 flex list-none items-center gap-4 p-0\">\n            {(nav.footer ?? []).map((f) => (\n              <ListItem key={f.id} data-slot=\"footer-row\">\n                <MenuEntry href={f.href} className=\"text-xs text-muted-foreground\" variant=\"muted\" size=\"sm\">\n                  {f.name}\n                </MenuEntry>\n              </ListItem>\n            ))}\n          </List>\n        </NavBlock>\n      ) : null}\n    </Block>\n  );\n}\n",
      "path": "components/shell-footer.tsx",
      "target": "components/shell-footer.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "react",
      "component"
    ]
  },
  "name": "shell-footer",
  "registryDependencies": [
    "compose",
    "dashboard-shell",
    "menu-entry",
    "nav-block",
    "utils"
  ],
  "runtime": "react",
  "title": "Shell Footer",
  "type": "registry:component"
}
