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 }">
Community Shop - celebrating 10 years building stronger individuals and more confident communities
Community Shop - celebrating 10 years building stronger individuals and more confident communities
Community Shop - celebrating 10 years building stronger individuals and more confident communities
SHARE