From 71070b2e762421d5c91f79bc17c5c002eb40f73f Mon Sep 17 00:00:00 2001 From: Tetardtek Date: Tue, 24 Mar 2026 23:36:45 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20mobile=20responsive=20=E2=80=94=20sideb?= =?UTF-8?q?ar=20bottom=20nav=20+=20grids=20adaptatifs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Sidebar → bottom nav fixe sur mobile (<768px) - Classes CSS layout: .sidebar, .nav-item, .grid-2, .layout-* - Grids 2col → 1col sur mobile (Dashboard, Combat, Forge) - HudBar compact + wrapping sur mobile - GuideDrawer full-width mobile - Cards padding réduit mobile - Header username masqué mobile --- frontend/src/components/HudBar.tsx | 2 +- frontend/src/components/Layout.tsx | 68 ++++++---------------------- frontend/src/index.css | 55 ++++++++++++++++++++++ frontend/src/pages/CombatPage.tsx | 2 +- frontend/src/pages/DashboardPage.tsx | 2 +- frontend/src/pages/ForgePage.tsx | 2 +- 6 files changed, 72 insertions(+), 59 deletions(-) diff --git a/frontend/src/components/HudBar.tsx b/frontend/src/components/HudBar.tsx index ab4f9ff..7a8d289 100644 --- a/frontend/src/components/HudBar.tsx +++ b/frontend/src/components/HudBar.tsx @@ -52,7 +52,7 @@ export function HudBar() { const questReady = activeQuests?.filter((pq: any) => pq.status === 'completed').length ?? 0; return ( -
+
{/* Header */}
🐸 @@ -42,7 +36,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
{user && (
- {user.username} + {user.username} @@ -51,65 +45,29 @@ export function Layout({ children }: { children: React.ReactNode }) {
-
- {/* Sidebar nav */} -