{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "blog-04",
  "type": "registry:block",
  "description": "A blog section of guides with tag badges in four columns.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "badge"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/blog/blog-04.tsx",
      "content": "import {\n  Clock,\n} from \"@designali/icons\"\n\nimport { Badge } from \"@workspace/ui/components/badge\"\n\nimport { BentoGrid, BentoGridItem } from \"@/registry/designali/ui/bento\"\n\nconst posts = [\n  {\n    title: \"A practical guide to fluid type in Designali templates\",\n    excerpt: \"Clamp-based sizing that stays readable from 320px phones to 4K monitors.\",\n    tag: \"Guide\",\n    read: 9,\n    author: \"Ali Imam\",\n    colSpan: 2,\n    rowSpan: 2,\n    tone: \"bg-primary text-primary-foreground\",\n  },\n  {\n    title: \"@designali/icons, redrawn on a 24px grid\",\n    excerpt: \"Four thousand icons, lucide-compatible names, one optical baseline.\",\n    tag: \"Release\",\n    read: 4,\n    author: \"Ali Imam\",\n    colSpan: 1,\n    rowSpan: 1,\n    tone: \"bg-muted\",\n  },\n  {\n    title: \"Interview: Ali Imam on running a one-person design studio\",\n    excerpt: \"How Designali ships brand, UI and code without a big team.\",\n    tag: \"Interview\",\n    read: 14,\n    author: \"Designali Studio\",\n    colSpan: 1,\n    rowSpan: 1,\n    tone: \"bg-card\",\n  },\n  {\n    title: \"Measuring design debt in 2,300+ UI examples\",\n    excerpt: \"A scoring rubric your roadmap can actually use.\",\n    tag: \"Opinion\",\n    read: 7,\n    author: \"Ali Imam\",\n    colSpan: 2,\n    rowSpan: 1,\n    tone: \"bg-card\",\n  },\n]\n\nexport default function Blog04() {\n  return (\n    <section className=\"w-full bg-background py-16 text-foreground md:py-24\">\n      <div className=\"mx-auto max-w-6xl px-6\">\n        <div className=\"mb-10 text-center\">\n          <h2 className=\"text-3xl font-medium tracking-tight md:text-5xl\">\n            Read, then build\n          </h2>\n          <p className=\"mx-auto mt-4 max-w-md text-muted-foreground\">\n            Hand-picked articles from the Designali blog, published every Thursday.\n          </p>\n        </div>\n\n        <BentoGrid\n          cols={{ base: 1, md: 4 }}\n          gap={4}\n          rowHeight=\"minmax(220px,auto)\"\n        >\n          {posts.map((post) => (\n            <BentoGridItem\n              key={post.title}\n              colSpan={{ base: 1, md: post.colSpan as 1 | 2 }}\n              rowSpan={{ base: 1, md: post.rowSpan as 1 | 2 }}\n              className={`group border-border p-0 transition-colors hover:border-foreground ${post.tone}`}\n            >\n            <a\n              href=\"#\"\n              className=\"flex h-full flex-col justify-between p-6 md:p-8\"\n            >\n              <Badge variant=\"outline\" className=\"border-current/30 text-current\">\n                {post.tag}\n              </Badge>\n              <div className=\"mt-10\">\n                <h3 className=\"text-xl leading-snug font-medium md:text-2xl\">\n                  {post.title}\n                </h3>\n                <p className=\"mt-3 text-sm leading-6 opacity-70\">{post.excerpt}</p>\n                <div className=\"mt-6 flex items-center justify-between text-xs opacity-70\">\n                  <span>{post.author}</span>\n                  <span className=\"inline-flex items-center gap-1\">\n                    <Clock className=\"size-3\" />\n                    {post.read} min\n                  </span>\n                </div>\n              </div>\n            </a>\n            </BentoGridItem>\n          ))}\n        </BentoGrid>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "800px"
  },
  "categories": [
    "blog"
  ]
}