{
  "$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/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/shell-footer.json\n\npackage blocks\n\nimport (\n\t\"github.com/ui8kit/codegen/generated/templ/ui/box\"\n\t\"github.com/ui8kit/codegen/generated/templ/compose\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/text\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// ShellFooterProps are the props of ShellFooter; the values are the JSON shapes of the TypeScript props.\ntype ShellFooterProps struct {\n\tNav any `json:\"nav\"`\n\tPlace any `json:\"place\"`\n\tLandmarkLabel any `json:\"landmarkLabel\"`\n}\n\n// The footer of DashboardShell: the copyright and a row of links, under the content column (inset) or across the whole shell (full).\ntempl ShellFooter(p ShellFooterProps) {\n\t{{ vNav := p.Nav }}\n\t{{ vPlace := uiutils.Def(p.Place, \"full\") }}\n\t{{ vLandmarkLabel := p.LandmarkLabel }}\n\t@compose.Block(compose.BlockProps{BoxProps: box.BoxProps{Tag: \"footer\", Class: uiutils.S(uiutils.Cnv(\"flex shrink-0 flex-wrap items-center justify-between gap-4 border-t border-border px-6 py-4\", uiutils.Cond(uiutils.T(uiutils.Eq(vPlace, \"full\")), \"bg-card\", \"\"))), Attrs: uiutils.Attrs(\"data-place\", vPlace, \"aria-label\", vLandmarkLabel, \"data-slot\", \"footer\")}}) {\n\t\t@compose.Text(compose.TextProps{Size: \"xs\", TextProps: text.TextProps{Class: \"text-muted-foreground\"}}) {\n\t\t\t{ uiutils.Text(uiutils.Get(vNav, \"copyright\")) }\n\t\t}\n\t\tif uiutils.Gt(uiutils.Len(uiutils.Get(vNav, \"footer\")), float64(0)) {\n\t\t\t@NavBlock(NavBlockProps{Label: uiutils.Cond(uiutils.T(vLandmarkLabel), uiutils.Uniq(uiutils.Tpl(\"{0}, {1}\", uiutils.Get(vNav, \"footerLabel\"), vLandmarkLabel)), uiutils.Get(vNav, \"footerLabel\"))}) {\n\t\t\t\t@compose.List(compose.ListProps{BoxProps: box.BoxProps{Class: \"m-0 flex list-none items-center gap-4 p-0\"}}) {\n\t\t\t\t\tfor _, vF := range uiutils.L(uiutils.Get(vNav, \"footer\")) {\n\t\t\t\t\t\t@compose.ListItem(compose.ListItemProps{BoxProps: box.BoxProps{Attrs: uiutils.Attrs(\"data-slot\", \"footer-row\")}}) {\n\t\t\t\t\t\t\t@MenuEntry(MenuEntryProps{Href: uiutils.Get(vF, \"href\"), Class: uiutils.Cnv(\"text-xs text-muted-foreground\"), Variant: \"muted\", Size: \"sm\"}) {\n\t\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vF, \"name\")) }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n",
      "path": "blocks/shell-footer.templ",
      "target": "blocks/shell-footer.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "shell-footer",
  "registryDependencies": [
    "block",
    "kit-box",
    "kit-text",
    "list",
    "list-item",
    "menu-entry",
    "nav-block",
    "text",
    "utils"
  ],
  "runtime": "templ",
  "title": "Shell Footer",
  "type": "registry:component"
}
