Added notifications page && change app language
Deploy Frontend / build-and-deploy (push) Successful in 24s
Details
Deploy Frontend / build-and-deploy (push) Successful in 24s
Details
This commit is contained in:
parent
00ed931448
commit
e899c38177
|
|
@ -50,6 +50,7 @@ function App() {
|
||||||
|
|
||||||
<Route element={<ProtectedRoute><MainLayout /></ProtectedRoute>}>
|
<Route element={<ProtectedRoute><MainLayout /></ProtectedRoute>}>
|
||||||
<Route path="/" element={<Placeholder title="Главная" /> } />
|
<Route path="/" element={<Placeholder title="Главная" /> } />
|
||||||
|
<Route path="/notifications" element={<Placeholder title="Уведомления" /> } />
|
||||||
<Route path="/approval-dash" element={<Dashboard />} />
|
<Route path="/approval-dash" element={<Dashboard />} />
|
||||||
<Route path="/users" element={<UsersPage />} />
|
<Route path="/users" element={<UsersPage />} />
|
||||||
<Route path="/departments" element={<DepartmentsPage />} />
|
<Route path="/departments" element={<DepartmentsPage />} />
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import {
|
||||||
IconUserCheck,
|
IconUserCheck,
|
||||||
IconGitBranch,
|
IconGitBranch,
|
||||||
IconUserCog,
|
IconUserCog,
|
||||||
IconCheck,
|
IconCheck, IconBellRinging,
|
||||||
} from '@tabler/icons-react'
|
} from '@tabler/icons-react'
|
||||||
import { useLocation, useNavigate } from 'react-router-dom'
|
import { useLocation, useNavigate } from 'react-router-dom'
|
||||||
|
|
||||||
|
|
@ -29,6 +29,7 @@ interface MenuItem {
|
||||||
const menuItems: MenuItem[] = [
|
const menuItems: MenuItem[] = [
|
||||||
{ label: 'Обзор', icon: IconDashboard, path: '/' },
|
{ label: 'Обзор', icon: IconDashboard, path: '/' },
|
||||||
{ label: 'Администраторы', icon: IconUserCog, path: '/admins' },
|
{ label: 'Администраторы', icon: IconUserCog, path: '/admins' },
|
||||||
|
{ label: 'Уведомления', icon: IconBellRinging, path: '/notifications' },
|
||||||
{
|
{
|
||||||
label: 'Система согласований',
|
label: 'Система согласований',
|
||||||
icon: IconFileCheck,
|
icon: IconFileCheck,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue