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

@@ -2,6 +2,7 @@ import { notFound } from 'next/navigation'
import { getAllCategories, getProductsByCategory } from '@/lib/data'
import { ProductList } from '@/components/ProductList'
import { Metadata } from 'next'
import { ContentRenderer } from '@/components/content/ContentRenderer'
interface PageProps {
params: {
@@ -48,9 +49,9 @@ export default async function ProductCategoryPage({ params }: PageProps) {
<div className="container mx-auto px-4 py-8">
<h1 className="text-4xl font-bold mb-6">{category.name}</h1>
{category.description && (
<div
<ContentRenderer
content={category.description}
className="mb-8 prose max-w-none"
dangerouslySetInnerHTML={{ __html: category.description }}
/>
)}