{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Customer quotes as cards or plain figures.",
  "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/testimonial-grid.json\n    Customer quotes as cards, plain figures or social posts, in a grid, a masonry, a scroll strip, one featured quote or one narrow column. Axes: layout (grid, single, stack, masonry, strip), columns, item kind (card, plain, social), item avatar, item rating, item mark (a company glyph), density, tone. A carousel is the Carousel port contract around the single layout.\n    Props (p): id, title, quotes, empty, labels, layout, cols, item, tone, density, landmarkLabel. -#}\n{%- set v_id = og_def(p['id'], none) -%}\n{%- set v_title = og_def(p['title'], none) -%}\n{%- set v_quotes = og_def(p['quotes'], none) -%}\n{%- set v_empty = og_def(p['empty'], '') -%}\n{%- set v_labels = og_def(p['labels'], none) -%}\n{%- set v_layout = og_def(p['layout'], 'grid') -%}\n{%- set v_cols = og_def(p['cols'], '1-3') -%}\n{%- set v_item = og_def(p['item'], none) -%}\n{%- set v_tone = og_def(p['tone'], 'default') -%}\n{%- set v_density = og_def(p['density'], 'default') -%}\n{%- set v_landmarkLabel = og_def(p['landmarkLabel'], none) -%}\n{%- set c_3 -%}\n  {%- if og_t(og_eq(og_len(v_quotes), 0)) %}\n    {{ og_include('blocks/empty-state.html.j2', {'p': {'icon': 'message-square-quote', 'title': v_empty}}) }}\n  {%- elif og_t(og_or([og_eq(v_layout, 'masonry'), og_eq(v_layout, 'strip')])) %}\n    {%- set c_1 -%}\n      {%- for v_q in og_l(v_quotes) %}\n        {{ og_include('blocks/quote-card.html.j2', {'p': {'q': v_q, 'labels': v_labels, 'item': v_item, 'layout': v_layout}}) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ og_include('compose/block.html.j2', {'p': {'Tag': 'div', 'Class': og_s(('columns-1 gap-4 md:columns-2 xl:columns-3' if og_t(og_eq(v_layout, 'masonry')) else 'flex snap-x gap-4 overflow-x-auto pb-2')), 'Attrs': og_attrs(['data-slot', 'items'])}, 'children': c_1}) }}\n  {%- else %}\n    {%- set c_2 -%}\n      {%- for v_q in og_l(v_quotes) %}\n        {%- set v_i = loop.index0 -%}\n        {%- if og_t(og_or([not (og_eq(v_layout, 'single')), og_eq(v_i, 0)])) %}\n          {{ og_include('blocks/quote-card.html.j2', {'p': {'q': v_q, 'labels': v_labels, 'item': v_item, 'layout': v_layout}}) }}\n        {%- endif %}\n      {%- endfor %}\n    {%- endset -%}\n    {{ og_include('compose/grid.html.j2', {'p': {'Cols': og_s((v_cols if og_t(og_eq(v_layout, 'grid')) else '1')), 'Class': 'gap-4', 'Attrs': og_attrs(['data-slot', 'items'])}, 'children': c_2}) }}\n  {%- endif %}\n{%- endset -%}\n{{ og_include('blocks/section-frame.html.j2', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'align': ('center' if og_t(og_eq(v_layout, 'single')) else 'start'), 'measure': ('default' if og_t(og_eq(v_layout, 'grid')) else '2xl'), 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_3)}) }}\n",
      "path": "blocks/testimonial-grid.html.j2",
      "target": "blocks/testimonial-grid.html.j2"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "proof",
    "kind": "block",
    "tags": [
      "jinja2",
      "block"
    ]
  },
  "name": "testimonial-grid",
  "registryDependencies": [
    "block",
    "empty-state",
    "grid",
    "quote-card",
    "section-frame",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Testimonial Grid",
  "type": "registry:block"
}
