diff --git a/imports/ui/pages/Index/Index-custom.scss b/imports/ui/pages/Index/Index-custom.scss index 283cfec..8e089c1 100644 --- a/imports/ui/pages/Index/Index-custom.scss +++ b/imports/ui/pages/Index/Index-custom.scss @@ -211,7 +211,7 @@ background-image: url('/images/home-slide-snd-2.jpg') } -.webp .carousel-item-1.lazy { +.webp .carousel-item-1 { background-image: url('/images/home-slide1.webp') } @@ -227,9 +227,9 @@ background-image: url('/images/home-slide4.webp') } -.webp .carousel-item-1 { +/* .webp .carousel-item-1 { background-image: url('/images/home-slide1-blur.webp') -} +} */ .webp .carousel-item-2 { background-image: url('/images/home-slide2-blur.webp') diff --git a/imports/ui/pages/Index/Index.js b/imports/ui/pages/Index/Index.js index 9e3d6fd..5d6b130 100644 --- a/imports/ui/pages/Index/Index.js +++ b/imports/ui/pages/Index/Index.js @@ -43,9 +43,9 @@ class Index extends Component { const car2 = $('#carouselSndIndicators'); car1.carousel(); car2.carousel(); - _.defer(() => { + /* _.defer(() => { $('#firsthomeslide').addClass('lazy'); - }); + }); */ const loadLazy = (ev) => { ev.relatedTarget.classList.add('lazy'); };