migration wip

This commit is contained in:
2025-12-30 00:06:54 +01:00
parent 3efbac78cb
commit 89dbf8af87
94 changed files with 5674 additions and 308 deletions

View File

@@ -58,9 +58,9 @@ function RelatedPosts({ currentSlug, locale }: { currentSlug: string; locale: 'e
<h3 className="font-semibold text-gray-900 group-hover:text-blue-600 transition-colors mb-2 line-clamp-2">
{post.title}
</h3>
<p className="text-sm text-gray-600 line-clamp-2 mb-2">
{post.excerptHtml}
</p>
<div className="text-sm text-gray-600 line-clamp-2 mb-2">
<ContentRenderer content={post.excerptHtml} />
</div>
<span className="text-xs text-blue-600 font-medium">
{t('blog.readMore', locale as 'en' | 'de')}
</span>
@@ -214,7 +214,7 @@ export default async function BlogDetailPage({ params }: PageProps) {
{/* Article Content */}
<div className="mb-12">
<ContentRenderer
content={post.contentHtml}
content={processedContent}
className="prose prose-lg prose-blue"
/>
</div>