This commit is contained in:
PxlLoewe
2025-05-20 14:15:26 -07:00
8 changed files with 12 additions and 10 deletions

View File

@@ -9,8 +9,7 @@ const AuthLayout: NextPage<
<div
className="hero min-h-screen"
style={{
backgroundImage:
"url(https://img.daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.webp)",
backgroundImage: "url('/bg.png')",
}}
>
<div className="hero-overlay bg-opacity-60"></div>

View File

@@ -335,7 +335,7 @@ const AircraftMarker = ({
const handleZoom = () => {
const zoom = map.getZoom();
setHideMarker(zoom < 9);
setHideMarker(zoom < 8);
handleConflict();
};

View File

@@ -277,7 +277,7 @@ const MissionMarker = ({ mission }: { mission: Mission }) => {
const handleZoom = () => {
const zoom = map.getZoom();
setHideMarker(zoom < 9);
setHideMarker(zoom < 8);
handleConflict();
};

View File

@@ -251,7 +251,7 @@ export const MarkerCluster = () => {
};
});
if (zoom >= 9) {
if (zoom >= 8) {
setCluster([]);
} else {
setCluster(clusterWithAvgPos);

View File

@@ -28,11 +28,14 @@ const DispatchPage = () => {
<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">
<div className=" max-w-150">
<Mrt />
</div>
</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">
<div className=" max-w-140">
<Dme />
</div>
</div>
@@ -40,6 +43,7 @@ const DispatchPage = () => {
</div>
</div>
</div>
</div>
);
};

BIN
apps/dispatch/public/bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 MiB

View File

@@ -2,7 +2,7 @@ import Logbook from "./_components/Logbook";
import { ArrowRight, NotebookText } from "lucide-react";
import Link from "next/link";
import Events from "./_components/Events";
import { Stats } from "./_components/Stats";
import { Stats } from "./_components/stats";
import { Badges } from "./_components/Badges";
/*

View File

@@ -11,8 +11,7 @@ const AuthLayout: NextPage<
<div
className="hero min-h-screen"
style={{
backgroundImage:
"url(https://img.daisyui.com/images/stock/photo-1507358522600-9f71e620c44e.webp)",
backgroundImage: "url('/bg.png')",
}}
>
<div className="hero-overlay bg-neutral/60"></div>