import SignInPage from "../pages/SignInPage.js";
import DashboardOverviewPage from "../pages/DashboardOverviewPage.js";
import SystemOverviewPage from "../pages/config/system/SystemOverviewPage.js";
import SystemSafePage from "../pages/config/system/SystemSafePage.js";
import SystemSubscribePage from "../pages/config/system/SystemSubscribePage.js";
import SystemInvitePage from "../pages/config/system/SystemInvitePage.js";
import SystemFrontendPage from "../pages/config/system/SystemFrontendPage.js";
import SystemServerPage from "../pages/config/system/SystemServerPage.js";
import SystemEmailPage from "../pages/config/system/SystemEmailPage.js";
import SystemTelegramPage from "../pages/config/system/SystemTelegramPage.js";
import SystemAppPage from "../pages/config/system/SystemAppPage.js";
import SubscribeTemplatePage from "../pages/config/system/SubscribeTemplatePage.js";
import PluginManagementPage from "../pages/config/PluginManagementPage.js";
import ThemeConfigPage from "../pages/config/ThemeConfigPage.js";
import NoticeManagementPage from "../pages/config/NoticeManagementPage.js";
import KnowledgeManagementPage from "../pages/config/KnowledgeManagementPage.js";
import ServerManagePage from "../pages/server/ServerManagePage.js";
import ServerGroupPage from "../pages/server/ServerGroupPage.js";
import ServerRoutePage from "../pages/server/ServerRoutePage.js";
import FinancePlanPage from "../pages/finance/FinancePlanPage.js";
import FinanceOrderPage from "../pages/finance/FinanceOrderPage.js";
import UserManagePage from "../pages/user/UserManagePage.js";
import UserTicketPage from "../pages/user/UserTicketPage.js";
import TrafficResetLogsPage from "../pages/user/TrafficResetLogsPage.js";
import Error404Page from "../pages/errors/Error404Page.js";
import Error500Page from "../pages/errors/Error500Page.js";
import Error503Page from "../pages/errors/Error503Page.js";

export const reverseRoutes = [
  { path: "/sign-in", page: SignInPage },
  { path: "/", page: DashboardOverviewPage, index: true },
  { path: "/config/system", page: SystemOverviewPage },
  { path: "/config/system/safe", page: SystemSafePage },
  { path: "/config/system/subscribe", page: SystemSubscribePage },
  { path: "/config/system/invite", page: SystemInvitePage },
  { path: "/config/system/frontend", page: SystemFrontendPage },
  { path: "/config/system/server", page: SystemServerPage },
  { path: "/config/system/email", page: SystemEmailPage },
  { path: "/config/system/telegram", page: SystemTelegramPage },
  { path: "/config/system/app", page: SystemAppPage },
  { path: "/config/system/subscribe-template", page: SubscribeTemplatePage },
  { path: "/config/plugin", page: PluginManagementPage },
  { path: "/config/theme", page: ThemeConfigPage },
  { path: "/config/notice", page: NoticeManagementPage },
  { path: "/config/knowledge", page: KnowledgeManagementPage },
  { path: "/server/manage", page: ServerManagePage },
  { path: "/server/group", page: ServerGroupPage },
  { path: "/server/route", page: ServerRoutePage },
  { path: "/finance/plan", page: FinancePlanPage },
  { path: "/finance/order", page: FinanceOrderPage },
  { path: "/user/manage", page: UserManagePage },
  { path: "/user/ticket", page: UserTicketPage },
  { path: "/user/traffic-reset-logs", page: TrafficResetLogsPage },
  { path: "/404", page: Error404Page },
  { path: "/500", page: Error500Page },
  { path: "/503", page: Error503Page },
  { path: "*", page: Error404Page },
];
