{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "blog-section-v1",
  "title": "Blog Section v1",
  "description": "Editorial All Articles layout with a featured Spotlight post (image, headline, author) and a Trending list of three compact articles.",
  "dependencies": [
    "geist@^1.7.0"
  ],
  "registryDependencies": [
    "https://uiception.com/r/block-media.json"
  ],
  "files": [
    {
      "path": "registry/new-york/blocks/blog-section-v1/page.tsx",
      "content": "import BlogSectionV1 from \"./components/blog-section-v1\"\n\nexport default function Page() {\n  return <BlogSectionV1 />\n}\n",
      "type": "registry:page",
      "target": "app/blog-section-v1/page.tsx"
    },
    {
      "path": "registry/new-york/blocks/blog-section-v1/components/blog-section-v1.tsx",
      "content": "import Image from \"next/image\"\nimport Link from \"next/link\"\nimport { GeistSans } from \"geist/font/sans\"\nimport { FlameIcon, RadioTowerIcon } from \"lucide-react\"\n\nimport { createBlockImage } from \"@/lib/block-media\"\n\nimport { sectionMeta, spotlight, trending } from \"../lib/config\"\n\nconst blockImage = createBlockImage(\"blog-section-v1\")\n\nconst featured = {\n  src: blockImage(spotlight.imageFile),\n  alt: spotlight.alt,\n  title: spotlight.title,\n  href: spotlight.href,\n  author: {\n    name: spotlight.author.name,\n    avatarSrc: blockImage(spotlight.author.avatarFile),\n  },\n}\n\nconst trendingPosts = trending.map((post) => ({\n  src: blockImage(post.imageFile),\n  alt: post.alt,\n  title: post.title,\n  href: post.href,\n}))\n\nexport default function BlogSectionV1() {\n  return (\n    <section className=\"py-4 md:py-6 lg:py-8\">\n      <div className=\"mx-auto max-w-6xl px-4\">\n        <h2\n          className={`m-0 font-sans text-4xl font-medium leading-[1.08] tracking-[-0.03em] text-balance sm:text-[2.625rem] lg:text-5xl lg:leading-[1.06] ${GeistSans.className}`}\n        >\n          {sectionMeta.title}\n        </h2>\n\n        <div className=\"mt-6 border-t border-border\" />\n\n        <div className=\"mt-10 grid gap-10 lg:mt-12 lg:grid-cols-2 lg:gap-0\">\n          <div className=\"flex flex-col lg:border-r lg:border-border lg:pr-10\">\n            <p className=\"mb-4 flex items-center gap-2 text-base font-semibold tracking-tight text-foreground\">\n              <RadioTowerIcon className=\"size-4.5 shrink-0\" aria-hidden />\n              {sectionMeta.spotlightLabel}\n            </p>\n\n            <Link\n              href={featured.href}\n              className=\"group flex min-h-0 flex-1 flex-col outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n            >\n              <div className=\"relative aspect-2/1 w-full overflow-hidden rounded-xl bg-muted sm:aspect-video\">\n                <Image\n                  src={featured.src}\n                  alt={featured.alt}\n                  fill\n                  unoptimized\n                  className=\"object-cover transition-transform duration-500 group-hover:scale-[1.02]\"\n                  sizes=\"(max-width: 1024px) 100vw, 50vw\"\n                  priority\n                />\n              </div>\n\n              <h3 className=\"mt-4 text-xl font-semibold leading-snug tracking-tight text-foreground sm:text-2xl\">\n                {featured.title}\n              </h3>\n            </Link>\n\n            <div className=\"mt-4 flex items-center gap-3\">\n              <Image\n                src={featured.author.avatarSrc}\n                alt=\"\"\n                width={36}\n                height={36}\n                unoptimized\n                className=\"size-9 rounded-full object-cover\"\n              />\n              <span className=\"text-base text-muted-foreground\">\n                {featured.author.name}\n              </span>\n            </div>\n          </div>\n\n          <div className=\"flex flex-col lg:pl-10\">\n            <p className=\"mb-4 flex items-center gap-2 text-base font-semibold tracking-tight text-foreground\">\n              <FlameIcon className=\"size-4.5 shrink-0\" aria-hidden />\n              {sectionMeta.trendingLabel}\n            </p>\n\n            <ul className=\"flex flex-1 flex-col justify-between divide-y divide-border\">\n              {trendingPosts.map((post) => (\n                <li key={post.title + post.src} className=\"flex flex-1 items-center py-4 first:pt-0 last:pb-0\">\n                  <Link\n                    href={post.href}\n                    className=\"group flex w-full items-start gap-4 outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n                  >\n                    <div className=\"relative size-18 shrink-0 overflow-hidden rounded-lg bg-muted sm:size-20\">\n                      <Image\n                        src={post.src}\n                        alt={post.alt}\n                        fill\n                        unoptimized\n                        className=\"object-cover transition-transform duration-500 group-hover:scale-[1.03]\"\n                        sizes=\"80px\"\n                      />\n                    </div>\n                    <h3 className=\"min-w-0 flex-1 pt-0.5 text-base font-medium leading-snug tracking-tight text-foreground transition-colors group-hover:text-foreground/80 sm:text-lg\">\n                      {post.title}\n                    </h3>\n                  </Link>\n                </li>\n              ))}\n            </ul>\n          </div>\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component",
      "target": "app/blog-section-v1/components/blog-section-v1.tsx"
    },
    {
      "path": "registry/new-york/blocks/blog-section-v1/lib/config.ts",
      "content": "export const sectionMeta = {\n  title: \"All Articles\",\n  spotlightLabel: \"Spotlight\",\n  trendingLabel: \"Trending\",\n} as const\n\nexport const spotlight = {\n  imageFile: \"image-1.jpg\",\n  alt: \"Mountain landscape at golden hour\",\n  title:\n    \"How Real-Time Collaboration Transformed Product Delivery for Distributed Teams\",\n  href: \"#\",\n  author: {\n    name: \"Maya Chen\",\n    avatarFile: \"avatar-1.png\",\n  },\n} as const\n\nexport const trending = [\n  {\n    imageFile: \"image-2.jpg\",\n    alt: \"Coastal cliffs and ocean waves\",\n    title:\n      \"How Real-Time Collaboration Transformed Product Delivery for Distributed Teams\",\n    href: \"#\",\n  },\n  {\n    imageFile: \"image-3.jpg\",\n    alt: \"Forest trail through tall trees\",\n    title:\n      \"What is Design System Governance? A Practical Guide for Growing Product Teams\",\n    href: \"#\",\n  },\n  {\n    imageFile: \"image-4.jpg\",\n    alt: \"City skyline at dusk\",\n    title:\n      \"Shipping in Public: Building Trust Through Transparent Product Roadmaps\",\n    href: \"#\",\n  },\n] as const\n",
      "type": "registry:lib",
      "target": "app/blog-section-v1/lib/config.ts"
    },
    {
      "path": "public/images/blocks/blog-section-v1/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/blog-section-v1/image-1.jpg.gitkeep"
    },
    {
      "path": "public/images/blocks/blog-section-v1/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/blog-section-v1/image-2.jpg.gitkeep"
    },
    {
      "path": "public/images/blocks/blog-section-v1/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/blog-section-v1/image-3.jpg.gitkeep"
    },
    {
      "path": "public/images/blocks/blog-section-v1/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/blog-section-v1/image-4.jpg.gitkeep"
    },
    {
      "path": "public/images/blocks/blog-section-v1/avatar-1.png.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/blog-section-v1/avatar-1.png.gitkeep"
    }
  ],
  "type": "registry:block"
}