Created the server.jsx routes

This commit is contained in:
Mathias Wagner 2024-02-15 00:54:19 +01:00
parent c78a9d516e
commit 86c8a55cec
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -0,0 +1,22 @@
import {Dashboard, Dns, Share as ShareIcon} from "@mui/icons-material";
import Overview from "@/states/Root/pages/Overview";
import {t} from "i18next";
import Share from "@/states/Root/pages/Share";
export const routes = [
{path: "/", element: <Overview />},
{path: "/ports", element: <Share/>},
]
export const sidebar = [
{
path: "/",
icon: <Dns />,
name: () => t("nav.server")
},
{
path: "/ports",
icon: <ShareIcon/>,
name: () => t("nav.ports")
}
]