From 4ffb228de2bbdb8cf0ff8354d3e13f4b8f765e1b Mon Sep 17 00:00:00 2001 From: Marcel Veselka Date: Sat, 4 Jul 2026 16:45:08 +0200 Subject: [PATCH] fix(header): keep the top menu bar always visible on the homepage (#4239) The homepage hid the navbar at the top of the page and only slid it in after scrolling (position: fixed + reveal-on-scroll), while every other page already used the standard sticky navbar. Unify the homepage with the rest of the site so the top menu bar stays visible at any scroll position. - Remove the homepage-only body.is-home navbar override and the reveal-on-scroll effect; the navbar now uses the default sticky navbar--fixed-top on all pages (opaque background, no bleed-through). - Size the hero to calc(100vh - 5rem) so it stays one screen under the now in-flow 80px navbar (no extra scroll, no layout shift). Anchor offsets were already handled by section { scroll-margin-top: 80px }. --- src/components/home-page/HomeHeroVibe.tsx | 2 +- src/css/custom.css | 14 -------------- src/pages/index.tsx | 17 +---------------- 3 files changed, 2 insertions(+), 31 deletions(-) diff --git a/src/components/home-page/HomeHeroVibe.tsx b/src/components/home-page/HomeHeroVibe.tsx index f4a4f42..9b47d2f 100644 --- a/src/components/home-page/HomeHeroVibe.tsx +++ b/src/components/home-page/HomeHeroVibe.tsx @@ -136,7 +136,7 @@ const HomeHeroVibe = () => { : AppType.E_COMMERCE; return ( -
+