From 622b0b3b28009eb14c811e437cef7a52b31a5f85 Mon Sep 17 00:00:00 2001 From: lucythecat Date: Mon, 11 Dec 2023 00:14:49 +0900 Subject: [PATCH] sdd bar --- documentation/src/components/Layout.astro | 83 +++++++++++------------ 1 file changed, 40 insertions(+), 43 deletions(-) diff --git a/documentation/src/components/Layout.astro b/documentation/src/components/Layout.astro index 30168f5fa..837482612 100644 --- a/documentation/src/components/Layout.astro +++ b/documentation/src/components/Layout.astro @@ -40,50 +40,49 @@ type Props = MarkdownLayoutProps<{ content="Lucia is an open source auth library that abstracts away the complexity of handling sessions." /> - - - -
- -
- -
+
+
+ +
+ +
+
@@ -92,7 +91,6 @@ type Props = MarkdownLayoutProps<{ document.getElementById("mobile-nav-button")!.addEventListener("click", (e) => { const navMenu = document.getElementById("mobile-nav-menu")!; if (navMenu.classList.contains("hidden")) { - document.getElementById("mobile-nav-button")!.classList.add("hidden"); navMenu.classList.remove("hidden"); document.body.classList.add("overflow-hidden"); } else { @@ -104,7 +102,6 @@ type Props = MarkdownLayoutProps<{ function closeMenu() { document.getElementById("mobile-nav-menu")!.classList.add("hidden"); - document.getElementById("mobile-nav-button")!.classList.remove("hidden"); document.body.classList.remove("overflow-hidden"); }