{
  "$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 = og_def(p['id'], none) -%}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_lead = og_def(p['lead'], '') -%}\n{%- set v_features = og_def(p['features'], none) -%}\n{%- set v_empty = og_def(p['empty'], '') -%}\n{%- set v_more = og_def(p['more'], none) -%}\n{%- set v_item = og_def(p['item'], 'picture') -%}\n{%- set v_cols = og_def(p['cols'], '3') -%}\n{%- set v_tone = og_def(p['tone'], 'default') -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set c_8 -%}\n  {%- if og_t(og_eq(og_len(v_features), 0)) %}\n    {{ og_include('blocks/empty-state.html.j2', {'p': {'icon': 'layout-grid', 'title': v_empty}}) }}\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            {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': og_get(v_f, ['title']), 'src': og_get(v_f, ['image'])}}) }}\n          {%- else %}\n            {%- set c_1 -%}\n              {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': og_s(og_get(v_f, ['icon'])), 'Size': 32}}) }}\n            {%- endset -%}\n            {{ og_include('compose/box.html.j2', {'p': {'Class': 'flex aspect-video items-center justify-center rounded bg-muted text-foreground', 'Attrs': og_attrs(['data-slot', 'showcase-panel'])}, 'children': c_1}) }}\n          {%- endif %}\n          {%- set c_5 -%}\n            {%- set c_2 -%}\n              {{ og_text(og_get(v_f, ['title'])) }}\n            {%- endset -%}\n            {{ og_include('compose/title.html.j2', {'p': {'As': 3, 'Size': 'base', 'Weight': 'semibold'}, 'children': c_2}) }}\n            {%- set c_3 -%}\n              {{ og_text(og_get(v_f, ['text'])) }}\n            {%- endset -%}\n            {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Class': 'text-muted-foreground'}, 'children': c_3}) }}\n            {%- if og_t(og_eq(v_item, 'picture')) %}\n              {%- set c_4 -%}\n                {{ og_text(v_more) }}\n                {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': 'arrow-right', 'Size': 16}}) }}\n              {%- endset -%}\n              {{ og_include('blocks/menu-entry.html.j2', {'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)}) }}\n            {%- endif %}\n          {%- endset -%}\n          {{ og_include('compose/card-content.html.j2', {'p': {'Class': 'flex flex-1 flex-col gap-2'}, 'children': c_5}) }}\n        {%- endset -%}\n        {{ og_include('compose/card.html.j2', {'p': {'Variant': 'default', 'Class': 'h-full gap-4 overflow-hidden'}, 'children': c_6}) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ og_include('compose/box.html.j2', {'p': {'Class': og_s(('grid grid-cols-1 gap-6 text-start sm:grid-cols-2 lg:grid-cols-4' if og_t(og_eq(v_cols, '4')) else 'grid grid-cols-1 gap-6 text-start sm:grid-cols-2 lg:grid-cols-3'))}, 'children': c_7}) }}\n  {%- endif %}\n{%- endset -%}\n{{ og_include('blocks/section-frame.html.j2', {'p': {'id': v_id, 'title': v_title, 'lead': v_lead, 'tone': v_tone, 'align': 'center', 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_8)}) }}\n",
      "path": "blocks/feature-showcase.html.j2",
      "target": "blocks/feature-showcase.html.j2"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "features",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "feature-showcase",
  "registryDependencies": [
    "box",
    "card",
    "card-content",
    "empty-state",
    "lucide-icon",
    "media-frame",
    "menu-entry",
    "section-frame",
    "text",
    "title",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Feature Showcase",
  "type": "registry:block"
}
