in src/app/[locale]/layout.tsx [36:63]
export default async function RootLayout({
children,
params: { locale },
}: Readonly<{
children: React.ReactNode;
params: { locale: string };
}>) {
const messages = await getMessages();
return (
<html lang={locale} className={montserrat.variable}>
<head>
<ColorSchemeScript />
</head>
<GoogleTagManager gtmId={process.env.CONTENTFUL_GTAG_ID || ''} />
<body>
<MantineProvider theme={theme}>
<Notifications />
<NextIntlClientProvider messages={messages}>
<Header links={APP_ROUTES} />
{children}
<Footer />
</NextIntlClientProvider>
</MantineProvider>
</body>
</html>
);
}