feat(stammbaum): swap nav slot from /briefwechsel to /stammbaum
Some checks failed
CI / Unit & Component Tests (push) Has been cancelled
CI / OCR Service Tests (push) Has been cancelled
CI / Backend Unit Tests (push) Has been cancelled

Both desktop and mobile nav rows now point at /stammbaum and read
m.nav_stammbaum(). The /briefwechsel route stays intact — only the
nav anchor changes.

Refs #358.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-27 14:41:25 +02:00
parent 8016cb6905
commit a75a818adf

View File

@@ -60,13 +60,13 @@ function handleOverlayKeydown(event: KeyboardEvent) {
</a>
<a
href="/briefwechsel"
href="/stammbaum"
class="my-2 inline-flex items-center px-3 font-sans text-xs font-bold tracking-widest uppercase transition-colors focus:outline-none focus-visible:rounded focus-visible:ring-2 focus-visible:ring-focus-ring
{page.url.pathname.startsWith('/briefwechsel')
{page.url.pathname.startsWith('/stammbaum')
? 'border-b-2 border-accent text-white'
: 'text-white/70 hover:text-white'}"
>
{m.nav_conversations()}
{m.nav_stammbaum()}
</a>
{#if isAdmin}
<a
@@ -161,13 +161,13 @@ function handleOverlayKeydown(event: KeyboardEvent) {
</a>
<a
href="/briefwechsel"
href="/stammbaum"
class="block flex min-h-[44px] w-full items-center px-4 py-3 font-sans text-sm font-bold tracking-widest uppercase transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-inset
{page.url.pathname.startsWith('/briefwechsel')
{page.url.pathname.startsWith('/stammbaum')
? 'bg-accent-bg text-ink'
: 'text-ink-2 hover:bg-muted hover:text-ink'}"
>
{m.nav_conversations()}
{m.nav_stammbaum()}
</a>
{#if isAdmin}