{
  "$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 = (p.id ?? null) -%}\n{%- set v_title = (p.title ?? null) -%}\n{%- set v_quotes = (p.quotes ?? null) -%}\n{%- set v_empty = (p.empty ?? '') -%}\n{%- set v_labels = (p.labels ?? null) -%}\n{%- set v_layout = (p.layout ?? 'grid') -%}\n{%- set v_cols = (p.cols ?? '1-3') -%}\n{%- set v_item = (p.item ?? null) -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_3 -%}\n  {%- if og_t(og_eq(og_len(v_quotes), 0)) %}\n    {{ include('blocks/empty-state.html.twig', {'p': {'icon': 'message-square-quote', 'title': v_empty}}, with_context = false) }}\n  {%- elseif 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        {{ include('blocks/quote-card.html.twig', {'p': {'q': v_q, 'labels': v_labels, 'item': v_item, 'layout': v_layout}}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Block.html.twig', {'tag': 'div', 'class': og_s((og_t(og_eq(v_layout, 'masonry')) ? 'columns-1 gap-4 md:columns-2 xl:columns-3' : 'flex snap-x gap-4 overflow-x-auto pb-2')), 'attrs': og_attrs(['data-slot', 'items']), 'children': c_1}, with_context = false) }}\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          {{ include('blocks/quote-card.html.twig', {'p': {'q': v_q, 'labels': v_labels, 'item': v_item, 'layout': v_layout}}, with_context = false) }}\n        {%- endif %}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Grid.html.twig', {'cols': og_s((og_t(og_eq(v_layout, 'grid')) ? v_cols : '1')), 'class': 'gap-4', 'attrs': og_attrs(['data-slot', 'items']), 'children': c_2}, with_context = false) }}\n  {%- endif %}\n{%- endset -%}\n{{ include('blocks/section-frame.html.twig', {'p': {'id': v_id, 'title': v_title, 'tone': v_tone, 'density': v_density, 'align': (og_t(og_eq(v_layout, 'single')) ? 'center' : 'start'), 'measure': (og_t(og_eq(v_layout, 'grid')) ? 'default' : '2xl'), 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_3)}, with_context = false) }}\n",
      "path": "blocks/testimonial-grid.html.twig",
      "target": "blocks/testimonial-grid.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "proof",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "testimonial-grid",
  "registryDependencies": [
    "block",
    "empty-state",
    "grid",
    "quote-card",
    "section-frame",
    "utils"
  ],
  "runtime": "twig",
  "title": "Testimonial Grid",
  "type": "registry:block"
}
