import { mdiDisc, mdiHome, mdiLanPending } from "@mdi/js";
import Icon from "@mdi/react";
import {
Box,
List,
ListItemButton,
ListItemIcon,
ListItemSecondaryAction,
ListItemText,
} from "@mui/material";
import { Outlet, useLocation } from "react-router-dom";
import { RouterLink } from "./RouterLink";
import { VirtWebAppBar } from "./VirtWebAppBar";
export function BaseAuthenticatedPage(): React.ReactElement {
return (
theme.palette.grey[900],
color: (theme) => theme.palette.grey[100],
}}
>
}
/>
}
/>
}
/>
);
}
function NavLink(p: {
icon: React.ReactElement;
uri: string;
label: string;
secondaryAction?: React.ReactElement;
}): React.ReactElement {
const location = useLocation();
return (
{p.icon}
{p.secondaryAction && (
{p.secondaryAction}
)}
);
}