This commit is contained in:
Stefan
2025-12-14 12:45:33 +01:00
parent 1bee218cce
commit 38f2cb0f3b
4 changed files with 20 additions and 4 deletions
+3
View File
@@ -1,6 +1,9 @@
import Header from "@/components/Header";
import Footer from "@/components/Footer";
// Force dynamic rendering to read environment variables at runtime
export const dynamic = 'force-dynamic';
export default function ImprintPage() {
return (
<div className="min-h-screen flex flex-col bg-white dark:bg-gray-900">
+3
View File
@@ -21,6 +21,9 @@ export const metadata: Metadata = {
description: "Learn chess with AI-powered tutoring from Gemini and Stockfish engine analysis",
};
// Force dynamic rendering to read environment variables at runtime
export const dynamic = 'force-dynamic';
export default function RootLayout({
children,
}: Readonly<{
+3
View File
@@ -1,6 +1,9 @@
import Header from "@/components/Header";
import Footer from "@/components/Footer";
// Force dynamic rendering to read environment variables at runtime
export const dynamic = 'force-dynamic';
export default function PrivacyPage() {
// Read environment variable at runtime (Server Component)
const responsiblePerson = process.env.DATA_PRIVACY_RESPONSIBLE_PERSON || "[Name of Responsible Person]";