small bug fixes

This commit is contained in:
Vincent van der Wal
2026-08-01 17:24:00 +02:00
parent 49e011c20b
commit b2c8108c8c
9 changed files with 161 additions and 22 deletions
@@ -139,7 +139,35 @@
{/each}
</nav>
<!-- About / legal links moved to the page footer -->
<!-- On phones the footer sits a long scroll away, so the same about/legal
links get a quiet home at the bottom of the drawer. -->
{#if onMobileClose}
<nav
aria-label={m.legal_nav()}
class="flex flex-wrap gap-x-3 gap-y-1 border-t border-sidebar-border px-4 py-3 text-[11px] text-sidebar-foreground/70"
>
<a
class="hover:text-sidebar-foreground hover:underline"
href={href('/about')}
onclick={onMobileClose}>{m.legal_about()}</a
>
<a
class="hover:text-sidebar-foreground hover:underline"
href={href('/legal/imprint')}
onclick={onMobileClose}>{m.legal_imprint()}</a
>
<a
class="hover:text-sidebar-foreground hover:underline"
href={href('/legal/privacy')}
onclick={onMobileClose}>{m.legal_privacy()}</a
>
<a
class="hover:text-sidebar-foreground hover:underline"
href={href('/legal/terms')}
onclick={onMobileClose}>{m.legal_terms()}</a
>
</nav>
{/if}
<!-- Collapse toggle (desktop sidebar only; the mobile drawer omits onToggle) -->
{#if onToggle}