|
| 1 | +diff --git a/src/components/layouts/main/sider/sidebarNavigation.tsx b/src/components/layouts/main/sider/sidebarNavigation.tsx |
| 2 | +index fa18628..f2161cd 100644 |
| 3 | +--- a/src/components/layouts/main/sider/sidebarNavigation.tsx |
| 4 | ++++ b/src/components/layouts/main/sider/sidebarNavigation.tsx |
| 5 | +@@ -1,5 +1,5 @@ |
| 6 | + import React, { useMemo } from 'react'; |
| 7 | +-import { DashboardOutlined, TableOutlined } from '@ant-design/icons'; |
| 8 | ++import { DashboardOutlined, TableOutlined, StopOutlined, FlagOutlined } from '@ant-design/icons'; |
| 9 | + import { ReactComponent as NestIcon } from '@app/assets/icons/hive.svg'; |
| 10 | + import { ReactComponent as BtcIcon } from '@app/assets/icons/btc.svg'; |
| 11 | + import { ReactComponent as StatsIcon } from '@app/assets/icons/stats.svg'; |
| 12 | +@@ -20,8 +20,8 @@ export const useSidebarNavigation = (): SidebarNavigationItem[] => { |
| 13 | + return useMemo(() => { |
| 14 | + const items: SidebarNavigationItem[] = [ |
| 15 | + { |
| 16 | + title: 'common.relay-dashboard', |
| 17 | +- key: 'relay-dashboard', |
| 18 | ++ key: 'relay-dashboard', |
| 19 | + url: '/', |
| 20 | + icon: <NestIcon />, |
| 21 | + }, |
| 22 | +@@ -31,6 +31,12 @@ export const useSidebarNavigation = (): SidebarNavigationItem[] => { |
| 23 | + url: '/relay-settings', |
| 24 | + icon: <StorageSettingsIcon />, |
| 25 | + }, |
| 26 | ++ { |
| 27 | ++ title: 'Access Control', |
| 28 | ++ key: 'blocked-pubkeys', |
| 29 | ++ url: '/blocked-pubkeys', |
| 30 | ++ icon: <StopOutlined />, |
| 31 | ++ }, |
| 32 | + { |
| 33 | + title: 'Nostr Statistics', |
| 34 | + key: 'dataTables', |
0 commit comments