diff --git a/client/src/components/layout/Canvas/Canvas.jsx b/client/src/components/layout/Canvas/Canvas.jsx
index d059e1c..7c02fd1 100644
--- a/client/src/components/layout/Canvas/Canvas.jsx
+++ b/client/src/components/layout/Canvas/Canvas.jsx
@@ -12,7 +12,7 @@ import SettingsCanvas from "./views/SettingsCanvas"
import { DashboardCanvas } from "./views/DashboardCanvas";
import { DASHBOARD_VIEWS } from "@/constants/viewKeys";
-export default function Canvas({ view, setView, layout, setLayout, onLayoutChange }) {
+export default function Canvas({ view, setView, layout, setLayout, onLayoutChange, darkMode }) {
const recipe = useRecipe({ key: "canvas" });
const styles = recipe();
diff --git a/client/src/components/layout/Canvas/views/GlobalMapCanvas.jsx b/client/src/components/layout/Canvas/views/GlobalMapCanvas.jsx
index 29b9a1a..8cdaf5c 100644
--- a/client/src/components/layout/Canvas/views/GlobalMapCanvas.jsx
+++ b/client/src/components/layout/Canvas/views/GlobalMapCanvas.jsx
@@ -1,21 +1,21 @@
import React from "react";
import { MapContainer, TileLayer, Marker, Popup } from "react-leaflet";
import 'leaflet/dist/leaflet.css';
-
-const position = [51.505, -0.09]; // [latitude, longitude]
+import 'src/css/leaflet-darkmode.css';
export default function GlobalMapCanvas() {
+ const position = [45.61142478054226, -122.49630033167544]; // [latitude, longitude]
return (
-
-
-
-
- A sample popup!
-
-
-
+
+
+
+
+ CVO — Home of the volcanoligists
+
+
+
);
}
\ No newline at end of file
diff --git a/client/src/components/layout/Dashboard.jsx b/client/src/components/layout/Dashboard.jsx
index 05cde64..245c335 100644
--- a/client/src/components/layout/Dashboard.jsx
+++ b/client/src/components/layout/Dashboard.jsx
@@ -9,6 +9,7 @@ export default function Dashboard() {
const recipe = useRecipe({ key: "dashboard" });
const styles = recipe();
+ const [darkMode, setDarkMode] = useState(false);
// Lifted State - defaults to widget dashboard
const [view, setView] = useState("widget");
const [layout, setLayout] = useState([
@@ -19,41 +20,17 @@ export default function Dashboard() {
return (
<>
-
+ .leaflet-container {
+ background-color: #1e1e1e;
+ */}