Skip to content

Commit b5c5056

Browse files
authored
feat: update sidebar's menuicon (#1651)
* feat: update menuicon * feat: update consumer icon
1 parent 83335e2 commit b5c5056

File tree

2 files changed

+26
-24
lines changed

2 files changed

+26
-24
lines changed

web/src/helpers.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import React from 'react';
1818
import { notification } from 'antd';
1919
import type { MenuDataItem } from '@ant-design/pro-layout';
20+
import { InfoCircleOutlined } from '@ant-design/icons';
2021
import { history } from 'umi';
2122
import moment from 'moment';
2223
import YAML from 'yaml';
@@ -45,7 +46,7 @@ export const getMenuData = (): MenuDataItem[] => {
4546
{
4647
name: 'service',
4748
path: '/service/list',
48-
icon: <IconFont name="iconconsumer" />,
49+
icon: <IconFont name="iconservice" />,
4950
},
5051
{
5152
name: 'consumer',
@@ -55,7 +56,7 @@ export const getMenuData = (): MenuDataItem[] => {
5556
{
5657
name: 'plugin',
5758
path: '/plugin/list',
58-
icon: <IconFont name="iconconsumer" />,
59+
icon: <IconFont name="iconplugin" />,
5960
},
6061
{
6162
name: 'ssl',
@@ -65,7 +66,7 @@ export const getMenuData = (): MenuDataItem[] => {
6566
{
6667
name: 'serverinfo',
6768
path: '/serverinfo',
68-
icon: <IconFont name="iconinfocircle" />,
69+
icon: <InfoCircleOutlined />,
6970
},
7071
];
7172
};

0 commit comments

Comments
 (0)