Files
gsh-website/app/layout.tsx
2025-12-19 23:36:05 +01:00

29 lines
545 B
TypeScript

import type { Metadata } from 'next';
import { NextIntlClientProvider } from 'next-intl';
import './globals.css';
export const metadata: Metadata = {
title: 'GSH Digital Services',
description: ''
};
type Props = Readonly<{
params: {
locale: string;
},
children: React.ReactNode;
}>;
export default async function RootLayout({ params, children }: Props) {
const { locale } = await params;
return (
<html lang={locale}>
<body>
<NextIntlClientProvider>
{children}
</NextIntlClientProvider>
</body>
</html>
);
}