From 61708485f2526730f43a930399a3180bcd26f9ed Mon Sep 17 00:00:00 2001 From: m-tartari <37861893+m-tartari@users.noreply.github.com> Date: Thu, 1 Feb 2024 20:30:05 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(App):=20Add=20curriculum=20pag?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 6 +++++- src/components/pages/CurriculumPage/CurriculumPage.tsx | 7 +++++++ src/components/pages/CurriculumPage/index.ts | 1 + src/components/pages/index.ts | 1 + 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/components/pages/CurriculumPage/CurriculumPage.tsx create mode 100644 src/components/pages/CurriculumPage/index.ts diff --git a/src/App.tsx b/src/App.tsx index 2d9574b..ee28213 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -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: , errorElement: , }, + { + path: '/curriculum', + element: , + }, { path: '/contacts', element: , diff --git a/src/components/pages/CurriculumPage/CurriculumPage.tsx b/src/components/pages/CurriculumPage/CurriculumPage.tsx new file mode 100644 index 0000000..5263778 --- /dev/null +++ b/src/components/pages/CurriculumPage/CurriculumPage.tsx @@ -0,0 +1,7 @@ +import { Page } from 'components/templates' + +const ContactPage = () => { + return +} + +export default ContactPage diff --git a/src/components/pages/CurriculumPage/index.ts b/src/components/pages/CurriculumPage/index.ts new file mode 100644 index 0000000..2a04af9 --- /dev/null +++ b/src/components/pages/CurriculumPage/index.ts @@ -0,0 +1 @@ +export { default } from './CurriculumPage' diff --git a/src/components/pages/index.ts b/src/components/pages/index.ts index 3281232..98434eb 100644 --- a/src/components/pages/index.ts +++ b/src/components/pages/index.ts @@ -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'