diff --git a/app/components/ClientWrappers.tsx b/app/components/ClientWrappers.tsx index 45ea37e..5b943eb 100644 --- a/app/components/ClientWrappers.tsx +++ b/app/components/ClientWrappers.tsx @@ -6,7 +6,10 @@ */ import { NextIntlClientProvider } from 'next-intl'; -import dynamic from 'next/dynamic'; +import About from './About'; +import Projects from './Projects'; +import Contact from './Contact'; +import Footer from './Footer'; import type { AboutTranslations, ProjectsTranslations, @@ -16,12 +19,6 @@ import type { import enMessages from '@/messages/en.json'; import deMessages from '@/messages/de.json'; -// Lazy-load below-fold sections (code-split but still SSR) -const About = dynamic(() => import('./About')); -const Projects = dynamic(() => import('./Projects')); -const Contact = dynamic(() => import('./Contact')); -const Footer = dynamic(() => import('./Footer')); - const messageMap = { en: enMessages, de: deMessages }; function getNormalizedLocale(locale: string): 'en' | 'de' {