Skip to content

Commit

Permalink
feat: update sidebar's menuicon (#1651)
Browse files Browse the repository at this point in the history
* feat: update menuicon

* feat: update consumer icon
  • Loading branch information
LiteSun authored Mar 23, 2021
1 parent 83335e2 commit b5c5056
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 24 deletions.
7 changes: 4 additions & 3 deletions web/src/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import React from 'react';
import { notification } from 'antd';
import type { MenuDataItem } from '@ant-design/pro-layout';
import { InfoCircleOutlined } from '@ant-design/icons';
import { history } from 'umi';
import moment from 'moment';
import YAML from 'yaml';
Expand Down Expand Up @@ -45,7 +46,7 @@ export const getMenuData = (): MenuDataItem[] => {
{
name: 'service',
path: '/service/list',
icon: <IconFont name="iconconsumer" />,
icon: <IconFont name="iconservice" />,
},
{
name: 'consumer',
Expand All @@ -55,7 +56,7 @@ export const getMenuData = (): MenuDataItem[] => {
{
name: 'plugin',
path: '/plugin/list',
icon: <IconFont name="iconconsumer" />,
icon: <IconFont name="iconplugin" />,
},
{
name: 'ssl',
Expand All @@ -65,7 +66,7 @@ export const getMenuData = (): MenuDataItem[] => {
{
name: 'serverinfo',
path: '/serverinfo',
icon: <IconFont name="iconinfocircle" />,
icon: <InfoCircleOutlined />,
},
];
};
Expand Down
Loading

0 comments on commit b5c5056

Please sign in to comment.