{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "m-hero-parallax-2",
  "description": "Template gallery — two rows of site templates",
  "registryDependencies": [
    "@cnippet/hero-parallax"
  ],
  "files": [
    {
      "path": "registry/default/motion-variants/m-hero-parallax-2.tsx",
      "content": "\"use client\";\n\nimport { useRef } from \"react\";\nimport { HeroParallax } from \"@/registry/default/motion/hero-parallax\";\n\nconst photo = (id: string) =>\n  `https://images.unsplash.com/photo-${id}?w=640&h=448&fit=crop&dpr=2&q=80`;\n\nconst templates = [\n  [\"Travel blog\", \"1500530855697-b586d89ba3ee\"],\n  [\"Surf shop\", \"1505142468610-359e7d316be0\"],\n  [\"City guide\", \"1477959858617-67f85cf4f1df\"],\n  [\"Hiking club\", \"1501785888041-af3ef285b470\"],\n  [\"Photo studio\", \"1531366936337-7c912a4589a7\"],\n  [\"Camp booking\", \"1470071459604-3b5ec3a7fe05\"],\n  [\"Desert tours\", \"1509316785289-025f5b846b35\"],\n  [\"Real estate\", \"1449824913935-59a10b8d2000\"],\n].map(([title, id]) => ({\n  link: \"#\",\n  thumbnail: photo(id ?? \"\"),\n  title: title ?? \"\",\n}));\n\nexport default function HeroParallaxTemplates() {\n  const containerRef = useRef<HTMLDivElement>(null);\n\n  return (\n    <div\n      className=\"relative h-[28rem] w-full overflow-y-auto\"\n      ref={containerRef}\n    >\n      <HeroParallax\n        containerRef={containerRef}\n        distance={300}\n        products={templates}\n        rows={2}\n      >\n        <p className=\"font-medium text-muted-foreground text-sm\">\n          120+ templates\n        </p>\n        <h3 className=\"mt-1 font-bold text-4xl text-foreground tracking-tight\">\n          Start from a finished site\n        </h3>\n      </HeroParallax>\n    </div>\n  );\n}\n",
      "type": "registry:block"
    }
  ],
  "meta": {
    "className": ""
  },
  "categories": [
    "hero parallax"
  ],
  "type": "registry:block"
}