Navigation: Seitenleiste auf dem Desktop, Kopf- und TabBar mobil

Desktop: feste Seitenleiste mit allen Zielen (Icon + Titel). Mobil: Kopfleiste
mit Menü, Titel und Einstellungen, unten die TabBar mit Feed, Suche,
Benachrichtigungen, Chats und Profil; das Menü blendet die Seitenleiste als
Schublade ein. Suche, Benachrichtigungen, Chats und Einstellungen sind
Platzhalter, /me leitet aufs eigene Profil bzw. zum Login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TiXsPUqw7oeomZ8wZrQW5q
This commit is contained in:
irrlicht
2026-10-09 21:48:30 +02:00
co-authored by Claude Opus 5.5
parent f84ba061a8
commit 15b0bfc69c
8 changed files with 451 additions and 53 deletions
+4
View File
@@ -129,6 +129,10 @@ func (s *Server) pageRoutes(r chi.Router) {
// Das Reset-Token steht im Fragment (#...) und erreicht den Server über
// diese Route nie, siehe account/reset.go.
r.Get("/reset", serveApp)
// Navigationsziele: Profil-Weiche und Platzhalter für kommende Bereiche.
for _, p := range []string{"/me", "/search", "/notifications", "/chats", "/settings"} {
r.Get(p, serveApp)
}
// Alte Adresse der Statistik-Seite (Lesezeichen, Links von außen).
r.Get("/stats.html", func(w http.ResponseWriter, r *http.Request) {
http.Redirect(w, r, "/stats", http.StatusMovedPermanently)