Merge branch 'main' of https://github.com/VAR-Virtual-Air-Rescue/var-monorepo
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -335,7 +335,7 @@ const AircraftMarker = ({
|
||||
|
||||
const handleZoom = () => {
|
||||
const zoom = map.getZoom();
|
||||
setHideMarker(zoom < 9);
|
||||
setHideMarker(zoom < 8);
|
||||
handleConflict();
|
||||
};
|
||||
|
||||
|
||||
@@ -277,7 +277,7 @@ const MissionMarker = ({ mission }: { mission: Mission }) => {
|
||||
|
||||
const handleZoom = () => {
|
||||
const zoom = map.getZoom();
|
||||
setHideMarker(zoom < 9);
|
||||
setHideMarker(zoom < 8);
|
||||
handleConflict();
|
||||
};
|
||||
|
||||
|
||||
@@ -251,7 +251,7 @@ export const MarkerCluster = () => {
|
||||
};
|
||||
});
|
||||
|
||||
if (zoom >= 9) {
|
||||
if (zoom >= 8) {
|
||||
setCluster([]);
|
||||
} else {
|
||||
setCluster(clusterWithAvgPos);
|
||||
|
||||
@@ -28,12 +28,16 @@ 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">
|
||||
<Mrt />
|
||||
<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">
|
||||
<Dme />
|
||||
<div className=" max-w-140">
|
||||
<Dme />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
BIN
apps/dispatch/public/bg.png
Normal file
BIN
apps/dispatch/public/bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 MiB |
@@ -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";
|
||||
|
||||
/*
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user