30; return; } scrolled = window.pageYOffset > 30; const viewportHeight = window.innerHeight; let current = activeSection; ['home','about','event-series','gallery','broadcast'].forEach(id => { const el = document.getElementById(id); if (!el) return; const rect = el.getBoundingClientRect(); const visibleHeight = Math.min(rect.bottom, viewportHeight) - Math.max(rect.top, 0); const visibilityRatio = visibleHeight / viewportHeight; if (visibilityRatio >= 0.7) { current = id; } }); activeSection = current; " :class="{ 'bg-white/90 backdrop-blur-md shadow-md py-2': scrolled || isInternalPage, 'bg-white/90 backdrop-blur-md shadow-md py-4': mobileMenuOpen && !scrolled && !isInternalPage, 'bg-transparent py-4': !scrolled && !mobileMenuOpen && !isInternalPage }" class="fixed top-0 w-full z-50 transition-all duration-300 ease-in-out">
YKBUT
18th
HOME
ABOUT US
EVENT SERIES
BROADCAST
GALLERY
Open main menu
HOME
ABOUT US
EVENT SERIES
BROADCAST
GALLERY
Olahraga & Kebersamaan
YKBUT BERGERAK
Walk & Run untuk mendorong gaya hidup sehat dan kebersamaan.
Kembali ke Event Series