add menu contact
This commit is contained in:
@@ -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/')) {
|
||||
|
||||
Reference in New Issue
Block a user