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:
co-authored by
Claude Opus 5.5
parent
f84ba061a8
commit
15b0bfc69c
@@ -9,6 +9,7 @@ import { EntryPage } from "./pages/EntryPage";
|
||||
import { UserPage } from "./pages/UserPage";
|
||||
import { StatsPage } from "./pages/StatsPage";
|
||||
import { ResetPage } from "./pages/ResetPage";
|
||||
import { MePage, Placeholder } from "./pages/Placeholder";
|
||||
import "./app.css";
|
||||
|
||||
const queryClient = new QueryClient({
|
||||
@@ -33,6 +34,11 @@ const router = createBrowserRouter([
|
||||
{ path: "/u/:username", element: <UserPage /> },
|
||||
{ path: "/stats", element: <StatsPage /> },
|
||||
{ path: "/reset", element: <ResetPage /> },
|
||||
{ path: "/me", element: <MePage /> },
|
||||
{ path: "/search", element: <Placeholder title="Suche" /> },
|
||||
{ path: "/notifications", element: <Placeholder title="Benachrichtigungen" /> },
|
||||
{ path: "/chats", element: <Placeholder title="Chats" /> },
|
||||
{ path: "/settings", element: <Placeholder title="Einstellungen" /> },
|
||||
],
|
||||
},
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user