Remove blur on first home slide
This commit is contained in:
parent
22534ddb7e
commit
9502ea3604
2 changed files with 5 additions and 5 deletions
|
|
@ -211,7 +211,7 @@
|
||||||
background-image: url('/images/home-slide-snd-2.jpg')
|
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')
|
background-image: url('/images/home-slide1.webp')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -227,9 +227,9 @@
|
||||||
background-image: url('/images/home-slide4.webp')
|
background-image: url('/images/home-slide4.webp')
|
||||||
}
|
}
|
||||||
|
|
||||||
.webp .carousel-item-1 {
|
/* .webp .carousel-item-1 {
|
||||||
background-image: url('/images/home-slide1-blur.webp')
|
background-image: url('/images/home-slide1-blur.webp')
|
||||||
}
|
} */
|
||||||
|
|
||||||
.webp .carousel-item-2 {
|
.webp .carousel-item-2 {
|
||||||
background-image: url('/images/home-slide2-blur.webp')
|
background-image: url('/images/home-slide2-blur.webp')
|
||||||
|
|
|
||||||
|
|
@ -43,9 +43,9 @@ class Index extends Component {
|
||||||
const car2 = $('#carouselSndIndicators');
|
const car2 = $('#carouselSndIndicators');
|
||||||
car1.carousel();
|
car1.carousel();
|
||||||
car2.carousel();
|
car2.carousel();
|
||||||
_.defer(() => {
|
/* _.defer(() => {
|
||||||
$('#firsthomeslide').addClass('lazy');
|
$('#firsthomeslide').addClass('lazy');
|
||||||
});
|
}); */
|
||||||
const loadLazy = (ev) => {
|
const loadLazy = (ev) => {
|
||||||
ev.relatedTarget.classList.add('lazy');
|
ev.relatedTarget.classList.add('lazy');
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue