feat: add relational data center entry
This commit is contained in:
1 parent
65b2aa8703
commit
e6e283e412
3 files changed
+322
-1
No files matched your search
@@ -5,7 +5,7 @@ import {
|
||||
HomeOutlined, ApartmentOutlined, ImportOutlined, CheckCircleOutlined,
|
||||
SendOutlined, ToolOutlined, SettingOutlined, LogoutOutlined,
|
||||
MenuFoldOutlined, MenuUnfoldOutlined, CompassOutlined,
|
||||
ProjectOutlined,
|
||||
ProjectOutlined, DatabaseOutlined,
|
||||
} from "@ant-design/icons";
|
||||
import AdminLogin from "./AdminLogin";
|
||||
import AdminLoginV2 from "./AdminLoginV2";
|
||||
@@ -13,6 +13,7 @@ import Brand from "./Brand";
|
||||
import { displayProjectName, getProjectContext, whoami, type KgProjectContext } from "./api";
|
||||
import ProjectContextBar from "./ProjectContextBar";
|
||||
import ProjectLanding from "./ProjectLanding";
|
||||
import DataCenterPanel from "./panels/data-platform/DataCenterPanel";
|
||||
|
||||
// Plaza panels (STEP 02)
|
||||
import PlazaOverview from "./panels/plaza/PlazaOverview";
|
||||
@@ -70,6 +71,7 @@ const RUNTIME_CONTEXT = {
|
||||
|
||||
const MENU_ITEMS = [
|
||||
{ key: "/projects", icon: <ProjectOutlined />, label: "项目工作区" },
|
||||
{ key: "/data", icon: <DatabaseOutlined />, label: "数据中心" },
|
||||
{ key: "/plaza", icon: <HomeOutlined />, label: "知识广场", children: [
|
||||
{ key: "/plaza/overview", label: "馆藏概览" },
|
||||
{ key: "/plaza/user", icon: <CompassOutlined />, label: "业务问答" },
|
||||
@@ -227,6 +229,7 @@ export default function App() {
|
||||
{showProjectContextBar && <ProjectContextBar />}
|
||||
<Routes>
|
||||
<Route path="/admin/projects" element={<ProjectLanding />} />
|
||||
<Route path="/admin/data" element={<DataCenterPanel />} />
|
||||
{/* Plaza */}
|
||||
<Route path="/admin/plaza/overview" element={<PlazaOverview />} />
|
||||
<Route path="/admin/plaza/user" element={<ProjectUserExperiencePanel />} />
|
||||
|
||||
Reference in new issue
Block a user