docs: improvements

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-12-08 13:53:11 +01:00
parent 2dda50fc7c
commit abf5353ab3
11 changed files with 321 additions and 39 deletions

View File

@@ -3,6 +3,7 @@ import { SectionHeader } from '@/components/section';
import { url } from '@/lib/layout.shared';
import { getOgImageUrl, getPageMetadata } from '@/lib/metadata';
import { pageSource } from '@/lib/source';
import { getMDXComponents } from '@/mdx-components';
import type { Metadata } from 'next';
import { notFound } from 'next/navigation';
import Script from 'next/script';
@@ -81,9 +82,11 @@ export default async function Page({
description={page.data.description}
/>
</HeroContainer>
<article className="container col prose">
<Body />
</article>
<main className="container">
<article className="prose">
<Body components={getMDXComponents()} />
</article>
</main>
</div>
);
}