{
  "$schema": "https://registry.buildy.tw/schema/registry-item.json",
  "dependencies": [],
  "description": "The picture of the StoreHero overlay layout with an offer card floating on its lower corner (the card floats over the picture).",
  "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/offer-media.json\n    The picture of the StoreHero overlay layout with an offer card floating on its lower corner (the card floats over the picture).\n    Props (p): alt, image, card. -#}\n{%- set v_alt = og_def(p['alt'], none) -%}\n{%- set v_image = og_def(p['image'], none) -%}\n{%- set v_card = og_def(p['card'], none) -%}\n{%- set c_6 -%}\n  {{ og_include('blocks/media-frame.html.j2', {'p': {'alt': v_alt, 'src': v_image, 'ratio': '4/3'}}) }}\n  {%- set c_5 -%}\n    {%- set c_1 -%}\n      {{ og_include('icons/lucide-icon.html.j2', {'p': {'Name': og_s(og_get(v_card, ['icon'])), 'Size': 20}}) }}\n    {%- endset -%}\n    {{ og_include('compose/box.html.j2', {'p': {'Class': 'flex size-10 shrink-0 items-center justify-center rounded bg-muted'}, 'children': c_1}) }}\n    {%- set c_4 -%}\n      {%- set c_2 -%}\n        {{ og_text(og_get(v_card, ['title'])) }}\n      {%- endset -%}\n      {{ og_include('compose/text.html.j2', {'p': {'Size': 'sm', 'Weight': 'semibold'}, 'children': c_2}) }}\n      {%- set c_3 -%}\n        {{ og_text(og_get(v_card, ['text'])) }}\n      {%- endset -%}\n      {{ og_include('compose/text.html.j2', {'p': {'Size': 'xs', 'Class': 'text-muted-foreground'}, 'children': c_3}) }}\n    {%- endset -%}\n    {{ og_include('compose/stack.html.j2', {'p': {'Gap': '0'}, 'children': c_4}) }}\n  {%- endset -%}\n  {{ og_include('compose/group.html.j2', {'p': {'Gap': '4', 'Align': 'start', 'Class': 'absolute bottom-4 left-4 mr-4 max-w-xs rounded bg-card p-4 shadow-lg', 'Attrs': og_attrs(['data-slot', 'offer-card'])}, 'children': c_5}) }}\n{%- endset -%}\n{{ og_include('compose/box.html.j2', {'p': {'Class': 'relative', 'Attrs': og_attrs(['data-slot', 'hero-media'])}, 'children': c_6}) }}\n",
      "path": "blocks/offer-media.html.j2",
      "target": "blocks/offer-media.html.j2"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "jinja2",
      "component"
    ]
  },
  "name": "offer-media",
  "registryDependencies": [
    "box",
    "group",
    "lucide-icon",
    "media-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "jinja2",
  "title": "Offer Media",
  "type": "registry:component"
}
