Einsatz Card

This commit is contained in:
nocnico
2025-03-16 21:57:30 +01:00
parent cf61740698
commit 51729e4baf
6 changed files with 87 additions and 171 deletions

View File

@@ -3,6 +3,7 @@ import { useEffect, useRef } from "react";
import L from "leaflet";
import "leaflet/dist/leaflet.css";
import ToastCard from "./toast/ToastCard";
export default () => {
const mapRef = useRef<HTMLDivElement>(null);
@@ -24,5 +25,18 @@ export default () => {
};
}, []);
return <div ref={mapRef} className="w-full h-full rounded-lg shadow-lg" />;
return (
<div className="relative w-full h-full">
<div
ref={mapRef}
className="w-full h-full rounded-lg shadow-lg"
style={{
filter:
"invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%)",
background: "#000 !important",
}}
/>
<ToastCard />
</div>
);
};