Pilot UI
This commit is contained in:
@@ -3,9 +3,13 @@
|
|||||||
import { Mrt } from "pilot/_components/mrt/Mrt";
|
import { Mrt } from "pilot/_components/mrt/Mrt";
|
||||||
import { Chat } from "../_components/left/Chat";
|
import { Chat } from "../_components/left/Chat";
|
||||||
import { Report } from "../_components/left/Report";
|
import { Report } from "../_components/left/Report";
|
||||||
import { usePilotConnectionStore } from "_store/pilot/connectionStore";
|
|
||||||
import { Dme } from "pilot/_components/dme/Dme";
|
import { Dme } from "pilot/_components/dme/Dme";
|
||||||
|
import dynamic from "next/dynamic";
|
||||||
|
const Map = dynamic(() => import("../dispatch/_components/map/Map"), {
|
||||||
|
ssr: false,
|
||||||
|
});
|
||||||
|
|
||||||
|
// ...existing code...
|
||||||
const DispatchPage = () => {
|
const DispatchPage = () => {
|
||||||
return (
|
return (
|
||||||
<div className="relative flex-1 flex transition-all duration-500 ease w-full">
|
<div className="relative flex-1 flex transition-all duration-500 ease w-full">
|
||||||
@@ -17,14 +21,20 @@ const DispatchPage = () => {
|
|||||||
<Report />
|
<Report />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div className="absolute top-4 right-0 pr-4 z-999999 items-end">
|
||||||
<div className="flex flex-col">
|
<div className="max-w-120 mb-2">
|
||||||
<Mrt />
|
<Mrt />
|
||||||
|
</div>
|
||||||
|
<div className="max-w-110">
|
||||||
<Dme />
|
<Dme />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<Map />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
// ...existing code...
|
||||||
|
|
||||||
DispatchPage.displayName = "DispatchPage";
|
DispatchPage.displayName = "DispatchPage";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user