+
diff --git a/app/[locale]/blog/[slug]/page.tsx b/app/[locale]/blog/[slug]/page.tsx
index c72d9057a..e105cf94f 100644
--- a/app/[locale]/blog/[slug]/page.tsx
+++ b/app/[locale]/blog/[slug]/page.tsx
@@ -18,6 +18,27 @@ import { setRequestLocale } from 'next-intl/server';
import BlogEngagementTracker from '@/components/analytics/BlogEngagementTracker';
import { MDXRemote } from 'next-mdx-remote/rsc';
+const mdxComponents = {
+ Heading,
+ h1: (props: any) =>
, // Hidden because Hero handles H1
+ h2: (props: any) =>
,
+ h3: (props: any) =>
,
+ h4: (props: any) =>
,
+ p: (props: any) =>
,
+ ul: (props: any) =>
,
+ ol: (props: any) =>
,
+ li: (props: any) => (
+
+ ),
+ a: (props: any) =>
,
+ strong: (props: any) =>
,
+ blockquote: (props: any) => (
+
+ ),
+ hr: (props: any) =>
,
+ img: (props: any) =>
![]()
,
+};
+
interface BlogPostProps {
params: Promise<{
locale: string;
@@ -185,8 +206,8 @@ export default async function BlogPost({ params }: BlogPostProps) {
)}
{/* Main content */}
-
-
+
+
{/* Power CTA */}
diff --git a/app/[locale]/referenzen/[slug]/page.tsx b/app/[locale]/referenzen/[slug]/page.tsx
index 51576c875..d76574dde 100644
--- a/app/[locale]/referenzen/[slug]/page.tsx
+++ b/app/[locale]/referenzen/[slug]/page.tsx
@@ -59,23 +59,32 @@ export default async function ReferenceDetail(props: { params: Promise<{ locale:
notFound();
}
- // MDX components mapping can be expanded if we use custom components in reference MDX
+ // MDX components mapping for industrial typography
const mdxComponents = {
- ul: ({ children }: any) =>
,
- li: ({ children }: any) => (
-
-
- {children}
-
+ Heading,
+ h1: (props: any) =>
, // Hidden because Hero handles H1
+ h2: (props: any) =>
,
+ h3: (props: any) =>
,
+ h4: (props: any) =>
,
+ p: (props: any) =>
,
+ ul: (props: any) =>
,
+ ol: (props: any) =>
,
+ li: (props: any) => (
+
),
+ a: (props: any) =>
,
+ strong: (props: any) =>
,
+ blockquote: (props: any) => (
+
+ ),
+ hr: (props: any) =>
,
+ img: (props: any) =>
![]()
,
};
return (
{/* Hero Section */}
-
+
{reference.frontmatter.featuredImage && (
Leistungsumfang & Projektbeschreibung
-
+
diff --git a/app/globals.css b/app/globals.css
index ef52754de..15679133e 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -59,3 +59,4 @@
cursor: not-allowed;
}
}
+/* trigger rebuild */