✨ feat(App): Add curriculum page
This commit is contained in:
+5
-1
@@ -1,6 +1,6 @@
|
||||
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([
|
||||
{
|
||||
@@ -8,6 +8,10 @@ const router = createBrowserRouter([
|
||||
element: <MainPage />,
|
||||
errorElement: <ErrorPage />,
|
||||
},
|
||||
{
|
||||
path: '/curriculum',
|
||||
element: <CurriculumPage />,
|
||||
},
|
||||
{
|
||||
path: '/contacts',
|
||||
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,4 +1,5 @@
|
||||
export { default as MainPage } from './MainPage'
|
||||
export { default as ContactPage } from './ContactPage'
|
||||
export { default as CurriculumPage } from './CurriculumPage'
|
||||
|
||||
export { default as ErrorPage } from './ErrorPage'
|
||||
|
||||
Reference in New Issue
Block a user