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,7 @@
import VacansyPage from "@/fsd/pages/VacansyPage";
const Create = () => {
return <><VacansyPage/></>;
};
export default Create;

View File

@@ -0,0 +1,9 @@
import EditVacancyPage from '@/fsd/pages/EditVacancyPage';
import React from 'react';
const Edit = ({ params }: { params: { id: number } }) => {
return <EditVacancyPage id={params.id} />;
};
export default Edit;

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>
);
}

View File

@@ -0,0 +1,7 @@
import LoginPage from "@/fsd/pages/LoginPage";
const Login = () => {
return <><LoginPage/></>;
};
export default Login;

View File

@@ -0,0 +1,12 @@
import LoginPage from "@/fsd/pages/LoginPage";
import RedirectPage from "@/fsd/pages/RedirectPage";
import VacansyPage from "@/fsd/pages/VacansyPage";
export default function Home() {
return (
<>
<RedirectPage/>
</>
)
}

View File

@@ -0,0 +1,8 @@
import ResumePage from '@/fsd/pages/ResumePage';
import React from 'react'
const ResumeList = ({ params }: { params: { id: number } }) => {
return <ResumePage id = {params.id}/>;
};
export default ResumeList;

View File

@@ -0,0 +1,11 @@
import SearchResumePage from '@/fsd/pages/SearchResumePage';
const Search = () => {
return (
<>
<SearchResumePage />
</>
);
};
export default Search;

View File

@@ -0,0 +1,11 @@
import ViewVacansyPage from '@/fsd/pages/ViewVacansyPage';
const View = () => {
return (
<>
<ViewVacansyPage />
</>
);
};
export default View;