Add self-registration, role management, and department mapping UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e9cd40c80a
commit
fa32ea84ee
8 changed files with 584 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { useState } from 'react'
|
||||
import { NavLink, useNavigate, useLocation } from 'react-router-dom'
|
||||
import { LayoutGrid, Users, Activity, Settings, LogOut, ChevronDown } from 'lucide-react'
|
||||
import { LayoutGrid, Users, Activity, Settings, LogOut, ChevronDown, ShieldCheck, Building2 } from 'lucide-react'
|
||||
import { AppIcon } from './AppIcon'
|
||||
import type { User, App } from '../types'
|
||||
|
||||
|
|
@ -123,6 +123,14 @@ export function Sidebar({ user, activeSlug }: Props) {
|
|||
<Users size={14} strokeWidth={1.75} />
|
||||
Users
|
||||
</NavLink>
|
||||
<NavLink to="/admin/roles" style={({ isActive }) => navItem(isActive)}>
|
||||
<ShieldCheck size={14} strokeWidth={1.75} />
|
||||
Roles
|
||||
</NavLink>
|
||||
<NavLink to="/admin/departments" style={({ isActive }) => navItem(isActive)}>
|
||||
<Building2 size={14} strokeWidth={1.75} />
|
||||
Departments
|
||||
</NavLink>
|
||||
<NavLink to="/admin/monitor" style={({ isActive }) => navItem(isActive)}>
|
||||
<Activity size={14} strokeWidth={1.75} />
|
||||
Monitor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue