{
const currentScrollY = window.scrollY;
if (Math.abs(currentScrollY - lastScrollY) > navThreshold / 4) { // Add some tolerance
if (currentScrollY > lastScrollY && currentScrollY > navThreshold && !isProfileDropdownOpen && !isMobileMenuOpen) {
showNav = false; // Scrolling down
} else {
showNav = true; // Scrolling up or near top
}
lastScrollY = currentScrollY;
}
}" @hide-navbar.window="showNav = false" -navbar.window="showNav = true" x-show="showNav"
x-transition:enter="transition ease-out duration-300"
x-transition:enter-start="opacity-0 transform -translate-y-full"
x-transition:enter-end="opacity-100 transform translate-y-0" x-transition:leave="transition ease-in duration-300"
x-transition:leave-start="opacity-100 transform translate-y-0"
x-transition:leave-end="opacity-0 transform -translate-y-full">
Wena Gamanak With Hasa
Hasalaka Thushara
Wenagamanak with Hasa is a refreshing escape from the noise of the city. In each episode, Hasalaka takes a guest to a quiet, isolated spot away from the busy town, where they share heartfelt conversations, untold stories, and meaningful reflections in a calm, natural setting.