Files
clash-verge-rev/src/pages/_routers.tsx
T

39 lines
734 B
TypeScript
Raw Normal View History

2022-01-16 03:25:50 +08:00
import LogsPage from "./logs";
import ProxiesPage from "./proxies";
import ProfilesPage from "./profiles";
import SettingsPage from "./settings";
2022-01-16 03:11:07 +08:00
import ConnectionsPage from "./connections";
2022-09-18 23:19:02 +08:00
import RulesPage from "./rules";
2022-01-16 03:11:07 +08:00
export const routers = [
{
2022-03-12 23:07:45 +08:00
label: "Label-Proxies",
2022-01-16 03:11:07 +08:00
link: "/",
2022-01-16 03:25:50 +08:00
ele: ProxiesPage,
2022-01-16 03:11:07 +08:00
},
{
2022-03-12 23:07:45 +08:00
label: "Label-Profiles",
2022-01-16 03:11:07 +08:00
link: "/profile",
2022-01-16 03:25:50 +08:00
ele: ProfilesPage,
2022-01-16 03:11:07 +08:00
},
2022-09-18 23:19:02 +08:00
{
label: "Label-Rules",
link: "/rules",
ele: RulesPage,
},
2022-01-16 03:11:07 +08:00
{
2022-03-12 23:07:45 +08:00
label: "Label-Connections",
2022-01-16 03:11:07 +08:00
link: "/connections",
ele: ConnectionsPage,
},
{
2022-03-12 23:07:45 +08:00
label: "Label-Logs",
2022-01-16 03:25:50 +08:00
link: "/logs",
ele: LogsPage,
2022-01-16 03:11:07 +08:00
},
{
2022-03-12 23:07:45 +08:00
label: "Label-Settings",
2022-01-16 03:25:50 +08:00
link: "/settings",
ele: SettingsPage,
2022-01-16 03:11:07 +08:00
},
];