diff --git a/spug_web/src/layout/Header.js b/spug_web/src/layout/Header.js index b44127e..0fc473d 100644 --- a/spug_web/src/layout/Header.js +++ b/spug_web/src/layout/Header.js @@ -6,7 +6,7 @@ import React from 'react'; import { Link } from 'react-router-dom'; import { Layout, Dropdown, Menu, Avatar, Divider } from 'antd'; -import { MenuFoldOutlined, MenuUnfoldOutlined, UserOutlined, LogoutOutlined, CodeOutlined } from '@ant-design/icons'; +import { MenuFoldOutlined, MenuUnfoldOutlined, UserOutlined, LogoutOutlined, CodeOutlined, DownOutlined } from '@ant-design/icons'; import { AuthDiv } from 'components'; import Notification from './Notification'; import styles from './layout.module.less'; @@ -39,6 +39,20 @@ export default function (props) { ); + const ToolsMenu = ( + + window.open('https://ssl.spug.cc')}> + 免费证书 + + window.open('https://up.spug.cc')}> + 免费监控 + + window.open('https://push.spug.cc')}> + 推送助手 + + + ); + return (
@@ -47,7 +61,11 @@ export default function (props) {
window.open('https://spug.cc/')}>官网
window.open('https://ops.spug.cc/docs/about-spug/')}>文档
-
window.open('https://ssl.spug.cc/')}>证书申请
+ + + 工具服务 + + diff --git a/spug_web/src/layout/index.js b/spug_web/src/layout/index.js index 4ba829a..e27e842 100644 --- a/spug_web/src/layout/index.js +++ b/spug_web/src/layout/index.js @@ -51,6 +51,7 @@ export default function () { +