From c83ea713c35c31f2950142ea0cd24926d85e858c Mon Sep 17 00:00:00 2001 From: Dicken Date: Mon, 25 May 2026 23:35:45 +0200 Subject: [PATCH] Dateien nach "frontend/src" hochladen --- frontend/src/App.jsx | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 6291f08..fe8c0df 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -150,7 +150,7 @@ function Sidebar({ active, setActive, user, onLogout, updateInfo, onUpdateClick }}> {sub && } - {item.Icon ? : {item.icon}} + {item.Icon ? (() => { const I = item.Icon; return ; })() : {item.icon}} {item.label} @@ -226,13 +226,18 @@ function BottomNav({ active, setActive, user, onLogout, updateInfo, onUpdateClic const [appsOpen, setAppsOpen] = useState(false); const NAV_H = 56; - const MI = ({icon, label, onClick, color='#fff'}) => ( - - ); + const MI = ({Icon, icon, label, onClick, color='rgba(255,255,255,0.85)'}) => { + const Ic = Icon; + return ( + + ); + }; const Sheet = ({open, onClose, children}) => !open ? null : (
)} - + {(() => { const I = item.Icon; return I ? : null; })()} {item.label} {isActive && !isApps && !isMehr && (