MRT DME position

This commit is contained in:
nocnico
2025-05-20 21:54:23 +02:00
parent f994364641
commit 81e4680f55

View File

@@ -9,32 +9,43 @@ const Map = dynamic(() => import("../dispatch/_components/map/Map"), {
ssr: false, 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">
{/* <MapToastCard2 /> */} {/* <MapToastCard2 /> */}
<div className="flex flex-1 relative"> <div className="flex flex-1 relative w-full">
<div className="absolute left-0 top-1/2 transform -translate-y-1/2 pl-4 z-999999"> <div className="absolute left-0 top-1/2 transform -translate-y-1/2 pl-4 z-999999">
<Chat /> <Chat />
<div className="mt-2"> <div className="mt-2">
<Report /> <Report />
</div> </div>
</div> </div>
<div className="absolute top-4 right-0 pr-4 z-999999 items-end"> <div className="flex w-2/3 h-full">
<div className="max-w-120 mb-2"> <Map />
<Mrt /> </div>
</div> <div className="flex w-1/3 h-full">
<div className="max-w-130"> <div className="flex flex-col w-full h-full p-4">
<Dme /> <div className="card bg-base-300 shadow-xl">
<div className="card-body p-4">
<h2 className="card-title mb-2">MRT & DME</h2>
<div className="card bg-base-200 shadow-xl mb-4">
<div className="card-body w-full h-full flex items-center justify-center">
<Mrt />
</div>
</div>
<div className="card bg-base-200 shadow-xl h-1/2 flex">
<div className="card-body w-full h-full p-4 mb-0 flex items-center justify-center">
<Dme />
</div>
</div>
</div>
</div>
</div> </div>
</div> </div>
<Map />
</div> </div>
</div> </div>
); );
}; };
// ...existing code...
DispatchPage.displayName = "DispatchPage"; DispatchPage.displayName = "DispatchPage";