{
  "$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/organisms.ts from packages/compose-gen/specs (compose-gen organism emitters on kit-compose). DO NOT EDIT.\n/**\n * The picture of the StoreHero overlay layout with an offer card floating on its lower corner (the card floats\n * over the picture).\n */\nimport { type JSX } from \"solid-js\";\nimport { Box, Group, Stack, Text } from \"../compose\";\nimport { LucideIcon } from \"../icons/LucideIcon\";\nimport { MediaFrame } from \"../components/media-frame\";\nimport type { OfferCard } from \"../blocks/store-hero.types\";\n\nexport type OfferMediaProps = {\n  alt: string;\n  image?: string;\n  card: OfferCard;\n};\n\nexport function OfferMedia({ alt, image, card }: OfferMediaProps) {\n  return (\n    <Box class=\"relative\" data-slot=\"hero-media\">\n      <MediaFrame alt={alt} src={image} ratio=\"4/3\" />\n      <Group\n        gap=\"4\"\n        align=\"start\"\n        class=\"absolute bottom-4 left-4 mr-4 max-w-xs rounded bg-card p-4 shadow-lg\"\n        data-slot=\"offer-card\"\n      >\n        <Box class=\"flex size-10 shrink-0 items-center justify-center rounded bg-muted\">\n          <LucideIcon name={card.icon} size={20} />\n        </Box>\n        <Stack gap=\"0\">\n          <Text size=\"sm\" weight=\"semibold\">\n            {card.title}\n          </Text>\n          <Text size=\"xs\" class=\"text-muted-foreground\">\n            {card.text}\n          </Text>\n        </Stack>\n      </Group>\n    </Box>\n  );\n}\n",
      "path": "components/offer-media.tsx",
      "target": "components/offer-media.tsx"
    }
  ],
  "meta": {
    "category": "components",
    "kind": "component",
    "tags": [
      "solid",
      "component"
    ]
  },
  "name": "offer-media",
  "registryDependencies": [
    "compose",
    "lucide-icon",
    "media-frame",
    "store-hero",
    "utils"
  ],
  "runtime": "solid",
  "title": "Offer Media",
  "type": "registry:component"
}
