{
  "$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{%- set v_name = og_def(p['name'], none) -%}\n{%- set v_image = og_def(p['image'], none) -%}\n{%- set v_thumbs = og_def(p['thumbs'], 'below') -%}\n{%- set c_2 -%}\n  {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': v_name, 'src': v_image, 'ratio': '1/1'}}) }}\n  {%- if og_t(og_eq(v_thumbs, 'below')) %}\n    {%- set c_1 -%}\n      {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': v_name, 'src': v_image, 'ratio': '1/1', 'className': og_cnv(['ring-2 ring-foreground'])}}) }}\n      {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': v_name, 'ratio': '1/1'}}) }}\n      {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': v_name, 'ratio': '1/1'}}) }}\n    {%- endset -%}\n    {{ og_include('compose/grid.html.j2', {'p': {'Cols': '3', 'Class': 'gap-4', 'Attrs': og_attrs(['data-slot', 'thumbs'])}, 'children': c_1}) }}\n  {%- endif %}\n{%- endset -%}\n{{ og_include('compose/stack.html.j2', {'p': {'Gap': '4', 'Align': 'stretch', 'Attrs': og_attrs(['data-slot', 'gallery'])}, 'children': c_2}) }}\n",
      "path": "blocks/product-gallery.html.j2",
      "target": "blocks/product-gallery.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "product-gallery",
  "registryDependencies": [
    "grid",
    "media-frame",
    "stack",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Product Gallery",
  "type": "registry:component"
}
