diff --git a/src/app.css b/src/app.css index 8de79b4..ed26542 100644 --- a/src/app.css +++ b/src/app.css @@ -816,12 +816,7 @@ pre code { color: var(--text-secondary); } -/* Docs page */ -.container-wide { - max-width: 1000px; - margin: 0 auto; - padding: 2rem; -} +/* All pages use the same container width for consistency */ /* Highlight.js Syntax Highlighting - Consistent dark-gray background */ .hljs { diff --git a/src/lib/components/NavBar.svelte b/src/lib/components/NavBar.svelte index b80f6bf..2be9411 100644 --- a/src/lib/components/NavBar.svelte +++ b/src/lib/components/NavBar.svelte @@ -7,11 +7,20 @@ import { onMount } from 'svelte'; let userPubkey = $state(null); + let mobileMenuOpen = $state(false); onMount(async () => { await checkAuth(); }); + function toggleMobileMenu() { + mobileMenuOpen = !mobileMenuOpen; + } + + function closeMobileMenu() { + mobileMenuOpen = false; + } + async function checkAuth() { try { if (isNIP07Available()) { @@ -50,12 +59,15 @@

gitrepublic

-