{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "Customer videos as thumbnails with a play button. Playing is a port contract (VideoEmbed).",
  "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/video-grid.json\n    Video testimonials as thumbnails: a picture, a play button, the name and the company. The player is a port contract (VideoEmbed); here the button emits `play`. Axes: columns (2, 3), caption (below, overlay), tone, density.\n    Props (p): id, title, quotes, empty, playLabel, byLine, cols, caption, 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_playLabel = (p.playLabel ?? null) -%}\n{%- set v_byLine = (p.byLine ?? null) -%}\n{%- set v_cols = (p.cols ?? '1-3') -%}\n{%- set v_caption = (p.caption ?? 'below') -%}\n{%- set v_tone = (p.tone ?? 'default') -%}\n{%- set v_density = (p.density ?? 'default') -%}\n{%- set v_landmarkLabel = (p.landmarkLabel ?? null) -%}\n{%- set c_11 -%}\n  {%- if og_t(og_eq(og_len(v_quotes), 0)) %}\n    {{ include('blocks/empty-state.html.twig', {'p': {'icon': 'video', 'title': v_empty}}, with_context = false) }}\n  {%- else %}\n    {%- set c_10 -%}\n      {%- for v_q in og_l(v_quotes) %}\n        {%- set c_9 -%}\n          {%- set c_5 -%}\n            {{ include('blocks/media-frame.html.twig', {'p': {'alt': og_get(v_q, ['author']), 'src': og_get(v_q, ['image'])}}, with_context = false) }}\n            {%- set c_1 -%}\n              {{ include('icons/LucideIcon.html.twig', {'name': 'play', 'size': 20}, with_context = false) }}\n            {%- endset -%}\n            {{ include('compose/Button.html.twig', {'variant': 'default', 'size': 'default', 'type': 'button', 'class': 'absolute top-1/2 left-1/2 size-12 -translate-x-1/2 -translate-y-1/2 rounded p-0', 'attrs': og_attrs(['aria-label', og_tpl(v_playLabel, [og_get(v_q, ['author'])])]), 'children': c_1}, with_context = false) }}\n            {%- if og_t(og_eq(v_caption, 'overlay')) %}\n              {%- set c_4 -%}\n                {%- set c_2 -%}\n                  {{ og_text(og_get(v_q, ['author'])) }}\n                {%- endset -%}\n                {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_2}, with_context = false) }}\n                {%- set c_3 -%}\n                  {{ og_text(og_tpl(v_byLine, [og_get(v_q, ['role']), og_get(v_q, ['company'])])) }}\n                {%- endset -%}\n                {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_3}, with_context = false) }}\n              {%- endset -%}\n              {{ include('compose/Box.html.twig', {'class': 'absolute inset-x-0 bottom-0 rounded bg-background p-4', 'attrs': og_attrs(['data-slot', 'caption']), 'children': c_4}, with_context = false) }}\n            {%- endif %}\n          {%- endset -%}\n          {{ include('compose/Box.html.twig', {'class': 'relative', 'children': c_5}, with_context = false) }}\n          {%- if og_t(og_eq(v_caption, 'below')) %}\n            {%- set c_8 -%}\n              {%- set c_6 -%}\n                {{ og_text(og_get(v_q, ['author'])) }}\n              {%- endset -%}\n              {{ include('compose/Text.html.twig', {'size': 'sm', 'weight': 'semibold', 'children': c_6}, with_context = false) }}\n              {%- set c_7 -%}\n                {{ og_text(og_tpl(v_byLine, [og_get(v_q, ['role']), og_get(v_q, ['company'])])) }}\n              {%- endset -%}\n              {{ include('compose/Text.html.twig', {'size': 'xs', 'class': 'text-muted-foreground', 'children': c_7}, with_context = false) }}\n            {%- endset -%}\n            {{ include('compose/Text.html.twig', {'tag': 'figcaption', 'attrs': og_attrs(['data-slot', 'caption']), 'children': c_8}, with_context = false) }}\n          {%- endif %}\n        {%- endset -%}\n        {{ include('blocks/figure-block.html.twig', {'p': {'className': og_cnv(['m-0 flex flex-col gap-4']), 'testid': 'item'}, 'children': og_markup(c_9)}, with_context = false) }}\n      {%- endfor %}\n    {%- endset -%}\n    {{ include('compose/Grid.html.twig', {'cols': og_s(v_cols), 'class': 'gap-4', 'attrs': og_attrs(['data-slot', 'items']), 'children': c_10}, 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, 'landmarkLabel': v_landmarkLabel}, 'children': og_markup(c_11)}, with_context = false) }}\n",
      "path": "blocks/video-grid.html.twig",
      "target": "blocks/video-grid.html.twig"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "proof",
    "kind": "block",
    "tags": [
      "twig",
      "block"
    ]
  },
  "name": "video-grid",
  "registryDependencies": [
    "box",
    "button",
    "empty-state",
    "figure-block",
    "grid",
    "lucide-icon",
    "media-frame",
    "section-frame",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Video Grid",
  "type": "registry:block"
}
