2024-05-05 00:01:46 -07:00
|
|
|
|
2024-05-06 12:29:36 -04:00
|
|
|
import { Routes, Route } from 'react-router-dom'
|
|
|
|
|
import './App.css'
|
|
|
|
|
import NotFound from './Pages/NotFound'
|
|
|
|
|
import Login from './Pages/Login'
|
|
|
|
|
import Register from './Pages/Register'
|
|
|
|
|
import HomeLayout from './Layouts/HomeLayout'
|
2024-05-05 00:01:46 -07:00
|
|
|
|
2024-05-03 12:29:37 -04:00
|
|
|
|
2024-05-06 12:29:36 -04:00
|
|
|
function App() {
|
2024-05-03 12:29:37 -04:00
|
|
|
return (
|
|
|
|
|
<>
|
2024-05-06 12:29:36 -04:00
|
|
|
<Routes>
|
|
|
|
|
<Route exact path='/' element={<HomeLayout />} />
|
|
|
|
|
<Route exact path='/register' element={<Register />} />
|
|
|
|
|
<Route exact path='/login' element={<Login />} />
|
|
|
|
|
<Route path='*' element={<NotFound />} />
|
|
|
|
|
</Routes>
|
2024-05-03 12:29:37 -04:00
|
|
|
</>
|
2024-05-06 12:29:36 -04:00
|
|
|
)
|
2024-05-03 12:29:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default App
|
2024-05-05 15:40:18 -07:00
|
|
|
|