feat(web): 添加拓扑图页面和相关组件
feat(csms): 添加获取当前连接状态的API feat(csms): 添加获取当前活动OCPP WebSocket连接的接口 deps(web): 添加@xyflow/react依赖
This commit is contained in:
12
apps/web/app/dashboard/topology/page.tsx
Normal file
12
apps/web/app/dashboard/topology/page.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import TopologyClient from "./topology-client";
|
||||
|
||||
export default function TopologyPage() {
|
||||
return (
|
||||
// Break out of the dashboard's max-w-7xl / px padding by using
|
||||
// a fixed overlay that covers exactly the main content area.
|
||||
// left-0/lg:left-60 accounts for the sidebar width (w-60).
|
||||
<div className="fixed inset-0 left-0 top-14 lg:left-60 lg:top-0">
|
||||
<TopologyClient />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user