✨ feat(App): Add curriculum page

This commit is contained in:
2024-02-01 20:30:05 +01:00
parent 5bb41800ac
commit 61708485f2
4 changed files with 14 additions and 1 deletions
+5 -1
View File
@@ -1,6 +1,6 @@
import { createBrowserRouter, RouterProvider } from 'react-router-dom' import { createBrowserRouter, RouterProvider } from 'react-router-dom'
import { MainPage, ContactPage, ErrorPage } from 'components/pages' import { MainPage, ContactPage, ErrorPage, CurriculumPage } from 'components/pages'
const router = createBrowserRouter([ const router = createBrowserRouter([
{ {
@@ -8,6 +8,10 @@ const router = createBrowserRouter([
element: <MainPage />, element: <MainPage />,
errorElement: <ErrorPage />, errorElement: <ErrorPage />,
}, },
{
path: '/curriculum',
element: <CurriculumPage />,
},
{ {
path: '/contacts', path: '/contacts',
element: <ContactPage />, element: <ContactPage />,
@@ -0,0 +1,7 @@
import { Page } from 'components/templates'
const ContactPage = () => {
return <Page title="Curriculum"></Page>
}
export default ContactPage
@@ -0,0 +1 @@
export { default } from './CurriculumPage'
+1
View File
@@ -1,4 +1,5 @@
export { default as MainPage } from './MainPage' export { default as MainPage } from './MainPage'
export { default as ContactPage } from './ContactPage' export { default as ContactPage } from './ContactPage'
export { default as CurriculumPage } from './CurriculumPage'
export { default as ErrorPage } from './ErrorPage' export { default as ErrorPage } from './ErrorPage'