Files
mb-grid-solutions.com/app/[locale]/datenschutz/page.tsx
Marc Mintel 52480b4f55
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 4s
🚀 Build & Deploy / 🧪 QA (push) Failing after 3m5s
🚀 Build & Deploy / 🏗️ Build (push) Failing after 13m16s
🚀 Build & Deploy / 🚀 Deploy (push) Has been skipped
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
fix: resolve linting errors and increase node heap size for CI stability
2026-05-04 13:56:33 +02:00

26 lines
554 B
TypeScript

import React from "react";
import { notFound } from "next/navigation";
import { LegalLayout } from "@/components/LegalLayout";
interface PageProps {
params: Promise<{ locale: string }>;
}
export default async function Page({ params }: PageProps) {
const { locale } = await params;
let Content: React.ComponentType;
try {
const mdx = await import(`@/content/${locale}/datenschutz.mdx`);
Content = mdx.default;
} catch {
notFound();
}
return (
<LegalLayout title="Datenschutz">
<Content />
</LegalLayout>
);
}