{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "blog-20",
  "type": "registry:block",
  "description": "Bento topic directory of category cards with icons, post counts, blurbs and latest titles.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "registry/designali/blocks/blog/blog-20.tsx",
      "content": "import {\n  ArrowUpRight,\n  BookOpen,\n  CodeXml as Code2,\n  Megaphone,\n  Palette,\n  Rocket,\n  Users,\n} from \"@designali/icons\"\n\nimport { BentoGrid, BentoGridItem } from \"@/registry/designali/ui/bento\"\n\nconst topics = [\n  {\n    name: \"Design\",\n    icon: Palette,\n    count: 84,\n    blurb: \"Interfaces, type, and color from the Designali studio.\",\n    latest: [\"Spacing scales for 460+ blocks\", \"Designing designali.com for the second visit\"],\n    span: 2,\n    tone: \"bg-chart-1/15\",\n  },\n  {\n    name: \"Engineering\",\n    icon: Code2,\n    count: 112,\n    blurb: \"How designali.com is built with Next.js and Vercel.\",\n    latest: [\"Shipping the block registry on Vercel\"],\n    span: 1,\n    tone: \"bg-chart-2/15\",\n  },\n  {\n    name: \"Growth\",\n    icon: Rocket,\n    count: 47,\n    blurb: \"Acquisition experiments, wins and losses.\",\n    latest: [\"The 21st.dev launch that worked\"],\n    span: 1,\n    tone: \"bg-chart-3/15\",\n  },\n  {\n    name: \"Guides\",\n    icon: BookOpen,\n    count: 63,\n    blurb: \"Step-by-step tutorials for Designali templates and blocks.\",\n    latest: [\"Install @designali/icons in ten minutes\", \"Customizing a Designali template\"],\n    span: 2,\n    tone: \"bg-chart-4/15\",\n  },\n  {\n    name: \"Team\",\n    icon: Users,\n    count: 29,\n    blurb: \"How Ali Imam and the studio work with clients.\",\n    latest: [\"The Designali process, now public\"],\n    span: 1,\n    tone: \"bg-chart-5/15\",\n  },\n  {\n    name: \"Announcements\",\n    icon: Megaphone,\n    count: 38,\n    blurb: \"Launches and company news.\",\n    latest: [\"Dalim is now Designali\"],\n    span: 1,\n    tone: \"bg-muted\",\n  },\n]\n\nexport default function Blog20() {\n  const total = topics.reduce((s, t) => s + t.count, 0)\n\n  return (\n    <section className=\"w-full bg-muted/40 py-16 text-foreground md:py-24\">\n      <div className=\"mx-auto max-w-7xl px-6\">\n        <div className=\"flex flex-col gap-4 md:flex-row md:items-end md:justify-between\">\n          <div>\n            <h2 className=\"text-3xl font-medium tracking-tight md:text-5xl\">Browse by topic</h2>\n            <p className=\"mt-3 text-muted-foreground\">{total} posts across six sections of the Designali blog.</p>\n          </div>\n        </div>\n\n        <BentoGrid\n          cols={{ base: 1, md: 4 }}\n          gap={4}\n          rowHeight=\"auto\"\n          className=\"mt-10\"\n        >\n          {topics.map((t) => {\n            const Icon = t.icon\n            return (\n              <BentoGridItem\n                key={t.name}\n                colSpan={{ base: 1, md: t.span as 1 | 2 }}\n                className=\"group p-0 transition-colors hover:border-foreground/40\"\n              >\n              <a\n                href=\"#\"\n                className=\"flex h-full flex-col justify-between gap-8 p-6\"\n              >\n                <div className=\"flex items-start justify-between\">\n                  <span className={`flex size-11 items-center justify-center ${t.tone}`}>\n                    <Icon className=\"size-5\" />\n                  </span>\n                  <ArrowUpRight className=\"size-4 text-muted-foreground transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5\" />\n                </div>\n                <div>\n                  <div className=\"flex items-baseline gap-2\">\n                    <h3 className=\"text-xl font-medium\">{t.name}</h3>\n                    <span className=\"font-sans text-xs text-muted-foreground\">{t.count}</span>\n                  </div>\n                  <p className=\"mt-1 text-sm text-muted-foreground\">{t.blurb}</p>\n                  <ul className=\"mt-5 space-y-1.5 border-t pt-4 text-sm\">\n                    {t.latest.map((l) => (\n                      <li key={l} className=\"truncate\">\n                        <span className=\"mr-2 text-muted-foreground\">&rarr;</span>\n                        {l}\n                      </li>\n                    ))}\n                  </ul>\n                </div>\n              </a>\n              </BentoGridItem>\n            )\n          })}\n        </BentoGrid>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "800px"
  },
  "categories": [
    "blog"
  ]
}