migration wip

This commit is contained in:
2025-12-29 18:45:02 +01:00
parent f86785bfb0
commit 3efbac78cb
33 changed files with 164 additions and 52 deletions

View File

@@ -7,6 +7,7 @@ import { getLocalizedPath } from '@/lib/i18n';
import { t } from '@/lib/i18n';
import { SEO } from '@/components/SEO';
import { LocaleSwitcher } from '@/components/LocaleSwitcher';
import { ContentRenderer } from '@/components/content/ContentRenderer';
interface PageProps {
params: {
@@ -211,10 +212,12 @@ export default async function BlogDetailPage({ params }: PageProps) {
})()}
{/* Article Content */}
<div
className="prose prose-lg prose-blue max-w-none mb-12"
dangerouslySetInnerHTML={{ __html: processedContent }}
/>
<div className="mb-12">
<ContentRenderer
content={post.contentHtml}
className="prose prose-lg prose-blue"
/>
</div>
{/* Article Footer */}
<footer className="border-t border-gray-200 pt-8 mt-12">