mirror of
https://github.com/prometheus/prometheus
synced 2025-02-22 15:46:59 +00:00
Tweak menu icons
Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
parent
1aa79e29a2
commit
b2bf2226df
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user