diff --git a/src/components/layout/Layout.tsx b/src/components/layout/Layout.tsx index e454477..2891798 100644 --- a/src/components/layout/Layout.tsx +++ b/src/components/layout/Layout.tsx @@ -200,7 +200,7 @@ const Layout: React.FC = ({ children }) => { return (
{showLoader && setShowLoader(false)} />} @@ -471,69 +471,41 @@ const Layout: React.FC = ({ children }) => { {/* ═══════════════════════════════════════════════════════════ */} - {/* ══ MOBILE CHROME (<768px) — sidebar + accordion overlay ══ */} + {/* ══ MOBILE CHROME (<768px) — top bar + fullscreen overlay ══ */} {/* ═══════════════════════════════════════════════════════════ */} {isMobile && ( <> - {/* ── SIDEBAR ──────────────────────────────────── */} - - - {/* ── MOBILE OVERLAY (accordion) ───────────────── */} + {/* ── FULLSCREEN OVERLAY ───────────────────────── */}
= ({ children }) => { pointerEvents: mobileOpen ? 'all' : 'none', transition: `opacity ${mobileOpen ? '.28s' : '.2s'} ease`, display: 'flex', flexDirection: 'column', + overflow: 'hidden', }} > - {/* Top bar */} -
+ {/* Brand watermark */} +
Exzellenz
seit 2005
+ + {/* Header row: logo + close */} +
setMobileOpen(false)} style={{ display:'flex', alignItems:'center', textDecoration:'none' }}> BMP Logo
- {/* Scrollable nav */} - {/* CTAs */} -
+
setMobileOpen(false)} - style={{ display:'block', background:GOLD, color:'#101828', fontSize:14, fontWeight:700, textTransform:'uppercase', letterSpacing:'.12em', padding:'13px 22px', textDecoration:'none', fontFamily:FF_DISPLAY, textAlign:'center' }} + style={{ display:'flex', alignItems:'center', justifyContent:'center', minHeight:52, background:GOLD, color:'#101828', fontSize:14, fontWeight:700, textTransform:'uppercase', letterSpacing:'.12em', textDecoration:'none', fontFamily:FF_DISPLAY }} >Jetzt bewerben setMobileOpen(false)} - style={{ display:'block', background:'transparent', color:MUTED, fontSize:14, fontWeight:700, textTransform:'uppercase', letterSpacing:'.12em', padding:'12px 22px', textDecoration:'none', fontFamily:FF_DISPLAY, border:`1.5px solid rgba(239,191,4,0.35)`, textAlign:'center' }} + style={{ display:'flex', alignItems:'center', justifyContent:'center', minHeight:50, background:'transparent', color:'#fff', fontSize:14, fontWeight:700, textTransform:'uppercase', letterSpacing:'.12em', textDecoration:'none', fontFamily:FF_DISPLAY, border:`1.5px solid ${LINE}` }} >Mitglied werden setMobileOpen(false)} - style={{ display:'flex', alignItems:'center', justifyContent:'center', gap:8, background:'rgba(255,255,255,0.04)', color:'rgba(255,255,255,0.5)', fontSize:11, fontWeight:700, textTransform:'uppercase', letterSpacing:'.14em', padding:'12px 22px', textDecoration:'none', fontFamily:FF_DISPLAY, border:'1px dashed rgba(255,255,255,0.2)', textAlign:'center' }} - > Formular hochladen + style={{ display:'flex', alignItems:'center', justifyContent:'center', gap:8, minHeight:46, background:'none', color:'rgba(255,255,255,0.5)', fontSize:11, fontWeight:700, textTransform:'uppercase', letterSpacing:'.14em', textDecoration:'none', fontFamily:FF_DISPLAY, border:'1px dashed rgba(255,255,255,0.2)' }} + > Formular hochladen
- {/* Secondary links */} -
- {SECONDARY.map(item => ( - setMobileOpen(false)} - style={{ display:'inline-flex', alignItems:'center', minHeight:44, padding:'0 8px', fontSize:13, color:MUTED, textDecoration:'none', fontFamily:FF_BODY }} - >{item.label} - ))} + {/* Footer zone: lang + social + secondary */} +
+ {/* Lang + social row */} +
+
+ {(['DE','EN'] as const).map((l, i) => ( + + {i === 1 && |} + + + ))} +
+
+ {SOCIAL.map(s => )} +
+
+ {/* Secondary links */} +
+ {SECONDARY.map(item => ( + setMobileOpen(false)} + style={{ display:'inline-flex', alignItems:'center', minHeight:40, fontSize:13, color:'rgba(255,255,255,.5)', textDecoration:'none', fontFamily:FF_BODY }} + >{item.label} + ))} +
- - {/* Social */} -
- {SOCIAL.map(s => )} -
- +
)}