{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Footer Card component",
  "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<!-- The card layout of SitemapFooter: the brand mark and word, then the link groups in one row, in a rounded card. -->\n<script lang=\"ts\" module>\n  import type { Snippet } from \"svelte\";\n  import type { MegaGroup } from \"../blocks/mega-menu.types\";\n\n  export type FooterCardProps = {\n    label: string;\n    brand: string;\n    groups: MegaGroup[];\n    landmarkLabel?: string;\n  };\n</script>\n\n<script lang=\"ts\">\n  import Block from \"../compose/Block.svelte\";\n  import Box from \"../compose/Box.svelte\";\n  import Container from \"../compose/Container.svelte\";\n  import Group from \"../compose/Group.svelte\";\n  import Inline from \"../compose/Inline.svelte\";\n  import List from \"../compose/List.svelte\";\n  import ListItem from \"../compose/ListItem.svelte\";\n  import LucideIcon from \"../icons/LucideIcon.svelte\";\n  import Stack from \"../compose/Stack.svelte\";\n  import Text from \"../compose/Text.svelte\";\n  import MenuEntry from \"../components/menu-entry.svelte\";\n  import NavBlock from \"../components/nav-block.svelte\";\n  import { defaults } from \"../presets/defaults\";\n  import { cn, tpl, uniqLabel } from \"../utils\";\n\n  let { label, brand, groups, landmarkLabel }: FooterCardProps = $props();\n</script>\n\n<Block tag=\"footer\" class=\"py-8\" data-layout=\"card\" aria-label={landmarkLabel} data-slot=\"site-footer\">\n  <Container class={cn(cn(\"mx-auto w-full px-4\", defaults.section.landing), \"px-0\")} data-slot=\"container\">\n    <Box\n      class={cn(\"flex w-full flex-row items-start overflow-hidden bg-muted p-10\", defaults.footer.card)}\n      data-slot=\"footer-card\"\n    >\n      <Group gap=\"4\" align=\"center\" class={cn(\"h-8 shrink-0\", defaults.footer.brand)} data-slot=\"footer-brand\">\n        <Inline class=\"flex size-8 items-center justify-center rounded bg-foreground text-background\">\n          <LucideIcon name=\"hexagon\" size={16} />\n        </Inline>\n        <Text size=\"base\" weight=\"bold\">\n          {brand}\n        </Text>\n      </Group>\n      {#if ((groups?.length ?? 0) > 0)}\n        <NavBlock\n          label={(landmarkLabel ? uniqLabel(tpl(\"{0}, {1}\", label, landmarkLabel)) : label)}\n          class=\"min-w-0 flex-1\"\n        >\n          <Group\n            gap=\"0\"\n            align=\"start\"\n            class={cn(\"flex w-full flex-nowrap justify-between\", defaults.footer.groups)}\n            data-slot=\"footer-groups\"\n          >\n            {#each groups as g (g.id)}\n              <Stack gap=\"4\" data-slot=\"group\">\n                <Text size=\"xs\" weight=\"semibold\" class=\"leading-5\">\n                  {g.title}\n                </Text>\n                <List class=\"m-0 flex list-none flex-col gap-4 p-0\">\n                  {#each g.links as item (item.id)}\n                    <ListItem data-slot=\"links-row\">\n                      <MenuEntry href={item.href} class=\"text-xs leading-5 text-muted-foreground\">\n                        {item.name}\n                      </MenuEntry>\n                    </ListItem>\n                  {/each}\n                </List>\n              </Stack>\n            {/each}\n          </Group>\n        </NavBlock>\n      {/if}\n    </Box>\n  </Container>\n</Block>\n",
      "path": "components/footer-card.svelte",
      "target": "components/footer-card.svelte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "svelte",
      "component"
    ]
  },
  "name": "footer-card",
  "registryDependencies": [
    "block",
    "box",
    "container",
    "group",
    "inline",
    "list",
    "list-item",
    "lucide-icon",
    "mega-menu",
    "menu-entry",
    "nav-block",
    "presets",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "svelte",
  "title": "Footer Card",
  "type": "registry:component"
}
