{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The first three link groups of FooterSplit as small columns beside each other.",
  "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/footer-link-columns.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// FooterLinkColumnsProps are the props of FooterLinkColumns; the values are the JSON shapes of the TypeScript props.\ntype FooterLinkColumnsProps struct {\n\tLabel any `json:\"label\"`\n\tGroups any `json:\"groups\"`\n\tLandmarkLabel any `json:\"landmarkLabel\"`\n}\n\n// The first three link groups of FooterSplit as small columns beside each other.\ntempl FooterLinkColumns(p FooterLinkColumnsProps) {\n\t{{ vLabel := p.Label }}\n\t{{ vGroups := p.Groups }}\n\t{{ vLandmarkLabel := p.LandmarkLabel }}\n\tif uiutils.Gt(uiutils.Len(vGroups), float64(0)) {\n\t\t@compose.Block(compose.BlockProps{BoxProps: box.BoxProps{Tag: \"nav\", Attrs: uiutils.Attrs(\"aria-label\", uiutils.Coalesce(vLandmarkLabel, vLabel), \"data-slot\", \"footer-link-columns\")}}) {\n\t\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: \"grid grid-cols-2 gap-8 sm:grid-cols-3\"}}) {\n\t\t\t\tfor vI, vG := range uiutils.L(vGroups) {\n\t\t\t\t\tif uiutils.Lt(float64(vI), float64(3)) {\n\t\t\t\t\t\t@compose.Stack(compose.StackProps{Gap: \"2\", BoxProps: box.BoxProps{Attrs: uiutils.Attrs(\"data-slot\", \"group\")}}) {\n\t\t\t\t\t\t\t@compose.Text(compose.TextProps{Size: \"sm\", Weight: \"semibold\", TextProps: text.TextProps{}}) {\n\t\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vG, \"title\")) }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t@compose.List(compose.ListProps{BoxProps: box.BoxProps{Class: \"m-0 flex list-none flex-col gap-2 p-0\"}}) {\n\t\t\t\t\t\t\t\tfor _, vItem := range uiutils.L(uiutils.Get(vG, \"links\")) {\n\t\t\t\t\t\t\t\t\t@compose.ListItem(compose.ListItemProps{BoxProps: box.BoxProps{Attrs: uiutils.Attrs(\"data-slot\", \"links-row\")}}) {\n\t\t\t\t\t\t\t\t\t\t@MenuEntry(MenuEntryProps{Href: uiutils.Get(vItem, \"href\"), Class: uiutils.Cnv(\"text-sm text-muted-foreground\"), Variant: \"muted\", Size: \"sm\"}) {\n\t\t\t\t\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vItem, \"name\")) }\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\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/footer-link-columns.templ",
      "target": "blocks/footer-link-columns.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "footer-link-columns",
  "registryDependencies": [
    "block",
    "box",
    "kit-box",
    "kit-text",
    "list",
    "list-item",
    "menu-entry",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "templ",
  "title": "Footer Link Columns",
  "type": "registry:component"
}
