29 lines
548 B
TypeScript
29 lines
548 B
TypeScript
import type { Metadata } from 'next';
|
|
import { NextIntlClientProvider } from 'next-intl';
|
|
import '@/app/globals.css';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'GSH Digital Services',
|
|
description: ''
|
|
};
|
|
|
|
type Props = {
|
|
params: Promise<{
|
|
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>
|
|
);
|
|
} |