{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The channels of the community as three cards: a glyph over the name and one line.",
  "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-channels.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/icons\"\n\t\"github.com/ui8kit/codegen/generated/templ/ui/text\"\n\tuiutils \"github.com/ui8kit/codegen/generated/templ/orgutils\"\n)\n\n// FooterChannelsProps are the props of FooterChannels; the values are the JSON shapes of the TypeScript props.\ntype FooterChannelsProps struct {\n\tExtras any `json:\"extras\"`\n}\n\n// The channels of the community as three cards: a glyph over the name and one line.\ntempl FooterChannels(p FooterChannelsProps) {\n\t{{ vExtras := p.Extras }}\n\tif uiutils.Gt(uiutils.Len(uiutils.Get(vExtras, \"channels\")), float64(0)) {\n\t\t@compose.Box(compose.BoxProps{BoxProps: box.BoxProps{Class: \"grid grid-cols-1 gap-4 sm:grid-cols-3\", Attrs: uiutils.Attrs(\"data-slot\", \"footer-channels\")}}) {\n\t\t\tfor vI, vC := range uiutils.L(uiutils.Get(vExtras, \"channels\")) {\n\t\t\t\tif uiutils.Lt(float64(vI), float64(3)) {\n\t\t\t\t\t@compose.Stack(compose.StackProps{Gap: \"2\", Align: \"start\", BoxProps: box.BoxProps{Class: \"rounded bg-card inset-ring inset-ring-border p-4\", Attrs: uiutils.Attrs(\"data-slot\", \"footer-channel\")}}) {\n\t\t\t\t\t\t@compose.Inline(compose.InlineProps{TextProps: text.TextProps{Class: \"flex size-10 shrink-0 items-center justify-center rounded bg-muted text-foreground\"}}) {\n\t\t\t\t\t\t\t@icons.LucideIcon(icons.LucideIconProps{Name: uiutils.S(uiutils.Get(vC, \"icon\")), Size: 20})\n\t\t\t\t\t\t}\n\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{ uiutils.Text(uiutils.Get(vC, \"title\")) }\n\t\t\t\t\t\t}\n\t\t\t\t\t\t@compose.Text(compose.TextProps{Size: \"xs\", TextProps: text.TextProps{Class: \"text-muted-foreground\"}}) {\n\t\t\t\t\t\t\t{ uiutils.Text(uiutils.Get(vC, \"text\")) }\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-channels.templ",
      "target": "blocks/footer-channels.templ"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "templ",
      "component"
    ]
  },
  "name": "footer-channels",
  "registryDependencies": [
    "box",
    "inline",
    "kit-box",
    "kit-text",
    "lucide-icon",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "templ",
  "title": "Footer Channels",
  "type": "registry:component"
}
