feat(ux): eingeloggter Kunde landet im Konto statt Login/Marketing

- renderLogin/renderRegister: bei vorhandenem Token sofort → /konto/
  (behebt 'man bleibt nicht eingeloggt' — Formular wurde trotz Token gezeigt)
- nav-account.js (auf allen Seiten via custom/head-end.html): CTAs auf
  /register/ und Navbar 'Anmelden' (/login/) → 'Mein Konto' (/konto/) sobald
  eingeloggt. So führt /hosting/ den Kunden direkt ins Konto.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-05-31 15:47:23 +02:00
parent b79409a252
commit fc572fc3f3
40 changed files with 181 additions and 35 deletions
+3 -1
View File
@@ -54,7 +54,9 @@ Ist Rapport kostenlos? Ja, vollständig. Quellcode unter GNU AGPL-3.0-or-later.
</head>
<script defer src="/js/nav-account.js"></script>
</head>
<body>
<a href="#content" class="hx:sr-only hx:focus-visible:not-sr-only hx:focus-visible:fixed hx:focus-visible:z-50 hx:focus-visible:top-2 hx:focus-visible:left-2 hx:focus-visible:bg-primary-500 hx:focus-visible:text-white hx:focus-visible:px-4 hx:focus-visible:py-2 hx:focus-visible:rounded-md hx:focus-visible:text-sm hx:focus-visible:font-medium">Zum Inhalt springen</a><div class="hextra-nav-container hx:sticky hx:top-0 hx:z-20 hx:w-full hx:bg-transparent hx:print:hidden">
<div