Merge branch 'main' of https://github.com/VAR-Virtual-Air-Rescue/var-monorepo
This commit is contained in:
@@ -4,7 +4,12 @@ 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 { 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">
|
||||||
@@ -16,18 +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">
|
||||||
<div className="relative flex-1">
|
|
||||||
<Mrt />
|
<Mrt />
|
||||||
</div>
|
</div>
|
||||||
<div className="relative flex-1">
|
<div className="max-w-110">
|
||||||
<Dme />
|
<Dme />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<Map />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
// ...existing code...
|
||||||
|
|
||||||
DispatchPage.displayName = "DispatchPage";
|
DispatchPage.displayName = "DispatchPage";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user