From e27d6308b5bd934ba507809d62ab3a5d3634fe65 Mon Sep 17 00:00:00 2001 From: Jesper Pedersen Date: Fri, 20 Dec 2024 11:01:08 +0100 Subject: [PATCH 1/8] Set black background when dark mode --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index b6a7230..7be6b85 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ Podwalk - +
From 02dbe69bb1318dcf4d51f9b90b629395c605c134 Mon Sep 17 00:00:00 2001 From: Jesper Pedersen Date: Fri, 20 Dec 2024 11:02:25 +0100 Subject: [PATCH 2/8] center content in desktop view For a better experience when viewing in a desktop browser --- src/App.jsx | 10 +++++----- src/components/Navbar.jsx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index e169126..375e91c 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -35,7 +35,7 @@ function App() { lat, long, }), - [lat, long], + [lat, long] ); function handlePermissionInfoBanner() { @@ -49,7 +49,7 @@ function App() { Hjælp til navigation - , + ); } }); @@ -93,7 +93,7 @@ function App() { }, [openStreetMapConsent]); return ( -
+
({ openStreetMapConsent, setOpenStreetMapConsent }), [openStreetMapConsent])} @@ -108,7 +108,7 @@ function App() { listOfUnlocked, setListOfUnlocked, }), - [selectedRoute, nextUnlockablePointId, listOfUnlocked], + [selectedRoute, nextUnlockablePointId, listOfUnlocked] )} > @@ -129,7 +129,7 @@ function App() { infoText, setInfoText, }), - [error, errorText, info, infoText], + [error, errorText, info, infoText] )} > diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index c0ef47c..1a3f406 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -9,7 +9,7 @@ const Navbar = () => { const { pathname } = useLocation(); return ( -