{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "blog-1",
  "type": "registry:block",
  "title": "Blog 1",
  "description": "Three-column blog grid with cover images, categories, read time and authors.",
  "files": [
    {
      "path": "app/preview/blog/one/page.tsx",
      "content": "import Link from 'next/link'\nimport { ArrowUpRight } from 'lucide-react'\n\nconst posts = [\n    {\n        title: 'Shipping a design system in six weeks',\n        excerpt: 'How a three-person team replaced four component libraries with one, without freezing product work.',\n        category: 'Engineering',\n        date: 'Nov 4, 2026',\n        readTime: '8 min read',\n        image: 'https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1200&q=80',\n        author: { name: 'Maya Chen', avatar: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=96&h=96&q=80' },\n    },\n    {\n        title: 'The case for boring infrastructure',\n        excerpt: 'Fewer moving parts, fewer pages at 3am. What we learned moving our stack back to Postgres.',\n        category: 'Infrastructure',\n        date: 'Oct 22, 2026',\n        readTime: '6 min read',\n        image: 'https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1200&q=80',\n        author: { name: 'Jonathan Yombo', avatar: 'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=96&h=96&q=80' },\n    },\n    {\n        title: 'Writing onboarding that people finish',\n        excerpt: 'We cut our setup flow from eleven steps to three and doubled activation. Here is the playbook.',\n        category: 'Product',\n        date: 'Oct 9, 2026',\n        readTime: '5 min read',\n        image: 'https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1200&q=80',\n        author: { name: 'Priya Natarajan', avatar: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=96&h=96&q=80' },\n    },\n]\n\nexport default function BlogSection() {\n    return (\n        <section className=\"py-16 md:py-24\">\n            <div className=\"mx-auto max-w-6xl px-6\">\n                <div className=\"flex flex-wrap items-end justify-between gap-6\">\n                    <div className=\"max-w-xl\">\n                        <h2 className=\"text-balance text-4xl font-semibold lg:text-5xl\">From the blog</h2>\n                        <p className=\"text-muted-foreground mt-4\">Notes on building products, scaling teams and the craft of software.</p>\n                    </div>\n                    <Link\n                        href=\"#\"\n                        className=\"group inline-flex items-center gap-1 text-sm font-medium\">\n                        View all posts\n                        <ArrowUpRight className=\"size-4 transition-transform group-hover:-translate-y-0.5 group-hover:translate-x-0.5\" />\n                    </Link>\n                </div>\n\n                <ul className=\"mt-12 grid gap-x-6 gap-y-12 md:grid-cols-2 lg:grid-cols-3\">\n                    {posts.map((post) => (\n                        <li key={post.title}>\n                            <article className=\"group relative flex h-full flex-col\">\n                                <div className=\"bg-muted relative aspect-[16/10] overflow-hidden rounded-xl\">\n                                    <img\n                                        src={post.image}\n                                        alt=\"\"\n                                        loading=\"lazy\"\n                                        className=\"size-full object-cover transition-transform duration-500 group-hover:scale-105\"\n                                    />\n                                    <span className=\"bg-background/80 absolute left-3 top-3 rounded-full px-2.5 py-1 text-xs font-medium backdrop-blur\">{post.category}</span>\n                                </div>\n                                <div className=\"text-muted-foreground mt-5 flex items-center gap-2 text-xs\">\n                                    <time>{post.date}</time>\n                                    <span aria-hidden>·</span>\n                                    <span>{post.readTime}</span>\n                                </div>\n                                <h3 className=\"mt-2 text-lg font-semibold leading-snug\">\n                                    <Link\n                                        href=\"#\"\n                                        className=\"decoration-foreground/30 underline-offset-4 group-hover:underline\">\n                                        {/* Stretched link: the whole card is clickable, but only the title is announced. */}\n                                        <span className=\"absolute inset-0\" />\n                                        {post.title}\n                                    </Link>\n                                </h3>\n                                <p className=\"text-muted-foreground mt-2 line-clamp-2 text-sm\">{post.excerpt}</p>\n                                <div className=\"mt-auto flex items-center gap-2.5 pt-5\">\n                                    <img\n                                        src={post.author.avatar}\n                                        alt=\"\"\n                                        loading=\"lazy\"\n                                        className=\"size-7 rounded-full object-cover\"\n                                    />\n                                    <span className=\"text-sm font-medium\">{post.author.name}</span>\n                                </div>\n                            </article>\n                        </li>\n                    ))}\n                </ul>\n            </div>\n        </section>\n    )\n}\n",
      "type": "registry:component",
      "target": "components/blog-1.tsx"
    }
  ]
}