copied the code from the working repo

This commit is contained in:
2024-11-30 16:00:48 +03:00
parent f22b92869b
commit 15ac0cb9b8
148 changed files with 23342 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
const inter = Inter({ subsets: ['latin'] });
import '../fsd/app/styles/global.scss';
import AppHeader from '@/fsd/widgets/Header/Header';
import ClientProvider from '@/fsd/app/provider/QueryClient';
import { AuthProvider } from '@/fsd/app/provider/AuthContext';
import AuthGuard from "@/fsd/app/provider/AuthGuard"
import RedirectPage from '@/fsd/pages/RedirectPage';
export const metadata: Metadata = {
title: 'MTUCI JOBS',
description: 'Project for mtuci jobs',
icons: {
icon: '/favicon.svg'
},
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<ClientProvider>
<html lang='en'>
<AuthProvider>
<body className={inter.className}>
<AppHeader />
<AuthGuard>{children}</AuthGuard>
</body>
</AuthProvider>
</html>
</ClientProvider>
);
}