profilePage

This commit is contained in:
2023-01-09 17:47:04 +03:00
parent 3238bf221c
commit 731244905f
10 changed files with 230 additions and 14 deletions

View File

@ -20,6 +20,7 @@ import { QuizTestPage } from './pages/quiz/QuizTestPage'
import { InstructionPage } from './pages/quiz/InstructionPage'
import { ResultPage } from './pages/quiz/ResultPage'
import { Profile } from './pages/Profile.js'
import { Summary } from './pages/Summary'
const App = () => {
return (
@ -59,6 +60,7 @@ const App = () => {
component={InstructionPage}
/>
<ProtectedRoute path='/profile' component={Profile} />
<ProtectedRoute path='/summary' component={Summary} />
<ProtectedRoute path='/quiz-result' component={ResultPage} />
<ProtectedRoute component={() => <div>Page not found</div>} />
</Switch>