28 lines
765 B
TypeScript
28 lines
765 B
TypeScript
// import { Root as TelegramRoot } from '@/components/telegram';
|
|
import { I18nProvider } from '@/utils/i18n/provider';
|
|
import { type Metadata } from 'next';
|
|
import { getLocale } from 'next-intl/server';
|
|
import '@repo/ui/globals.css';
|
|
import { type PropsWithChildren } from 'react';
|
|
|
|
export const metadata: Metadata = {
|
|
description: 'Your application description goes here',
|
|
title: 'Your Application Title Goes Here',
|
|
};
|
|
|
|
export default async function RootLayout({ children }: Readonly<PropsWithChildren>) {
|
|
const locale = await getLocale();
|
|
|
|
return (
|
|
<html lang={locale}>
|
|
<body>
|
|
<I18nProvider>
|
|
{/* <TelegramRoot> */}
|
|
{children}
|
|
{/* </TelegramRoot> */}
|
|
</I18nProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|