feat: refactor and adjust ui

This commit is contained in:
GyDi
2022-01-16 03:11:07 +08:00
parent 8dbf870122
commit fb0bb6e7f3
14 changed files with 264 additions and 191 deletions

33
src/pages/_routers.tsx Normal file
View File

@@ -0,0 +1,33 @@
import LogPage from "./log";
import ProxyPage from "./proxy";
import ProfilePage from "./profile";
import SettingPage from "./setting";
import ConnectionsPage from "./connections";
export const routers = [
{
label: "Proxy",
link: "/",
ele: ProxyPage,
},
{
label: "Profile",
link: "/profile",
ele: ProfilePage,
},
{
label: "Connections",
link: "/connections",
ele: ConnectionsPage,
},
{
label: "Log",
link: "/log",
ele: LogPage,
},
{
label: "Setting",
link: "/setting",
ele: SettingPage,
},
];