/*! ========================================================= * Argon Dashboard Chakra PRO - v1.0.0 ========================================================= * Product Page: https://www.creative-tim.com/product/argon-dashboard-chakra-pro * Copyright 2022 Creative Tim (https://www.creative-tim.com/) * Designed and Coded by Simmmple & Creative Tim ========================================================= * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. */ // import // To be changed // import Tables from "views/Dashboard/Tables.js"; import { CartIcon, DocumentIcon, HomeIcon, PersonIcon, StatsIcon, } from "components/Icons/Icons"; import Calendar from "views/Applications/Calendar"; import DataTables from "views/Applications/DataTables"; import Kanban from "views/Applications/Kanban.js"; import Wizard from "views/Applications/Wizard.js"; import SignInBasic from "views/Authentication/SignIn/SignInBasic.js"; import SignInCover from "views/Authentication/SignIn/SignInCover.js"; import SignInIllustration from "views/Authentication/SignIn/SignInIllustration.js"; import LockBasic from "views/Authentication/Lock/LockBasic.js"; import LockCover from "views/Authentication/Lock/LockCover.js"; import LockIllustration from "views/Authentication/Lock/LockIllustration.js"; import ResetBasic from "views/Authentication/Reset/ResetBasic.js"; import ResetCover from "views/Authentication/Reset/ResetCover.js"; import ResetIllustration from "views/Authentication/Reset/ResetIllustration.js"; import VerificationBasic from "views/Authentication/Verification/VerificationBasic.js"; import VerificationCover from "views/Authentication/Verification/VerificationCover.js"; import VerificationIllustration from "views/Authentication/Verification/VerificationIllustration.js"; import SignUpBasic from "views/Authentication/SignUp/SignUpBasic.js"; import SignUpCover from "views/Authentication/SignUp/SignUpCover.js"; import SignUpIllustration from "views/Authentication/SignUp/SignUpIllustration.js"; import Automotive from "views/Dashboard/Automotive"; import CRM from "views/Dashboard/CRM.js"; import Default from "views/Dashboard/Default.js"; import Landing from "views/Dashboard/Landing.js"; import OrderDetails from "views/Ecommerce/Orders/OrderDetails"; import OrderList from "views/Ecommerce/Orders/OrderList"; import EditProduct from "views/Ecommerce/Products/EditProduct"; import NewProduct from "views/Ecommerce/Products/NewProduct"; import ProductPage from "views/Ecommerce/Products/ProductPage"; import Billing from "views/Pages/Account/Billing.js"; import Subscription from "views/Pages/Account/Subscription.js"; import Invoice from "views/Pages/Account/Invoice.js"; import Settings from "views/Pages/Account/Settings.js"; import Alerts from "views/Pages/Alerts"; import Charts from "views/Pages/Charts.js"; import Pricing from "views/Pages/Pricing.js"; import Overview from "views/Pages/Profile/Overview.js"; import Projects from "views/Pages/Profile/Projects.js"; import Teams from "views/Pages/Profile/Teams.js"; import General from "views/Pages/Projects/General.js"; import Timeline from "views/Pages/Projects/Timeline.js"; import RTLPage from "views/Pages/RTLPage.js"; import NewUser from "views/Pages/Users/NewUser.js"; import Reports from "views/Pages/Users/Reports.js"; import Widgets from "views/Pages/Widgets.js"; import SmartHome from "views/Dashboard/SmartHome"; // 在现有导入语句后添加 import EventHeader from "views/EventDetail/components/EventHeader"; import HistoricalEvents from "views/EventDetail/components/HistoricalEvents"; import RelatedConcepts from "views/EventDetail/components/RelatedConcepts"; import RelatedStocks from "views/EventDetail/components/RelatedStocks"; import ConceptCenter from "views/Concept"; import ProfilePage from "views/Profile/ProfilePage"; import SettingsPage from "views/Settings/SettingsPage"; // 如果有主入口文件,也需要导入 // EventDetail 将通过顶级路由访问,不再在 Admin 下注册 // 导入涨停分析组件 import LimitAnalyse from "views/LimitAnalyse"; // 导入Community页面 import Community from "views/Community"; import ForecastReport from "views/Company/ForecastReport"; import FinancialPanorama from "views/Company/FinancialPanorama"; import CompanyIndex from "views/Company"; import MarketDataView from "views/Company/MarketDataView"; import StockOverview from "views/StockOverview"; import TradingSimulation from "views/TradingSimulation"; const dashRoutes = [ { name: "Dashboard", path: "/dashboard", icon: , authIcon: , collapse: true, items: [ { name: "Landing Page", path: "/dashboard/landing", component: , layout: "/landing", }, { name: "Default", path: "/dashboard/default", component: , layout: "/admin", }, { name: "Automotive", path: "/dashboard/automotive", component: , layout: "/admin", }, { name: "Smart Home", path: "/dashboard/smart-home", component: , layout: "/admin", }, { name: "CRM", path: "/dashboard/crm", component: , layout: "/admin", }, ], }, { name: "股票分析", path: "/stock-analysis", icon: , authIcon: , collapse: true, items: [ { name: "股票概览", path: "/stock-analysis/overview", component: , layout: "/admin", }, { name: "个股信息", path: "/stock-analysis/company", component: , layout: "/admin", }, { name: "股票行情", path: "/stock-analysis/market-data", component: , layout: "/admin", }, { name: "涨停分析", path: "/stock-analysis/limit-analyse", component: , layout: "/admin", }, { name: "盈利预测报表", path: "/stock-analysis/forecast-report", component: , layout: "/admin", }, { name: "盈利预测报表", path: "/stock-analysis/Financial-report", component: , layout: "/admin", }, ], }, { name: "概念中心", path: "/concepts", icon: , // 或者使用其他图标 authIcon: , collapse: false, component: , layout: "/admin", }, { name: "事件社区", path: "/community", icon: , authIcon: , collapse: false, component: , layout: "/admin", }, { name: "模拟盘交易", path: "/trading-simulation", icon: , authIcon: , collapse: false, component: , layout: "/home", }, { name: "个人资料", path: "/profile", icon: , component: , layout: "/admin", invisible: true, // 不在侧边栏显示 }, { name: "账户设置", path: "/settings", icon: , component: , layout: "/admin", invisible: true, // 不在侧边栏显示 }, { name: "PAGES", category: "pages", items: [ { name: "Pages", path: "/pages", collapse: true, icon: , items: [ { name: "Profile", path: "/profile", collapse: true, authIcon: , items: [ { name: "Profile Overview", secondaryNavbar: true, path: "/pages/profile/overview", component: , layout: "/admin", }, { name: "Teams", secondaryNavbar: true, path: "/pages/profile/teams", component: , layout: "/admin", }, { name: "All Projects", secondaryNavbar: true, path: "/pages/profile/profile-projects", component: , layout: "/admin", }, ], }, { name: "Users", path: "/users", collapse: true, authIcon: , items: [ { name: "Reports", path: "/pages/users/reports", component: , layout: "/admin", }, { name: "New User", path: "/pages/users/new-user", component: , layout: "/admin", }, ], }, { name: "Account", path: "/account", collapse: true, authIcon: , items: [ { name: "Settings", path: "/pages/account/settings", component: , layout: "/admin", }, { name: "Billing", component: , path: "/pages/account/billing", layout: "/admin", }, { name: "Subscription", component: , path: "/pages/account/subscription", layout: "/home", }, { name: "Invoice", component: , path: "/pages/account/invoice", layout: "/admin", }, ], }, { name: "Projects", path: "/projects", collapse: true, authIcon: , items: [ { name: "General", path: "/pages/projects/general", component: , layout: "/admin", }, { name: "Timeline", path: "/pages/projects/timeline", component: , layout: "/admin", }, ], }, { name: "Pricing Page", component: , path: "/pages/pricing-page", layout: "/auth", }, { name: "RTL", component: , path: "/pages/rtl-support-page", layout: "/rtl", }, { name: "Widgets", component: , path: "/pages/widgets", layout: "/admin", }, { name: "Charts", component: , path: "/pages/charts", layout: "/admin", }, { name: "Alerts", path: "/pages/alerts", component: , layout: "/admin", }, ], }, { name: "Applications", path: "/applications", icon: , collapse: true, items: [ { name: "Kanban", component: , authIcon: , path: "/applications/kanban", layout: "/admin", }, { name: "Wizard", component: , authIcon: , path: "/applications/wizard", layout: "/admin", }, { name: "Data Tables", path: "/applications/data-tables", authIcon: , component: , layout: "/admin", }, { name: "Calendar", component: , authIcon: , path: "/applications/calendar", layout: "/admin", }, ], }, { name: "Ecommerce", path: "/ecommerce", icon: , collapse: true, items: [ { name: "Products", path: "/products", collapse: true, authIcon: , items: [ { name: "New Product", component: , secondaryNavbar: true, path: "/ecommerce/products/new-product", layout: "/admin", }, { name: "Edit Product", component: , path: "/ecommerce/products/edit-product", layout: "/admin", }, { name: "Product Page", component: , path: "/ecommerce/products/product-page", layout: "/admin", }, ], }, { name: "Orders", path: "/orders", collapse: true, authIcon: , items: [ { name: "Order List", component: , path: "/ecommerce/orders/order-list", layout: "/admin", }, { name: "Order Details", component: , path: "/ecommerce/orders/order-details", layout: "/admin", }, ], }, ], }, { name: "Authentication", path: "/authentication", icon: , collapse: true, items: [ { name: "Sign In", path: "/authentication/sign-in", collapse: true, authIcon: , items: [ { name: "Basic", component: , path: "/authentication/sign-in/basic", layout: "/auth", }, { name: "Cover", component: , path: "/authentication/sign-in/cover", layout: "/auth", }, { name: "Illustration", component: , secondaryNavbar: true, path: "/authentication/sign-in/illustration", layout: "/auth", }, ], }, { name: "Sign Up", path: "/authentication/sign-up", collapse: true, authIcon: , items: [ { name: "Basic", component: , path: "/authentication/sign-up/basic", layout: "/auth", }, { name: "Cover", component: , path: "/authentication/sign-up/cover", layout: "/auth", }, { name: "Illustration", secondaryNavbar: true, component: , path: "/authentication/sign-up/illustration", layout: "/auth", }, ], }, { name: "Reset password", path: "/authentication/reset", collapse: true, authIcon: , items: [ { name: "Basic", component: , path: "/authentication/reset/basic", layout: "/auth", }, { name: "Cover", component: , path: "/authentication/reset/cover", layout: "/auth", }, { name: "Illustration", secondaryNavbar: true, component: , path: "/authentication/reset/illustration", layout: "/auth", }, ], }, { name: "Lock", path: "/authentication/lock", collapse: true, authIcon: , items: [ { name: "Basic", component: , path: "/authentication/lock/basic", layout: "/auth", }, { name: "Cover", component: , path: "/authentication/lock/cover", layout: "/auth", }, { name: "Illustration", secondaryNavbar: true, component: , path: "/authentication/lock/illustration", layout: "/auth", }, ], }, { name: "2-Step Verification", path: "/authentication/verification", collapse: true, authIcon: , items: [ { name: "Basic", component: , path: "/authentication/verification/basic", layout: "/auth", }, { name: "Cover", component: , path: "/authentication/verification/cover", layout: "/auth", }, { name: "Illustration", secondaryNavbar: true, component: , path: "/authentication/verification/illustration", layout: "/auth", }, ], }, ], }, ], }, ]; export default dashRoutes;