Display the list of devices

This commit is contained in:
2024-07-04 19:52:09 +02:00
parent b59e807de1
commit 751e33cb72
4 changed files with 158 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import { mdiHome, mdiNewBox } from "@mdi/js";
import { mdiChip, mdiHome, mdiNewBox } from "@mdi/js";
import Icon from "@mdi/react";
import {
List,
@ -21,6 +21,11 @@ export function SolarEnergyNavList(): React.ReactElement {
}}
>
<NavLink label="Home" uri="/" icon={<Icon path={mdiHome} size={1} />} />
<NavLink
label="Devices"
uri="/devices"
icon={<Icon path={mdiChip} size={1} />}
/>
<NavLink
label="Pending devices"
uri="/pending_devices"