add menu contact

This commit is contained in:
2025-11-13 13:58:52 +07:00
parent 85db9e0a52
commit 08f8c4708f
5 changed files with 769 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ import {
GroupOutlined,
SlidersOutlined,
SnippetsOutlined,
ContactsOutlined,
} from '@ant-design/icons';
const { Text } = Typography;
@@ -182,6 +183,15 @@ const allItems = [
},
],
},
{
key: 'contact',
icon: <ContactsOutlined style={{ fontSize: '19px' }} />,
label: (
<Link to="/contact" className="fontMenus">
Contact
</Link>
),
},
{
key: 'notification',
icon: <BellOutlined style={{ fontSize: '19px' }} />,
@@ -236,6 +246,7 @@ const LayoutMenu = () => {
if (pathname === '/role') return 'role';
if (pathname === '/notification') return 'notification';
if (pathname === '/jadwal-shift') return 'jadwal-shift';
if (pathname === '/contact') return 'contact';
// Handle master routes
if (pathname.startsWith('/master/')) {