diff --git a/frontend/src/components/layout/Layout.tsx b/frontend/src/components/layout/Layout.tsx index 4b7ce00..0e695ba 100644 --- a/frontend/src/components/layout/Layout.tsx +++ b/frontend/src/components/layout/Layout.tsx @@ -1,3 +1,4 @@ +import type React from 'react' import { Outlet } from 'react-router-dom' import BottomNav from './BottomNav' import SideNav from './SideNav' @@ -19,27 +20,53 @@ function TopBar() { setTheme(THEME_CYCLE[(idx + 1) % THEME_CYCLE.length]) } + const iconBtn: React.CSSProperties = { + background: 'var(--bg-4)', border: 'none', borderRadius: 8, + width: 36, height: 36, cursor: 'pointer', + color: 'var(--ink-2)', fontSize: 16, + display: 'flex', alignItems: 'center', justifyContent: 'center', + flexShrink: 0, + } + return (
+ {/* Identité app — gauche */} + + HomeHub + v{__APP_VERSION__} + +
+ + {/* Boutons — droite */} + +
) } diff --git a/frontend/src/pages/HomePage.tsx b/frontend/src/pages/HomePage.tsx index 465409a..996c821 100644 --- a/frontend/src/pages/HomePage.tsx +++ b/frontend/src/pages/HomePage.tsx @@ -3,19 +3,6 @@ import { Link } from 'react-router-dom' export default function HomePage() { return (
-
-
-

- HomeHub -

- - v{__APP_VERSION__} - -
-

- Application d'organisation personnelle -

-
{[ { label: 'Todos', icon: 'list-check', path: '/todos' },