feat: complete MDX migration for blog, fix diagram fidelity and refactor styling architecture

This commit is contained in:
2026-02-17 21:36:59 +01:00
parent bff58e7cfa
commit cce6aa0935
75 changed files with 12282 additions and 12227 deletions

View File

@@ -1,6 +1,6 @@
import { ImageResponse } from "next/og";
import { blogPosts } from "../../../src/data/blogPosts";
import { blogThumbnails } from "../../../src/data/blogThumbnails";
import { allPosts } from "contentlayer/generated";
import { blogThumbnails } from "../../../src/components/blog/blogThumbnails";
import { OGImageTemplate } from "../../../src/components/OGImageTemplate";
import { getOgFonts, OG_IMAGE_SIZE } from "../../../src/lib/og-helper";
@@ -14,7 +14,7 @@ export default async function Image({
params: Promise<{ slug: string }>;
}) {
const { slug } = await params;
const post = blogPosts.find((p) => p.slug === slug);
const post = allPosts.find((p) => p.slug === slug);
const thumbnail = blogThumbnails[slug];
const title = post?.title || "Marc Mintel";