{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Cards with a picture on top and a read link, or with a muted glyph panel on top like an index of categories, in three or four columns.",
  "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/feature-showcase.json\n    Features as cards under a centered heading. Axes: item (picture: a picture on top, then the title, the text and a read link; panel: a muted panel with a large glyph on top, then the title and the text), cols (3, 4), tone.\n    Props (p): id, title, lead, features, empty, more, item, cols, tone, landmarkLabel. -#}\n{%- set v_id = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_lead = (p.lead ?? '') -%}\n{%- set v_features = (p.features ?? null) -%}\n{%- set v_empty = (p.empty ?? '') -%}\n{%- set v_more = (p.more ?? null) -%}\n{%- set v_item = (p.item ?? 'picture') -%}\n{%- set v_cols = (p.cols ?? '3') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_8 -%}\n  {%- if og_t(og_eq(og_len(v_features), 0)) %}\n    {{ include('blocks/empty-state.html.twig', {'p': {'icon': 'layout-grid', 'title': v_empty}}, with_context = false) }}\n  {%- else %}\n    {%- set c_7 -%}\n      {%- for v_f in og_l(v_features) %}\n        {%- set c_6 -%}\n          {%- if og_t(og_eq(v_item, 'picture')) %}\n            {{ include('blocks/media-frame.html.twig', {'p': {'alt': og_get(v_f, ['title']), 'src': og_get(v_f, ['image'])}}, with_context = false) }}\n          {%- else %}\n            {%- set c_1 -%}\n              {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_f, ['icon'])), 'size': 32}, with_context = false) }}\n            {%- endset -%}\n            {{ include('compose/Box.html.twig', {'class': 'flex aspect-video items-center justify-center rounded bg-muted text-foreground', 'attrs': og_attrs(['data-slot', 'showcase-panel']), 'children': c_1}, with_context = false) }}\n          {%- endif %}\n          {%- set c_5 -%}\n            {%- set c_2 -%}\n              {{ og_text(og_get(v_f, ['title'])) }}\n            {%- endset -%}\n            {{ include('compose/Title.html.twig', {'as': 3, 'size': 'base', 'weight': 'semibold', 'children': c_2}, with_context = false) }}\n            {%- set c_3 -%}\n              {{ og_text(og_get(v_f, ['text'])) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'size': 'sm', 'class': 'text-muted-foreground', 'children': c_3}, with_context = false) }}\n            {%- if og_t(og_eq(v_item, 'picture')) %}\n              {%- set c_4 -%}\n                {{ og_text(v_more) }}\n                {{ include('icons/LucideIcon.html.twig', {'name': 'arrow-right', 'size': 16}, with_context = false) }}\n              {%- endset -%}\n              {{ include('blocks/menu-entry.html.twig', {'p': {'href': og_get(v_f, ['href']), 'className': og_cnv(['mt-auto gap-2 pt-2 text-sm font-medium']), 'size': 'sm', 'testid': 'read'}, 'children': og_markup(c_4)}, with_context = false) }}\n            {%- endif %}\n          {%- endset -%}\n          {{ include('compose/CardContent.html.twig', {'class': 'flex flex-1 flex-col gap-2', 'children': c_5}, with_context = false) }}\n        {%- endset -%}\n        {{ include('compose/Card.html.twig', {'variant': 'default', 'class': 'h-full gap-4 overflow-hidden', 'children': c_6}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Box.html.twig', {'class': og_s((og_t(og_eq(v_cols, '4')) ? 'grid grid-cols-1 gap-6 text-start sm:grid-cols-2 lg:grid-cols-4' : 'grid grid-cols-1 gap-6 text-start sm:grid-cols-2 lg:grid-cols-3')), 'children': c_7}, with_context = false) }}\n  {%- endif %}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'lead': v_lead, 'tone': v_tone, 'align': 'center', 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_8)}, with_context = false) }}\n",
      "path": "blocks/feature-showcase.html.twig",
      "target": "blocks/feature-showcase.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "feature-showcase",
  "registryDependencies": [
    "box",
    "card",
    "card-content",
    "empty-state",
    "lucide-icon",
    "media-frame",
    "menu-entry",
    "section-frame",
    "text",
    "title",
    "utils"
  ],
  "runtime": "twig",
  "title": "Feature Showcase",
  "type": "registry:block"
}
