lastScrollTop && scrollTop > 50) {
showOnScroll = true;
} else if (scrollTop <= 50) {
showOnScroll = false;
}
lastScrollTop = scrollTop;
"
class="fixed top-0 left-0 z-50 w-full transition-transform duration-300 bg-biffa-navy corporate-inverted "
:class="{ '-translate-y-full': !showOnScroll }">