2024-05-08 14:50:11 -07: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";
|
|
|
|
|
import Demo from "./Pages/Demo/Demo";
|
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>
|
2024-05-08 14:50:11 -07:00
|
|
|
<Route exact path="/" element={<HomeLayout />} />
|
|
|
|
|
<Route exact path="/register" element={<Register />} />
|
|
|
|
|
<Route exact path="/login" element={<Login />} />
|
|
|
|
|
<Route exact path="/demo" element={<Demo />} />
|
|
|
|
|
<Route path="*" element={<NotFound />} />
|
2024-05-06 12:29:36 -04:00
|
|
|
</Routes>
|
2024-05-03 12:29:37 -04:00
|
|
|
</>
|
2024-05-08 14:50:11 -07:00
|
|
|
);
|
2024-05-03 12:29:37 -04:00
|
|
|
}
|
|
|
|
|
|
2024-05-08 14:50:11 -07:00
|
|
|
export default App;
|