Files
Checkmate/Client/src/App.jsx
T

25 lines
782 B
React
Raw Normal View History

2024-05-22 17:46:58 +03:30
import { Routes, Route } from "react-router-dom";
2024-05-22 19:09:13 +03:30
// import "./App.css";
2024-05-22 17:46:58 +03:30
import NotFound from "./Pages/NotFound";
2024-05-14 11:06:34 +03:30
import Login from "./Pages/Login";
2024-05-22 17:46:58 +03:30
import Register from "./Pages/Register";
import HomeLayout from "./Layouts/HomeLayout";
import Demo from "./Pages/Demo/Demo";
import PlayGround from "./Pages/PlayGround/PlayGround";
2024-05-14 11:06:34 +03:30
function App() {
return (
<>
2024-05-22 17:46:58 +03:30
<Routes>
2024-05-14 11:06:34 +03:30
<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-20 09:53:02 +03:30
<Route path="/playground" element={<PlayGround />} />
2024-05-22 17:46:58 +03:30
</Routes>
</>
2024-05-11 22:48:09 +03:30
);
}
2024-05-11 22:48:09 +03:30
export default App;