diff --git a/webui/src/common/routes/server.jsx b/webui/src/common/routes/server.jsx new file mode 100644 index 0000000..6abcfef --- /dev/null +++ b/webui/src/common/routes/server.jsx @@ -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: }, + {path: "/ports", element: }, +] + +export const sidebar = [ + { + path: "/", + icon: , + name: () => t("nav.server") + }, + { + path: "/ports", + icon: , + name: () => t("nav.ports") + } +] \ No newline at end of file