Updated sidebar
Deploy Frontend / build-and-deploy (push) Successful in 25s
Details
Deploy Frontend / build-and-deploy (push) Successful in 25s
Details
This commit is contained in:
parent
6792893a69
commit
00ed931448
|
|
@ -1,10 +1,10 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>ruspet_admin_frontend</title>
|
||||
<title>Административная панель РусПЭТ</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
|
|
|||
|
|
@ -49,7 +49,8 @@ function App() {
|
|||
<Route path="/login" element={<Login />} />
|
||||
|
||||
<Route element={<ProtectedRoute><MainLayout /></ProtectedRoute>}>
|
||||
<Route path="/" element={<Dashboard />} />
|
||||
<Route path="/" element={<Placeholder title="Главная" /> } />
|
||||
<Route path="/approval-dash" element={<Dashboard />} />
|
||||
<Route path="/users" element={<UsersPage />} />
|
||||
<Route path="/departments" element={<DepartmentsPage />} />
|
||||
<Route path="/roles" element={<RolesPage />} />
|
||||
|
|
|
|||
|
|
@ -27,12 +27,13 @@ interface MenuItem {
|
|||
}
|
||||
|
||||
const menuItems: MenuItem[] = [
|
||||
{ label: 'Dashboard', icon: IconDashboard, path: '/' },
|
||||
{ label: 'Обзор', icon: IconDashboard, path: '/' },
|
||||
{ label: 'Администраторы', icon: IconUserCog, path: '/admins' },
|
||||
{
|
||||
label: 'Система согласований',
|
||||
icon: IconFileCheck,
|
||||
children: [
|
||||
{ label: 'Панель управления', icon: IconDashboard, path: '/approval-dash' },
|
||||
{ label: 'Заявки', icon: IconList, path: '/approvals' },
|
||||
{ label: 'Задачи', icon: IconCheck, path: '/approval-tasks' },
|
||||
{ label: 'Пользователи', icon: IconUsers, path: '/users' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue