From 60a7824917eac9d8ecb48ca60a88886c0dcff149 Mon Sep 17 00:00:00 2001 From: "fred.boniface" Date: Wed, 21 Sep 2022 20:23:27 +0100 Subject: [PATCH 01/24] Fixes issue #26 --- error-pages/404.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/error-pages/404.php b/error-pages/404.php index 1f760fc..3fcf538 100644 --- a/error-pages/404.php +++ b/error-pages/404.php @@ -14,6 +14,12 @@

Oh no! That page can't be found

+

+ If you got here from a homescreen icon on your device, you will + need to remove and re-add the button due to major upgrades to + the Athena application +

+

Go back to the homepage

404 - Not Found

-- 2.34.1 From e1851effc4b01c8a657041fd6fc5b30f0943bb89 Mon Sep 17 00:00:00 2001 From: "fred.boniface" Date: Wed, 21 Sep 2022 20:24:33 +0100 Subject: [PATCH 02/24] Fixes issue #22 --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index c8b18bd..33ab785 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Athena", "short_name": "Athena", - "start_url": "/index.html", + "start_url": "/", "scope": "/", "display": "standalone", "background_color": "#7fa7e6", -- 2.34.1 From f64cc107727283574fc32b2bfccd642b41990d85 Mon Sep 17 00:00:00 2001 From: "fred.boniface" Date: Wed, 21 Sep 2022 20:32:45 +0100 Subject: [PATCH 03/24] Potential fix for #23 --- styles/style.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/styles/style.css b/styles/style.css index a4d37e4..4dfa45b 100644 --- a/styles/style.css +++ b/styles/style.css @@ -134,11 +134,12 @@ body { } .menuitem { + display: inline-block; + width: 100%; background-color: #2256aa; text-decoration: none; color: #f6f5f4; border: none; - border-radius: 18px; font-size: 16px; font-weight: bold; padding: 3px; @@ -149,6 +150,16 @@ body { cursor: pointer; } +@media only screen and (min-width: 600px) { + .menuitem { + min-width: 10%; + max-width: 40%; + margin: auto; + border-radius: 18px; + font-size: 20px; + } +} + .menuitem:hover { background-color: #112b55; } -- 2.34.1 From 7835c30cece39aba77aeb061b08bd3d94341cbcc Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 21 Sep 2022 20:47:15 +0100 Subject: [PATCH 04/24] Potential fix for #23 --- styles/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/styles/style.css b/styles/style.css index 4dfa45b..90909e3 100644 --- a/styles/style.css +++ b/styles/style.css @@ -92,6 +92,7 @@ body { padding: 5px; padding-left: 15px; padding-right: 15px; + margin-bottom: 10px; cursor: pointer; } @@ -156,7 +157,7 @@ body { max-width: 40%; margin: auto; border-radius: 18px; - font-size: 20px; + font-size: 20px; } } -- 2.34.1 From 7577d28885e104c6ed6a53b8c96c03a98448d0fe Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 21 Sep 2022 21:07:49 +0100 Subject: [PATCH 05/24] Potential fix for #23 --- js/nav.js | 29 +++++------------- page-blocks/nav-menu.php | 14 ++++----- styles/style.css | 66 +++++++++++++++++----------------------- 3 files changed, 42 insertions(+), 67 deletions(-) diff --git a/js/nav.js b/js/nav.js index e14626c..186b587 100644 --- a/js/nav.js +++ b/js/nav.js @@ -1,23 +1,8 @@ -function openMenu() { - document.getElementById("menu").style.display = "block"; -} - -function closeMenu() { - document.getElementById("menu").style.display = "none"; -} - -function closeAboutPopup() { - document.getElementById("popup-about").style.display = "none"; -} - -function openAboutPopup() { - document.getElementById("popup-about").style.display = "block"; -} - -function closeTiplocPopup() { - document.getElementById("popup-tiploc").style.display = "none"; -} - -function openTiplocPopup() { - document.getElementById("popup-tiploc").style.display = "block"; +function menuFunction() { + var x = document.getElementByID("menu-hidden"); + if x.style.display === "block") { + x.style.display = "none"; + } else { + x.style.display = "block"; + } } diff --git a/page-blocks/nav-menu.php b/page-blocks/nav-menu.php index 7ec96f1..e375c12 100644 --- a/page-blocks/nav-menu.php +++ b/page-blocks/nav-menu.php @@ -1,12 +1,12 @@ '; -echo '