{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Copyright and links.",
  "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 page footer: the copyright line and the same two links. Axes: layout (minimal, centered), density\n * (default, compact).\n */\nimport { type ReactNode } from \"react\";\nimport { Block, Container, Group, Text } from \"../compose\";\nimport { MenuEntry } from \"../components/menu-entry\";\nimport { NavBlock } from \"../components/nav-block\";\nimport { cn, tpl, uniqLabel } from \"../utils\";\nimport type { SiteFooterLabels } from \"./site-footer.types\";\nimport type { SiteRoutes } from \"./site-header.types\";\n\nexport type SiteFooterProps = {\n  labels: SiteFooterLabels;\n  routes?: SiteRoutes;\n  layout?: \"minimal\" | \"centered\";\n  density?: \"default\" | \"compact\";\n  landmarkLabel?: string;\n};\n\nexport function SiteFooter({\n  labels,\n  routes,\n  layout = \"minimal\",\n  density = \"default\",\n  landmarkLabel,\n}: SiteFooterProps) {\n  return (\n    <Block\n      tag=\"footer\"\n      className=\"mt-12 border-t border-border\"\n      data-layout={layout}\n      aria-label={landmarkLabel}\n      data-slot=\"site-footer\"\n    >\n      <Container\n        className={cn(\n          \"mx-auto w-full max-w-6xl px-4\",\n          \"flex flex-wrap items-center gap-4\",\n          (((density as string) === \"compact\") ? \"py-4\" : \"py-6\"),\n          (((layout as string) === \"centered\") ? \"flex-col text-center\" : \"justify-between\")\n        )}\n        data-slot=\"container\"\n      >\n        <Text size=\"sm\" className=\"text-muted-foreground\" data-slot=\"copyright\">\n          {labels.copyright}\n        </Text>\n        <NavBlock label={(landmarkLabel ? uniqLabel(tpl(\"{0}, {1}\", labels.nav, landmarkLabel)) : labels.nav)}>\n          <Group gap=\"4\">\n            <MenuEntry href={routes?.home} className=\"font-semibold\">\n              {labels.home}\n            </MenuEntry>\n            <MenuEntry href={routes?.pricing} className=\"font-semibold\">\n              {labels.pricing}\n            </MenuEntry>\n          </Group>\n        </NavBlock>\n      </Container>\n    </Block>\n  );\n}\n",
      "path": "blocks/site-footer.tsx",
      "target": "blocks/site-footer.tsx"
    },
    {
      "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\nexport type SiteFooterLabels = {\n  copyright: string;\n  nav: string;\n  home: string;\n  pricing: string;\n};\n",
      "path": "blocks/site-footer.types.ts",
      "target": "blocks/site-footer.types.ts"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "navigation",
    "kind": "block",
    "tags": [
      "react",
      "block"
    ]
  },
  "name": "site-footer",
  "registryDependencies": [
    "compose",
    "menu-entry",
    "nav-block",
    "site-header",
    "utils"
  ],
  "runtime": "react",
  "title": "Site Footer",
  "type": "registry:block"
}
