{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The gallery of a product page: the picture (the file of the product's featured media, a placeholder without one) and optional thumbnails below.",
  "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/product-gallery.json\n    The gallery of a product page: the picture (the file of the product's featured media, a placeholder without one) and optional thumbnails below.\n    Props (p): name, image, thumbs. *}\n{var $v_name = ($p['name'] ?? null)}\n{var $v_image = ($p['image'] ?? null)}\n{var $v_thumbs = ($p['thumbs'] ?? 'below')}\n{capture $c_2}\n  {=og_include('blocks/media-frame.latte', ['p' => ['alt' => $v_name, 'src' => $v_image, 'ratio' => '1/1']])|noescape}\n  {if og_t(og_eq($v_thumbs, 'below'))}\n    {capture $c_1}\n      {=og_include('blocks/media-frame.latte', ['p' => ['alt' => $v_name, 'src' => $v_image, 'ratio' => '1/1', 'className' => og_cnv(['ring-2 ring-foreground'])]])|noescape}\n      {=og_include('blocks/media-frame.latte', ['p' => ['alt' => $v_name, 'ratio' => '1/1']])|noescape}\n      {=og_include('blocks/media-frame.latte', ['p' => ['alt' => $v_name, 'ratio' => '1/1']])|noescape}\n    {/capture}\n    {=og_include('compose/Grid.latte', ['cols' => '3', 'class' => 'gap-4', 'attrs' => og_attrs(['data-slot', 'thumbs']), 'children' => (string) $c_1])|noescape}\n  {/if}\n{/capture}\n{=og_include('compose/Stack.latte', ['gap' => '4', 'align' => 'stretch', 'attrs' => og_attrs(['data-slot', 'gallery']), 'children' => (string) $c_2])|noescape}\n",
      "path": "blocks/product-gallery.latte",
      "target": "blocks/product-gallery.latte"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "latte",
      "component"
    ]
  },
  "name": "product-gallery",
  "registryDependencies": [
    "grid",
    "media-frame",
    "stack",
    "utils"
  ],
  "runtime": "latte",
  "title": "Product Gallery",
  "type": "registry:component"
}
