Vlad Chikalkin 49df4365ca
Feature/telegram integration (#4)
* add files from official template

* remove all official template trash
2024-12-11 16:00:55 +03:00

25 lines
661 B
TypeScript

import { Root } from '@/components/telegram';
import { I18nProvider } from '@/utils/i18n/provider';
import { type Metadata } from 'next';
import { getLocale } from 'next-intl/server';
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>
<Root>{children}</Root>
</I18nProvider>
</body>
</html>
);
}