lastScrollTop && st > 300) {
sticky= true
} else if (st < lastScrollTop && st < 300) {
sticky= false
}
lastScrollTop = st <= 0 ? 0 : st;
"
class="sticky-banner bottom-0 top-auto lg:top-0 lg:bottom-auto inset-x-0 py-4 lg:py-4 shadow-lg"
:class="{ 'fixed z-20': sticky, 'fixed lg:absolute -z-10 translate-y-20 lg:-translate-y-10': !sticky }"
style="background-color:#ffffff"
>
Su sistema de automatización logística dedicado
-
Recibir
24/7 sin presencia humana -
Barco
sin movimiento -
Seguir
tus entregas en tiempo real -
Automatizar
tu Click&Collect