diff --git a/assets/js/menu.js b/assets/js/menu.js
index d383f25..24bf45e 100644
--- a/assets/js/menu.js
+++ b/assets/js/menu.js
@@ -7,9 +7,7 @@ const menuMore = document.querySelector(".menu__sub-inner-more");
const mobileQuery = getComputedStyle(document.body).getPropertyValue("--phoneWidth");
const isMobile = () => window.matchMedia(mobileQuery).matches;
const handleMenuClasses = () => {
- mobileMenuTrigger && mobileMenuTrigger.classList.toggle("hidden", !isMobile());
- menu && menu.classList.toggle("hidden", isMobile());
- menuMore && menuMore.classList.toggle("hidden", !isMobile());
+ menuMore && menuMore.classList.toggle("hidden-on-mobile", !isMobile());
};
// Common
@@ -17,7 +15,7 @@ const handleMenuClasses = () => {
menu && menu.addEventListener("click", (e) => e.stopPropagation());
menuMore && menuMore.addEventListener("click", (e) => e.stopPropagation());
-handleMenuClasses();
+// handleMenuClasses();
document.body.addEventListener("click", () => {
if (!isMobile() && menuMore && !menuMore.classList.contains("hidden")) {
@@ -34,7 +32,7 @@ window.addEventListener("resize", handleMenuClasses);
mobileMenuTrigger &&
mobileMenuTrigger.addEventListener("click", (e) => {
e.stopPropagation();
- menu && menu.classList.toggle("hidden");
+ menu && menu.classList.toggle("hidden-on-mobile");
});
// Desktop menu
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index b9c602e..4577293 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -18,8 +18,7 @@
{{ $bundle := slice $menu $languageSelector $prism | resources.Concat "bundle.js" | resources.Minify }}
-
-
+
{{ partial "extended_footer.html" . }}
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
index 17d39c8..a32298f 100644
--- a/layouts/partials/menu.html
+++ b/layouts/partials/menu.html
@@ -1,4 +1,4 @@
-