-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.js
35 lines (34 loc) · 1.18 KB
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import React from 'react'
import './App.css'
import './style/homeLogin.css'
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom'
import Home from './pages/Home'
import OldLogin from './pages/old_LoginPage'
import Login from './pages/LoginPage'
import Signup from './pages/SignUpPage'
import Identity from './pages/IdentityPages'
import Skill from './pages/SkillSelect'
import Learning from './pages/Learningpage'
import Playlist from './pages/PlaylistPage'
import Task from './pages/TaskPages'
function App() {
return (
<>
<Router>
<Routes>
<Route index element={<Login />} />
<Route path='/home' element={<Home />} />
<Route path='/login' element={<Login />} />
<Route path='/old_login' element={<OldLogin />} />
<Route path='/signup' element={<Signup />} />
<Route path='/identity' element={<Identity />} />
<Route path='/skill' element={<Skill />} />
<Route path='/learning' element={<Learning />} />
<Route path='/playlist' element={<Playlist />} />
<Route path='/task' element={<Task />} />
</Routes>
</Router>
</>
)
}
export default App