- added page managebandi;

- improved styles of the pages and sections;
This commit is contained in:
Vitalii Kiiko
2024-08-14 08:28:54 +02:00
parent c09127a675
commit 76b5dd2ece
28 changed files with 945 additions and 56 deletions

View File

@@ -6,11 +6,15 @@ import Login from './pages/Login';
import ProtectedRoute from './components/ProtectedRoute';
import Dashboard from './pages/Dashboard';
import DefaultLayout from './layouts/DefaultLayout';
import Bandi from './pages/Bandi';
import Bando from './pages/Bando';
const routes = () => (
<Routes>
<Route element={<ProtectedRoute/>}>
<Route path="/" element={<DefaultLayout><Dashboard/></DefaultLayout>}/>
<Route path="/bandi" element={<DefaultLayout><Bandi/></DefaultLayout>}/>
<Route path="/bandi/:id" element={<DefaultLayout><Bando/></DefaultLayout>}/>
</Route>
<Route exact path="/login" element={<Login/>}/>
{/*<Route exact path="/forgot-password" element={<ForgotPassword/>}/>*/}