restructure frontend and add network settings
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 1m41s

This commit is contained in:
2025-12-18 20:38:27 +01:00
parent b0de61fd9d
commit 9afe49857a
15 changed files with 1479 additions and 696 deletions

View File

@@ -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' },
];