Add logs page

This commit is contained in:
Sacha Weatherstone
2022-10-08 22:12:13 +10:30
parent 3dce57a657
commit 026f02f88c
6 changed files with 109 additions and 3 deletions
+8
View File
@@ -28,6 +28,7 @@ import {
Cog8ToothIcon,
CubeTransparentIcon,
DevicePhoneMobileIcon,
DocumentTextIcon,
IdentificationIcon,
InboxIcon,
LinkIcon,
@@ -120,6 +121,13 @@ export const CommandPalette = (): JSX.Element => {
setActivePage("info");
},
},
{
name: "Logs",
icon: DocumentTextIcon,
action() {
setActivePage("logs");
},
},
],
},
{
+6
View File
@@ -5,6 +5,7 @@ import type { Page } from "@app/core/stores/deviceStore.js";
import {
BeakerIcon,
Cog8ToothIcon,
DocumentTextIcon,
IdentificationIcon,
InboxIcon,
MapIcon,
@@ -57,6 +58,11 @@ export const PageNav = (): JSX.Element => {
icon: <IdentificationIcon />,
page: "info",
},
{
name: "Logs",
icon: <DocumentTextIcon />,
page: "logs",
},
];
return (