Skip to content

fix(home-new): show nav bar immediately instead of after scroll - #519

Merged
mohanadft merged 1 commit into
mainfrom
fix/home-new-nav-always-visible
Jul 29, 2026
Merged

fix(home-new): show nav bar immediately instead of after scroll#519
mohanadft merged 1 commit into
mainfrom
fix/home-new-nav-always-visible

Conversation

@mohanadft

Copy link
Copy Markdown
Collaborator

Summary

  • home-new.astro was the only -new redesign page not passing alwaysVisible to HomeNavbar, so its nav stayed hidden (opacity: 0, translated off-screen) until the user scrolled past half the viewport height.
  • Every other -new page (about-new, donate-new, team-new, events-new, faq-new, etc.) already passes alwaysVisible, so this brings home-new in line with the rest.

Test plan

  • Visit /home-new and confirm the nav bar is visible immediately on page load, without scrolling
  • Confirm nav bar still behaves correctly on scroll (no layout shift/flicker)
  • Spot check another -new page (e.g. /about-new) to confirm nav behavior is unchanged there

home-new.astro was the only -new page not passing alwaysVisible to
HomeNavbar, leaving the nav hidden until the user scrolled halfway
down the viewport.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 60e47f4
Status: ✅  Deploy successful!
Preview URL: https://63c75c82.website-aun.pages.dev
Branch Preview URL: https://fix-home-new-nav-always-visi.website-aun.pages.dev

View logs

@mohanadft
mohanadft merged commit 9b8f208 into main Jul 29, 2026
5 checks passed
@mohanadft
mohanadft deleted the fix/home-new-nav-always-visible branch July 29, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant