From 7e3db76b26698cb340d7201141ee6cf5728438c0 Mon Sep 17 00:00:00 2001 From: Amy Date: Wed, 31 Jul 2024 10:20:30 +0100 Subject: [PATCH] added quiz page routing --- src/App.tsx | 3 +++ src/Quiz/Quiz.tsx | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 src/Quiz/Quiz.tsx diff --git a/src/App.tsx b/src/App.tsx index 7cc1d3a..3e2c6cd 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,6 +2,7 @@ import React from 'react'; import {BrowserRouter as Router, Routes, Route} from 'react-router-dom'; import './App.scss'; import Home from './Home/Home'; +import { Quiz } from './Quiz/Quiz'; function App() { return ( @@ -11,6 +12,8 @@ function App() { }/> + }/> diff --git a/src/Quiz/Quiz.tsx b/src/Quiz/Quiz.tsx new file mode 100644 index 0000000..e3fd1aa --- /dev/null +++ b/src/Quiz/Quiz.tsx @@ -0,0 +1,6 @@ +export function Quiz () { + return ( + <> + + ) +} \ No newline at end of file