fix: update h2 styling in MDX components

- Changed h2 font weight from bold to semibold for improved visual hierarchy in rendered content.
This commit is contained in:
vchikalkin 2025-10-14 15:02:17 +03:00
parent 13d85436a7
commit b5813e3b53

View File

@ -29,7 +29,7 @@ const components: MDXComponents = {
h1: ({ children }) => <h1 className="text-2xl font-bold">{children}</h1>,
h2: ({ children }) => <h2 className="text-2xl font-bold">{children}</h2>,
h2: ({ children }) => <h2 className="text-2xl font-semibold">{children}</h2>,
// 🖼 Обработка картинок через next/image
img: (props) => (