diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index 4224f120..158eb8e2 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -10,6 +10,10 @@ import { IconHelpCircle, IconLogout, IconUser, + IconTransferIn, + IconBinaryTree2, + IconTableShortcut, + IconSettings, } from '@tabler/icons-react'; import { FC, useEffect, useState } from 'react'; import docImage from '@/assets/images/doc.webp'; @@ -27,9 +31,10 @@ import { useDisclosure, useLocalStorage } from '@mantine/hooks'; import { LOGIN_ROUTE } from '@/constants/routes'; const links = [ - { icon: IconColumns, label: 'Logs', pathname: '/logs' }, { icon: IconZoomCode, label: 'Query', pathname: '/query' }, + { icon: IconTableShortcut, label: 'Logs', pathname: '/logs' }, { icon: IconReportAnalytics, label: 'Stats', pathname: '/stats' }, + { icon: IconSettings, label: 'Config', pathname: '/config' }, ]; type NavbarProps = Omit; @@ -107,7 +112,7 @@ const Navbar: FC = (props) => { setCurrentPage(location.pathname); } } else if (streams && Boolean(streams.length)) { - navigate(`/${streams[0].name}/logs`); + navigate(`/${streams[0].name}/query`); } }, [streams, location]); @@ -156,16 +161,7 @@ const Navbar: FC = (props) => { - - - } + icon={} className={streamsBtn} />