{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "gallery-section-v3",
  "title": "Gallery Section v3",
  "description": "A centered painting-gallery intro with a five-tile asymmetric bento grid and hover overlays for title, notes, and price.",
  "dependencies": [],
  "registryDependencies": [
    "https://uiception.com/r/block-media.json"
  ],
  "files": [
    {
      "path": "registry/new-york/blocks/gallery-section-v3/page.tsx",
      "content": "import GallerySectionV3 from \"./components/gallery-section-v3\"\n\nexport default function Page() {\n  return <GallerySectionV3 />\n}\n",
      "type": "registry:page",
      "target": "app/gallery-section-v3/page.tsx"
    },
    {
      "path": "registry/new-york/blocks/gallery-section-v3/components/gallery-section-v3.tsx",
      "content": "import { GalleryBentoCard } from \"./gallery-bento-card\"\nimport { createBlockImage } from \"@/lib/block-media\"\nimport { galleryFiles, sectionMeta, type GalleryItem } from \"../lib/config\"\nimport \"../styles/gallery-section-v3.css\"\n\nconst blockImage = createBlockImage(\"gallery-section-v3\")\nconst galleryItems: GalleryItem[] = galleryFiles.map(\n  ({ file, ...rest }, index) => ({\n    id: String(index + 1),\n    ...rest,\n    imageSrc: blockImage(file),\n  }),\n)\n\nexport type GallerySectionV3Props = {\n  header?: { title: string; description?: string } | false\n  items?: GalleryItem[]\n}\n\nexport default function GallerySectionV3({\n  header = sectionMeta,\n  items = galleryItems,\n}: GallerySectionV3Props = {}) {\n  return (\n    <section className=\"py-4 md:py-6 lg:py-8\">\n      <div className=\"mx-auto max-w-7xl px-4\">\n        {header !== false ? (\n          <div className=\"mx-auto mb-10 max-w-2xl text-center md:mb-12\">\n            <h2 className=\"text-4xl font-medium leading-[1.1] tracking-[-0.03em] lg:text-5xl\">\n              {header.title}\n            </h2>\n            {header.description ? (\n              <p className=\"mt-4 text-[0.9375rem] leading-relaxed text-muted-foreground\">\n                {header.description}\n              </p>\n            ) : null}\n          </div>\n        ) : null}\n        <div className=\"gsv3-bento\">\n          {items.map((item, index) => (\n            <GalleryBentoCard\n              key={item.id}\n              item={item}\n              priority={index === 0}\n            />\n          ))}\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/gallery-section-v3/components/gallery-section-v3.tsx"
    },
    {
      "path": "registry/new-york/blocks/gallery-section-v3/components/gallery-bento-card.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport Image from \"next/image\"\n\nimport type { GalleryItem } from \"../lib/config\"\n\ntype GalleryBentoCardProps = {\n  item: GalleryItem\n  priority?: boolean\n}\n\nexport function GalleryBentoCard({\n  item,\n  priority = false,\n}: GalleryBentoCardProps) {\n  const [loaded, setLoaded] = useState(false)\n\n  return (\n    <article className=\"group relative isolate overflow-hidden rounded-lg bg-muted\">\n      <Image\n        src={item.imageSrc}\n        alt={item.alt}\n        fill\n        unoptimized\n        priority={priority}\n        sizes=\"(max-width: 768px) 100vw, 50vw\"\n        className={`object-cover transition-opacity duration-500${loaded ? \" opacity-100\" : \" opacity-0\"}`}\n        onLoad={() => setLoaded(true)}\n        onError={() => setLoaded(true)}\n      />\n      <div\n        className=\"pointer-events-none absolute inset-0 flex flex-col justify-end bg-linear-to-t from-black/75 via-black/25 to-transparent p-4 opacity-0 transition-opacity duration-300 group-hover:opacity-100 group-focus-within:opacity-100 md:p-5\"\n      >\n        <h3 className=\"text-base font-medium tracking-tight text-white md:text-lg\">\n          {item.title}\n        </h3>\n        <p className=\"mt-1 text-sm leading-snug text-white/80\">\n          {item.description}\n        </p>\n        <p className=\"mt-2 font-mono text-sm text-white\">{item.price}</p>\n      </div>\n    </article>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/gallery-section-v3/components/gallery-bento-card.tsx"
    },
    {
      "path": "registry/new-york/blocks/gallery-section-v3/lib/config.ts",
      "content": "export type GalleryItem = {\n  id: string\n  title: string\n  description: string\n  price: string\n  imageSrc: string\n  alt: string\n}\n\nexport const sectionMeta = {\n  title: \"Painting Gallery\",\n  description:\n    \"Original works on canvas and paper\",\n} as const\n\nexport const galleryFiles = [\n  {\n    file: \"image-1.jpg\",\n    title: \"Morning harbor\",\n    description: \"Oil on linen, 36 × 48 in\",\n    price: \"$4,800\",\n    alt: \"Oil painting of a morning harbor\",\n  },\n  {\n    file: \"image-2.jpg\",\n    title: \"Field study no. 7\",\n    description: \"Acrylic on panel, 18 × 24 in\",\n    price: \"$1,250\",\n    alt: \"Acrylic field study painting\",\n  },\n  {\n    file: \"image-3.jpg\",\n    title: \"Quiet interior\",\n    description: \"Oil on canvas, 24 × 30 in\",\n    price: \"$2,900\",\n    alt: \"Oil painting of a quiet interior\",\n  },\n  {\n    file: \"image-4.jpg\",\n    title: \"Coastal light\",\n    description: \"Watercolor on paper, 12 × 16 in\",\n    price: \"$780\",\n    alt: \"Watercolor of coastal light\",\n  },\n  {\n    file: \"image-5.jpg\",\n    title: \"Autumn orchard\",\n    description: \"Oil on canvas, 40 × 40 in\",\n    price: \"$6,200\",\n    alt: \"Oil painting of an autumn orchard\",\n  },\n] as const\n",
      "type": "registry:lib",
      "target": "app/gallery-section-v3/lib/config.ts"
    },
    {
      "path": "registry/new-york/blocks/gallery-section-v3/styles/gallery-section-v3.css",
      "content": ".gsv3-bento {\n  display: grid;\n  gap: 0.75rem;\n  grid-template-columns: 1fr;\n}\n\n.gsv3-bento > * {\n  min-height: 16rem;\n}\n\n@media (min-width: 768px) {\n  .gsv3-bento {\n    grid-template-columns: repeat(4, minmax(0, 1fr));\n    grid-template-rows: repeat(2, minmax(15rem, 1fr));\n    gap: 1rem;\n    min-height: 34rem;\n  }\n\n  .gsv3-bento > * {\n    min-height: 0;\n  }\n\n  /* [1][2][3][3]\n     [1][4][4][5] */\n  .gsv3-bento > :nth-child(1) {\n    grid-column: 1;\n    grid-row: 1 / span 2;\n  }\n\n  .gsv3-bento > :nth-child(2) {\n    grid-column: 2;\n    grid-row: 1;\n  }\n\n  .gsv3-bento > :nth-child(3) {\n    grid-column: 3 / span 2;\n    grid-row: 1;\n  }\n\n  .gsv3-bento > :nth-child(4) {\n    grid-column: 2 / span 2;\n    grid-row: 2;\n  }\n\n  .gsv3-bento > :nth-child(5) {\n    grid-column: 4;\n    grid-row: 2;\n  }\n}\n",
      "type": "registry:file",
      "target": "app/gallery-section-v3/styles/gallery-section-v3.css"
    },
    {
      "path": "public/images/blocks/gallery-section-v3/image-1.jpg.gitkeep",
      "content": "Place your asset here. Same base name, any supported format: jpg, jpeg, png, webp, avif, gif, or svg. Remove the .gitkeep extension from the filename.",
      "type": "registry:file",
      "target": "public/images/blocks/gallery-section-v3/image-1.jpg.gitkeep"
    },
    {
      "path": "public/images/blocks/gallery-section-v3/image-2.jpg.gitkeep",
      "content": "Place your asset here. Same base name, any supported format: jpg, jpeg, png, webp, avif, gif, or svg. Remove the .gitkeep extension from the filename.",
      "type": "registry:file",
      "target": "public/images/blocks/gallery-section-v3/image-2.jpg.gitkeep"
    },
    {
      "path": "public/images/blocks/gallery-section-v3/image-3.jpg.gitkeep",
      "content": "Place your asset here. Same base name, any supported format: jpg, jpeg, png, webp, avif, gif, or svg. Remove the .gitkeep extension from the filename.",
      "type": "registry:file",
      "target": "public/images/blocks/gallery-section-v3/image-3.jpg.gitkeep"
    },
    {
      "path": "public/images/blocks/gallery-section-v3/image-4.jpg.gitkeep",
      "content": "Place your asset here. Same base name, any supported format: jpg, jpeg, png, webp, avif, gif, or svg. Remove the .gitkeep extension from the filename.",
      "type": "registry:file",
      "target": "public/images/blocks/gallery-section-v3/image-4.jpg.gitkeep"
    },
    {
      "path": "public/images/blocks/gallery-section-v3/image-5.jpg.gitkeep",
      "content": "Place your asset here. Same base name, any supported format: jpg, jpeg, png, webp, avif, gif, or svg. Remove the .gitkeep extension from the filename.",
      "type": "registry:file",
      "target": "public/images/blocks/gallery-section-v3/image-5.jpg.gitkeep"
    }
  ],
  "type": "registry:block"
}