restructure frontend and add network settings
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m41s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m41s
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
// src/components/Sidebar.tsx
|
||||
import { HomeOutlined, InfoCircleOutlined, SettingOutlined } from '@ant-design/icons';
|
||||
import { ApartmentOutlined, HomeOutlined, InfoCircleOutlined, SettingOutlined } from '@ant-design/icons';
|
||||
import { Layout, Menu } from 'antd';
|
||||
import React from 'react';
|
||||
import { useLocation, useNavigate } from 'react-router-dom';
|
||||
import { PATHS } from '../routes';
|
||||
import '../theme/layout.less';
|
||||
|
||||
const { Sider } = Layout;
|
||||
|
||||
const menuItems = [
|
||||
{ key: '/', icon: <HomeOutlined />, label: 'Home' },
|
||||
{ key: PATHS.HOME, icon: <HomeOutlined />, label: 'Home' },
|
||||
{ key: PATHS.NETWORK, icon: <ApartmentOutlined />, label: 'Network' },
|
||||
{ key: '/about', icon: <InfoCircleOutlined />, label: 'About' },
|
||||
{ key: '/settings', icon: <SettingOutlined />, label: 'Settings' },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user