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

@@ -6,6 +6,7 @@ import { getSiteInfo, t, getLocaleFromPath, getLocalizedPath } from '@/lib/i18n'
import { processHTML } from '@/lib/html-compat';
import { SEO } from '@/components/SEO';
import { LocaleSwitcher } from '@/components/LocaleSwitcher';
import { ContentRenderer } from '@/components/content/ContentRenderer';
interface PageProps {
params: {
@@ -187,9 +188,9 @@ export default async function ProductDetailPage({ params }: PageProps) {
<h3 className="text-sm font-medium text-gray-900 mb-3">
{t('products.description', locale as 'en' | 'de')}
</h3>
<div
<ContentRenderer
content={product.descriptionHtml || ''}
className="prose prose-sm max-w-none text-gray-600"
dangerouslySetInnerHTML={{ __html: processedDescription }}
/>
</div>
)}