{
  "$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{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_playLabel = ($p['playLabel'] ?? null)}\n{var $v_byLine = ($p['byLine'] ?? null)}\n{var $v_cols = ($p['cols'] ?? '1-3')}\n{var $v_caption = ($p['caption'] ?? 'below')}\n{var $v_tone = ($p['tone'] ?? 'default')}\n{var $v_density = ($p['density'] ?? 'default')}\n{var $v_landmarkLabel = ($p['landmarkLabel'] ?? null)}\n{capture $c_11}\n  {if og_t(og_eq(og_len($v_quotes), 0))}\n    {=og_include('blocks/empty-state.latte', ['p' => ['icon' => 'video', 'title' => $v_empty]])|noescape}\n  {else}\n    {capture $c_10}\n      {foreach og_l($v_quotes) as $v_q}\n        {capture $c_9}\n          {capture $c_5}\n            {=og_include('blocks/media-frame.latte', ['p' => ['alt' => og_get($v_q, ['author']), 'src' => og_get($v_q, ['image'])]])|noescape}\n            {capture $c_1}\n              {=og_include('icons/LucideIcon.latte', ['name' => 'play', 'size' => 20])|noescape}\n            {/capture}\n            {=og_include('compose/Button.latte', ['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' => (string) $c_1])|noescape}\n            {if og_t(og_eq($v_caption, 'overlay'))}\n              {capture $c_4}\n                {capture $c_2}\n                  {=og_text(og_get($v_q, ['author']))}\n                {/capture}\n                {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_2])|noescape}\n                {capture $c_3}\n                  {=og_text(og_tpl($v_byLine, [og_get($v_q, ['role']), og_get($v_q, ['company'])]))}\n                {/capture}\n                {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_3])|noescape}\n              {/capture}\n              {=og_include('compose/Box.latte', ['class' => 'absolute inset-x-0 bottom-0 rounded bg-background p-4', 'attrs' => og_attrs(['data-slot', 'caption']), 'children' => (string) $c_4])|noescape}\n            {/if}\n          {/capture}\n          {=og_include('compose/Box.latte', ['class' => 'relative', 'children' => (string) $c_5])|noescape}\n          {if og_t(og_eq($v_caption, 'below'))}\n            {capture $c_8}\n              {capture $c_6}\n                {=og_text(og_get($v_q, ['author']))}\n              {/capture}\n              {=og_include('compose/Text.latte', ['size' => 'sm', 'weight' => 'semibold', 'children' => (string) $c_6])|noescape}\n              {capture $c_7}\n                {=og_text(og_tpl($v_byLine, [og_get($v_q, ['role']), og_get($v_q, ['company'])]))}\n              {/capture}\n              {=og_include('compose/Text.latte', ['size' => 'xs', 'class' => 'text-muted-foreground', 'children' => (string) $c_7])|noescape}\n            {/capture}\n            {=og_include('compose/Text.latte', ['tag' => 'figcaption', 'attrs' => og_attrs(['data-slot', 'caption']), 'children' => (string) $c_8])|noescape}\n          {/if}\n        {/capture}\n        {=og_include('blocks/figure-block.latte', ['p' => ['className' => og_cnv(['m-0 flex flex-col gap-4']), 'testid' => 'item'], 'children' => og_markup($c_9)])|noescape}\n      {/foreach}\n    {/capture}\n    {=og_include('compose/Grid.latte', ['cols' => og_s($v_cols), 'class' => 'gap-4', 'attrs' => og_attrs(['data-slot', 'items']), 'children' => (string) $c_10])|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, 'landmarkLabel' => $v_landmarkLabel], 'children' => og_markup($c_11)])|noescape}\n",
      "path": "blocks/video-grid.latte",
      "target": "blocks/video-grid.latte"
    }
  ],
  "meta": {
    "category": "marketing",
    "group": "proof",
    "kind": "block",
    "tags": [
      "latte",
      "block"
    ]
  },
  "name": "video-grid",
  "registryDependencies": [
    "box",
    "button",
    "empty-state",
    "figure-block",
    "grid",
    "lucide-icon",
    "media-frame",
    "section-frame",
    "text",
    "utils"
  ],
  "runtime": "latte",
  "title": "Video Grid",
  "type": "registry:block"
}
