feat: 登陆注册UI调整,用户协议和隐私政策跳转调整

This commit is contained in:
zdl
2025-10-15 11:03:00 +08:00
parent 29816de72b
commit 4e9acd12c2
18 changed files with 3068 additions and 49 deletions

View File

@@ -83,6 +83,8 @@ const CompanyIndex = React.lazy(() => import("views/Company"));
const MarketDataView = React.lazy(() => import("views/Company/MarketDataView"));
const StockOverview = React.lazy(() => import("views/StockOverview"));
const TradingSimulation = React.lazy(() => import("views/TradingSimulation"));
const PrivacyPolicy = React.lazy(() => import("views/Pages/PrivacyPolicy"));
const UserAgreement = React.lazy(() => import("views/Pages/UserAgreement"));
const dashRoutes = [
{
name: "Dashboard",
@@ -211,6 +213,22 @@ const dashRoutes = [
layout: "/admin",
invisible: true, // 不在侧边栏显示
},
{
name: "隐私政策",
path: "/privacy-policy",
icon: <DocumentIcon color="inherit" />,
component: PrivacyPolicy,
layout: "/home",
invisible: true, // 不在侧边栏显示
},
{
name: "用户协议",
path: "/user-agreement",
icon: <DocumentIcon color="inherit" />,
component: UserAgreement,
layout: "/home",
invisible: true, // 不在侧边栏显示
},
{
name: "PAGES",
category: "pages",