{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ecommerce-04",
  "type": "registry:block",
  "description": "A split promotional banner for a featured collection.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/ecommerce/ecommerce-04.tsx",
      "content": "import {\n  ArrowRight,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { Macbook } from \"@/registry/designali/ui/apple/macbook\"\nimport { DotPattern } from \"@/registry/designali/ui/dot-pattern\"\n\nconst collections = [\n  { name: \"Templates\", count: 84, image: \"/images/templates/design-agency.jpg\" },\n  { name: \"Blocks\", count: 460, image: \"/images/templates/aliimam-comp.jpg\" },\n  { name: \"Icon packs\", count: 59, image: \"/images/templates/dalim-icons-old.jpg\" },\n  { name: \"UI kits\", count: 37, image: \"/images/templates/dalim-ui-old.jpg\" },\n]\n\nexport default function Ecommerce04() {\n  return (\n    <section className=\"w-full bg-background py-16 text-foreground md:py-24\">\n      <div className=\"mx-auto max-w-6xl px-6\">\n        <div className=\"grid gap-4 lg:grid-cols-2\">\n          <a\n            href=\"#\"\n            className=\"group relative flex min-h-[420px] flex-col justify-end overflow-hidden border border-border bg-muted p-8 md:p-10 lg:row-span-2 lg:min-h-full\"\n          >\n            <div className=\"absolute inset-0 bg-gradient-to-br from-primary/50 via-primary/30 to-transparent\" />\n            <DotPattern className=\"text-foreground/40 [mask-image:radial-gradient(ellipse_at_top,white,transparent_70%)]\" />\n            <div className=\"relative mb-8 flex justify-center transition-transform duration-700 group-hover:scale-105\">\n              <Macbook variant=\"macbook-pro\" color=\"silver\" size=\"sm\" className=\"w-full! max-w-md\">\n                <img src=\"/images/templates/portfolio-simple.jpg\" alt=\"Portfolio Simple Template\" className=\"size-full object-cover object-top\" />\n              </Macbook>\n            </div>\n            <div className=\"relative\">\n              <span className=\"bg-background px-2 py-1 text-xs\">Designali edit · 2026</span>\n              <h2 className=\"mt-4 text-4xl leading-tight font-medium tracking-tight md:text-5xl\">\n                Design se\n                <br />\n                code tak.\n              </h2>\n              <p className=\"mt-3 max-w-sm text-sm text-muted-foreground\">\n                Templates, blocks and icons chosen by Ali Imam for your next launch.\n              </p>\n              <Button className=\"mt-6\" render={<span />} nativeButton={false}>\n                Shop the edit\n                <ArrowRight />\n              </Button>\n            </div>\n          </a>\n\n          <div className=\"grid grid-cols-2 gap-4\">\n            {collections.map((collection) => (\n              <a\n                key={collection.name}\n                href=\"#\"\n                className=\"group relative flex aspect-square flex-col justify-between overflow-hidden border border-border p-5\"\n              >\n                <img src={collection.image} alt=\"\" className=\"absolute inset-0 size-full object-cover object-top opacity-70 transition-opacity group-hover:opacity-100\" />\n                <div className=\"absolute inset-0 bg-gradient-to-t from-background via-background/40 to-transparent\" />\n                <span className=\"relative self-end text-xs text-muted-foreground\">\n                  {collection.count} items\n                </span>\n                <span className=\"relative flex items-center justify-between text-sm font-medium md:text-base\">\n                  {collection.name}\n                  <ArrowRight className=\"size-4 -translate-x-1 opacity-0 transition-all group-hover:translate-x-0 group-hover:opacity-100\" />\n                </span>\n              </a>\n            ))}\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "700px"
  },
  "categories": [
    "ecommerce"
  ]
}