{
  "$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{var $v_id = ($p['id'] ?? null)}\n{var $v_title = ($p['title'] ?? null)}\n{var $v_quotes = ($p['quotes'] ?? null)}\n{var $v_empty = ($p['empty'] ?? '')}\n{var $v_labels = ($p['labels'] ?? null)}\n{var $v_layout = ($p['layout'] ?? 'grid')}\n{var $v_cols = ($p['cols'] ?? '1-3')}\n{var $v_item = ($p['item'] ?? null)}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_density = ($p['density'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_3}\n  {if og_t(og_eq(og_len($v_quotes), 0))}\n    {=og_include('blocks/empty-state.latte', ['p' => ['icon' => 'message-square-quote', 'title' => $v_empty]])|noescape}\n  {elseif og_t(og_or([og_eq($v_layout, 'masonry'), og_eq($v_layout, 'strip')]))}\n    {capture $c_1}\n      {foreach og_l($v_quotes) as $v_q}\n        {=og_include('blocks/quote-card.latte', ['p' => ['q' => $v_q, 'labels' => $v_labels, 'item' => $v_item, 'layout' => $v_layout]])|noescape}\n      {/foreach}\n    {/capture}\n    {=og_include('compose/Block.latte', ['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' => (string) $c_1])|noescape}\n  {else}\n    {capture $c_2}\n      {foreach og_l($v_quotes) as $v_q}\n        {var $v_i = $iterator->counter0}\n        {if og_t(og_or([!(og_eq($v_layout, 'single')), og_eq($v_i, 0)]))}\n          {=og_include('blocks/quote-card.latte', ['p' => ['q' => $v_q, 'labels' => $v_labels, 'item' => $v_item, 'layout' => $v_layout]])|noescape}\n        {/if}\n      {/foreach}\n    {/capture}\n    {=og_include('compose/Grid.latte', ['cols' => og_s((og_t(og_eq($v_layout, 'grid')) ? $v_cols : '1')), 'class' => 'gap-4', 'attrs' => og_attrs(['data-slot', 'items']), 'children' => (string) $c_2])|noescape}\n  {/if}\n{/capture}\n{=og_include('blocks/section-frame.latte', ['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)])|noescape}\n",
      "path": "blocks/testimonial-grid.latte",
      "target": "blocks/testimonial-grid.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "proof",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "testimonial-grid",
  "registryDependencies": [
    "block",
    "empty-state",
    "grid",
    "quote-card",
    "section-frame",
    "utils"
  ],
  "runtime": "latte",
  "title": "Testimonial Grid",
  "type": "registry:block"
}
