diff --git a/src/components/layout/ClientLayout.tsx b/src/components/layout/ClientLayout.tsx index 55e78e3..8717064 100644 --- a/src/components/layout/ClientLayout.tsx +++ b/src/components/layout/ClientLayout.tsx @@ -176,6 +176,14 @@ export default function ClientLayout({ userIsAdmin={userIsAdmin} /> )} + {!isPublicRoute && isSidebarOpen && ( + + )} {children} diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index 819633b..6a355d7 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -33,46 +33,56 @@ export function Header({ }; return ( - - + + + - - - StripStream + + + + StripStream + + + + STRIPSTREAM + + + comic reader + + - - + + {showRefreshBackground && ( - - - Rafraîchir l'image de fond - + variant="ghost" + size="icon" + icon={RefreshCw} + iconClassName={isRefreshing ? "animate-spin" : ""} + className="h-9 w-9 rounded-full" + tooltip="Rafraîchir l'image de fond" + /> )} - + diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index a2bf14f..5c84b2e 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx @@ -149,17 +149,19 @@ export function Sidebar({