change icons & logo
parent
57c0fed976
commit
31188c0bb0
|
|
@ -2,7 +2,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<link rel="icon" href="%PUBLIC_URL%/logo.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||
-->
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
<title>EVA-Notify Admin Page</title>
|
||||
<title>EVA Tea</title>
|
||||
</head>
|
||||
<body style="margin: 0;">
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 50 KiB |
14
src/App.tsx
14
src/App.tsx
|
|
@ -2,9 +2,11 @@ import { FC } from 'react';
|
|||
import { useLocation, useNavigate } from 'react-router-dom';
|
||||
import {
|
||||
TeamOutlined,
|
||||
UserOutlined,
|
||||
DesktopOutlined,
|
||||
HomeOutlined,
|
||||
SmileOutlined,
|
||||
CrownOutlined,
|
||||
ClockCircleOutlined,
|
||||
ThunderboltOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import type { MenuProps } from 'antd';
|
||||
import { Breadcrumb, Layout, Menu, theme } from 'antd';
|
||||
|
|
@ -62,16 +64,16 @@ function defSubMenu(
|
|||
}
|
||||
|
||||
const items: MenuItem[] = [
|
||||
defMenu('主页', 'mainpage', <DesktopOutlined />, routes.main),
|
||||
defRootMenu('主席团管理', 'admin', <UserOutlined />, [
|
||||
defMenu('主页', 'mainpage', <SmileOutlined />, routes.main),
|
||||
defRootMenu('主席团管理', 'admin', <CrownOutlined />, [
|
||||
defSubMenu('排班表管理', 'dutytable', routes.admin.dutyTable),
|
||||
defSubMenu('值班信息管理', 'dutyinfo', routes.admin.dutyInfo),
|
||||
]),
|
||||
defRootMenu('值班组长', 'leader', <TeamOutlined />, [
|
||||
defSubMenu('值班总结', 'conclusion', routes.duty.conclusion),
|
||||
]),
|
||||
defMenu('日志', 'logspage', <UserOutlined />, routes.about),
|
||||
defMenu('关于我们', 'aboutpage', <UserOutlined />, routes.about),
|
||||
defMenu('日志', 'logspage', <ClockCircleOutlined />, routes.logs),
|
||||
defMenu('关于我们', 'aboutpage', <ThunderboltOutlined />, routes.about),
|
||||
];
|
||||
|
||||
interface BreadcrumbItem {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ const PageFooter: React.FC = () => {
|
|||
return (
|
||||
<div>
|
||||
<Footer style={{ textAlign: 'center', color: '#808080' }}>
|
||||
EVA-Tea <br /> <br />
|
||||
EVA Tea <br /> <br />
|
||||
© {yearStr} EVA Tech
|
||||
</Footer>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue