{
  "$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 = (p.alt ?? null) -%}\n{%- set v_image = (p.image ?? null) -%}\n{%- set v_card = (p.card ?? null) -%}\n{%- set c_6 -%}\n  {{ include('blocks/media-frame.html.twig', {'p': {'alt': v_alt, 'src': v_image, 'ratio': '4/3'}}, with_context = false) }}\n  {%- set c_5 -%}\n    {%- set c_1 -%}\n      {{ include('icons/LucideIcon.html.twig', {'name': og_s(og_get(v_card, ['icon'])), 'size': 20}, with_context = false) }}\n    {%- endset -%}\n    {{ include('compose/Box.html.twig', {'class': 'flex size-10 shrink-0 items-center justify-center rounded bg-muted', 'children': c_1}, with_context = false) }}\n    {%- set c_4 -%}\n      {%- set c_2 -%}\n        {{ og_text(og_get(v_card, ['title'])) }}\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_get(v_card, ['text'])) }}\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/Stack.html.twig', {'gap': '0', 'children': c_4}, with_context = false) }}\n  {%- endset -%}\n  {{ include('compose/Group.html.twig', {'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}, with_context = false) }}\n{%- endset -%}\n{{ include('compose/Box.html.twig', {'class': 'relative', 'attrs': og_attrs(['data-slot', 'hero-media']), 'children': c_6}, with_context = false) }}\n",
      "path": "blocks/offer-media.html.twig",
      "target": "blocks/offer-media.html.twig"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "twig",
      "component"
    ]
  },
  "name": "offer-media",
  "registryDependencies": [
    "box",
    "group",
    "lucide-icon",
    "media-frame",
    "stack",
    "text",
    "utils"
  ],
  "runtime": "twig",
  "title": "Offer Media",
  "type": "registry:component"
}
