{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "blog-2",
  "type": "registry:block",
  "title": "Blog 2",
  "description": "Featured blog post next to a list of recent articles.",
  "files": [
    {
      "path": "app/preview/blog/two/page.tsx",
      "content": "import Link from 'next/link'\nimport { ArrowRight } from 'lucide-react'\n\nconst featured = {\n    title: 'Why we rebuilt our editor from scratch',\n    excerpt: 'Two years of patches had made every change risky. This is the story of the rewrite: the architecture, the migration, and the parts we would do differently.',\n    category: 'Engineering',\n    date: 'Nov 12, 2026',\n    readTime: '12 min read',\n    image: 'https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&w=1400&q=80',\n}\n\nconst posts = [\n    { title: 'Pricing pages that answer questions', category: 'Growth', date: 'Nov 8, 2026' },\n    { title: 'A practical guide to accessible forms', category: 'Design', date: 'Nov 1, 2026' },\n    { title: 'Incident review: the 14-minute outage', category: 'Infrastructure', date: 'Oct 27, 2026' },\n    { title: 'Hiring your first designer', category: 'Company', date: 'Oct 18, 2026' },\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                <h2 className=\"text-4xl font-semibold lg:text-5xl\">Latest writing</h2>\n\n                <div className=\"mt-12 grid gap-10 lg:grid-cols-[minmax(0,1.4fr)_minmax(0,1fr)] lg:gap-14\">\n                    <article className=\"group relative\">\n                        <div className=\"bg-muted aspect-[16/9] overflow-hidden rounded-2xl\">\n                            <img\n                                src={featured.image}\n                                alt=\"\"\n                                className=\"size-full object-cover transition-transform duration-700 group-hover:scale-[1.03]\"\n                            />\n                        </div>\n                        <p className=\"text-muted-foreground mt-6 text-xs font-medium uppercase tracking-wider\">\n                            Featured · {featured.category}\n                        </p>\n                        <h3 className=\"mt-2 text-balance text-2xl font-semibold leading-tight sm:text-3xl\">\n                            <Link href=\"#\">\n                                <span className=\"absolute inset-0\" />\n                                {featured.title}\n                            </Link>\n                        </h3>\n                        <p className=\"text-muted-foreground mt-3 text-pretty\">{featured.excerpt}</p>\n                        <p className=\"text-muted-foreground mt-4 text-sm\">\n                            <time>{featured.date}</time> · {featured.readTime}\n                        </p>\n                    </article>\n\n                    <div>\n                        <ul className=\"divide-y border-y\">\n                            {posts.map((post) => (\n                                <li key={post.title}>\n                                    <article className=\"group relative py-6\">\n                                        <p className=\"text-muted-foreground flex items-center gap-2 text-xs\">\n                                            <span className=\"text-foreground font-medium\">{post.category}</span>\n                                            <span aria-hidden>·</span>\n                                            <time>{post.date}</time>\n                                        </p>\n                                        <h3 className=\"mt-2 flex items-start justify-between gap-4 font-medium\">\n                                            <Link href=\"#\">\n                                                <span className=\"absolute inset-0\" />\n                                                {post.title}\n                                            </Link>\n                                            <ArrowRight className=\"text-muted-foreground group-hover:text-foreground mt-0.5 size-4 shrink-0 -translate-x-1 transition-all group-hover:translate-x-0\" />\n                                        </h3>\n                                    </article>\n                                </li>\n                            ))}\n                        </ul>\n                        <Link\n                            href=\"#\"\n                            className=\"mt-6 inline-flex text-sm font-medium underline-offset-4 hover:underline\">\n                            Browse the archive\n                        </Link>\n                    </div>\n                </div>\n            </div>\n        </section>\n    )\n}\n",
      "type": "registry:component",
      "target": "components/blog-2.tsx"
    }
  ]
}