Tweak menu icons

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-07-16 12:57:55 +02:00
parent 1aa79e29a2
commit b2bf2226df

View File

@ -27,12 +27,15 @@ import {
IconChevronDown, IconChevronDown,
IconChevronRight, IconChevronRight,
IconCloudDataConnection, IconCloudDataConnection,
IconCpu,
IconDatabase, IconDatabase,
IconDatabaseSearch, IconDatabaseSearch,
IconFileAnalytics, IconFileAnalytics,
IconFlag, IconFlag,
IconHeartRateMonitor, IconHeartRateMonitor,
IconInfoCircle, IconInfoCircle,
IconSearch,
IconServer,
IconServerCog, IconServerCog,
} from "@tabler/icons-react"; } from "@tabler/icons-react";
import { import {
@ -66,13 +69,13 @@ import ReadinessWrapper from "./components/ReadinessWrapper";
const queryClient = new QueryClient(); const queryClient = new QueryClient();
const navIconStyle = { width: rem(15), height: rem(15) }; const navIconStyle = { width: rem(16), height: rem(16) };
const mainNavPages = [ const mainNavPages = [
{ {
title: "Query", title: "Query",
path: "/query", path: "/query",
icon: <IconDatabaseSearch style={navIconStyle} />, icon: <IconSearch style={navIconStyle} />,
element: <QueryPage />, element: <QueryPage />,
inAgentMode: false, inAgentMode: false,
}, },
@ -238,7 +241,7 @@ function App() {
component={NavLink} component={NavLink}
to="/" to="/"
className={classes.link} className={classes.link}
leftSection={<IconFileAnalytics style={navIconStyle} />} leftSection={<IconServer style={navIconStyle} />}
rightSection={<IconChevronDown style={navIconStyle} />} rightSection={<IconChevronDown style={navIconStyle} />}
onClick={(e) => { onClick={(e) => {
e.preventDefault(); e.preventDefault();