diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 8b81fe92..7712cf94 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -11,6 +11,8 @@ import { MessageSquareIcon, SettingsIcon, UsersIcon, + ZapIcon, + BatteryMediumIcon } from "lucide-react"; export interface SidebarProps { @@ -58,7 +60,7 @@ export const Sidebar = ({ children }: SidebarProps): JSX.Element => { return (
-
+
{myNode?.user?.shortName ?? "UNK"} @@ -73,6 +75,16 @@ export const Sidebar = ({ children }: SidebarProps): JSX.Element => {
+
+
+ + {myNode?.deviceMetrics?.batteryLevel ?? "UNK"}% +
+
+ + {myNode?.deviceMetrics?.voltage.toPrecision(3) ?? "UNK"} volts +
+
{pages.map((link) => (