headerHeight) ? true : false; scrollPosition = window.pageYOffset || document.documentElement.scrollTop; if (scrollPosition > lastScrollTop){ // downscroll code mobileLogoReveal = false; var width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; if(width < 640) { scrollToPos = -headerHeight; headerInView = 0; windowInView = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; } else { scrollToPos = -announcementHeight - (headerHeight - announcementHeight - imageNavHeight - 4); headerInView = headerHeight + scrollToPos; windowInView = window.innerHeight - headerInView; } } else { // upscroll code mobileLogoReveal = true; scrollToPos = -announcementHeight + 4; headerInView = headerHeight + scrollToPos; windowInView = window.innerHeight - headerInView; } lastScrollTop = scrollPosition <= 0 ? 0 : scrollPosition; // For Mobile or negative scrolling if(sticky) { windowInView = window.innerHeight - headerInView; } else { windowInView = window.innerHeight - $refs.navHeader.offsetHeight; headerInView = headerHeight; } " :class="{ 'sticky-header' : sticky }" :style="sticky && { top: scrollToPos + 'px' }" >
WINTER SALE: UP TO 40% OFF SITEWIDE
ORDER BY 2PM, 20TH DEC FOR CHRISTMAS
FREE SUPER-STAY LINER WITH ORDERS OVER £40
SALE
BESTSELLERS
BROWS
EYES
GIFTS
OFFERS
REWARDS
{ $refs.searchInput.value = ''; if(open) { $refs.searchInput.focus(); } else { $refs.searchInput.blur(); } });" :style="{ 'height' : headerInView + 'px' }" >
Home
Landing Page Test
Landing Page Test
Gifts
New!
Best Sellers
Shop All
Brows
Eyes
Face
Lips
Sets
Outlet
Offers
Tools
Tips & Advice
Sign In / Create Account
REWARDS
{ updatecartData(true); }); " class="relative h-full" >
item
items
Free shipping on all orders over £25
Your bag is empty
:
Qty:
+
-
Subtotal:
View bag
{ open = $event.detail }); " x-show="open" x-transition:enter="transition ease-out duration-900" x-transition:enter-start="opacity-0" x-transition:enter-end="opacity-100" x-transition:leave="delay-100 transition ease-in duration-900" x-transition:leave-start="opacity-100" x-transition:leave-end="opacity-0" >
{ productData = value; productPrice = productData.variants[0].price; productComparePrice = productData.variants[0].compare_at_price; productID = productData.variants[0].id; productDataSet = true; }); }); " @close-modals.window="showModal = false" x-cloak >