diff --git a/public/build/assets/home-DVemXKfY.css b/public/build/assets/home-BK0lsvk2.css similarity index 66% rename from public/build/assets/home-DVemXKfY.css rename to public/build/assets/home-BK0lsvk2.css index 251a0a2..80b590b 100644 --- a/public/build/assets/home-DVemXKfY.css +++ b/public/build/assets/home-BK0lsvk2.css @@ -1 +1 @@ -.slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-track,.slick-slider .slick-list{transform:translateZ(0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:before,.slick-track:after{display:table;content:""}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}.slick-track{height:auto}*,*:before,*:after{box-sizing:border-box}#preloader{position:fixed;width:100%;height:100vh;z-index:99999;overflow:visible;background:#1b1b3f;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;top:0;left:0}@media (max-width: 1199px){.hero{margin-top:70px}}.hero .hero__slider{display:flex;flex-direction:row;width:auto;flex-wrap:nowrap;overflow:hidden}.hero .movie-slide{padding-top:50px;padding-bottom:50px;position:relative;z-index:1;display:flex!important;flex-wrap:wrap;align-items:center;height:695px}.hero .movie-slide:after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.56;z-index:-1}@media (max-width: 1199px){.hero__slider .movie-slide{height:600px}}@media (max-width: 991px){.hero__slider .movie-slide{height:450px}}@media (max-width: 767px){.hero__slider .movie-slide{height:400px}}@media (max-width: 575px){.hero__slider .movie-slide{height:290px}}@media (max-width: 400px){.hero__slider .movie-slide{height:195px}} +.slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-track,.slick-slider .slick-list{transform:translateZ(0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:before,.slick-track:after{display:table;content:""}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}.slick-track{height:auto}*,*:before,*:after{box-sizing:border-box}#preloader{position:fixed;width:100%;height:100vh;z-index:99999;overflow:visible;background:#1b1b3f;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;top:0;left:0}@media (max-width: 1199px){.hero{margin-top:70px}}.hero .hero__slider{display:flex;flex-direction:row;flex-wrap:nowrap;overflow:hidden;white-space:nowrap}.hero .movie-slide{padding-top:50px;padding-bottom:50px;position:relative;z-index:1;min-width:100vw;display:flex;flex-direction:column;flex-wrap:wrap;align-items:center;justify-content:center;height:695px}.hero .movie-slide:after{position:absolute;content:"";top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.56;z-index:-1}@media (max-width: 1199px){.hero__slider .movie-slide{height:600px}}@media (max-width: 991px){.hero__slider .movie-slide{height:450px}}@media (max-width: 767px){.hero__slider .movie-slide{height:400px}}@media (max-width: 575px){.hero__slider .movie-slide{height:290px}}@media (max-width: 400px){.hero__slider .movie-slide{height:195px}} diff --git a/public/build/assets/home-BWWQaQZ-.js b/public/build/assets/home-BWWQaQZ-.js deleted file mode 100644 index 495ca2c..0000000 --- a/public/build/assets/home-BWWQaQZ-.js +++ /dev/null @@ -1 +0,0 @@ -function r(){var e=$(".hero__slider");e&&(e.on("init",function(a,o){var i=$(".movie-slide:first-child").find("[data-animation]");t(i)}),e.on("beforeChange",function(a,o,i,s){var n=$('.movie-slide[data-slick-index="'+s+'"]').find("[data-animation]");t(n)}),e.slick({autoplay:!0,autoplaySpeed:3e3,lazyLoad:"ondemand",dots:!0,fade:!1,arrows:!1,responsive:[{breakpoint:1024,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0}},{breakpoint:991,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1}},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1}}]}));function t(a){var o="webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend";a.each(function(){var i=$(this),s=i.data("delay"),n="animated "+i.data("animation");i.css({"animation-delay":s,"-webkit-animation-delay":s}),i.addClass(n).one(o,function(){i.removeClass(n)})})}}r();$(".movie-slider-one").slick({lazyLoad:"ondemand",autoplay:!0,slidesToShow:7,slidesToScroll:1,infinite:!0,speed:700,dots:!1,arrows:!0,nextArrow:'
',prevArrow:'',responsive:[{breakpoint:1650,settings:{slidesToShow:5}},{breakpoint:1200,settings:{slidesToShow:4}},{breakpoint:992,settings:{slidesToShow:3}},{breakpoint:768,settings:{slidesToShow:2}},{breakpoint:512,settings:{slidesToShow:2}}]});(function(e){"user strict"})(jQuery);document.addEventListener("readystatechange",e=>{}); diff --git a/public/build/assets/home-bvo3Sf5y.js b/public/build/assets/home-bvo3Sf5y.js new file mode 100644 index 0000000..db6a9ed --- /dev/null +++ b/public/build/assets/home-bvo3Sf5y.js @@ -0,0 +1 @@ +function r(){var e=$(".hero__slider");e&&(e.on("init",function(a,t){var i=$(".movie-slide:first-child").find("[data-animation]");o(i)}),e.on("beforeChange",function(a,t,i,s){var n=$('.movie-slide[data-slick-index="'+s+'"]').find("[data-animation]");o(n)}),e.slick({autoplay:!0,autoplaySpeed:3e5,dots:!0,fade:!1,arrows:!1,responsive:[{breakpoint:1024,settings:{slidesToShow:1,slidesToScroll:1,infinite:!0}},{breakpoint:991,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1}},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1}}]}));function o(a){var t="webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend";a.each(function(){var i=$(this),s=i.data("delay"),n="animated "+i.data("animation");i.css({"animation-delay":s,"-webkit-animation-delay":s}),i.addClass(n).one(t,function(){i.removeClass(n)})})}}r();$(".movie-slider-one").slick({lazyLoad:"ondemand",autoplay:!0,slidesToShow:7,slidesToScroll:1,infinite:!0,speed:700,dots:!1,arrows:!0,nextArrow:'',prevArrow:'',responsive:[{breakpoint:1650,settings:{slidesToShow:5}},{breakpoint:1200,settings:{slidesToShow:4}},{breakpoint:992,settings:{slidesToShow:3}},{breakpoint:768,settings:{slidesToShow:2}},{breakpoint:512,settings:{slidesToShow:2}}]});(function(e){"user strict"})(jQuery);document.addEventListener("readystatechange",e=>{}); diff --git a/public/build/manifest.json b/public/build/manifest.json index 77b404d..f396db0 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -6,7 +6,7 @@ "isEntry": true }, "resources/js/home.js": { - "file": "assets/home-BWWQaQZ-.js", + "file": "assets/home-bvo3Sf5y.js", "name": "home", "src": "resources/js/home.js", "isEntry": true @@ -57,7 +57,7 @@ "isEntry": true }, "resources/scss/home.scss": { - "file": "assets/home-DVemXKfY.css", + "file": "assets/home-BK0lsvk2.css", "src": "resources/scss/home.scss", "isEntry": true }, diff --git a/resources/js/home.js b/resources/js/home.js index 67f4656..949c58a 100644 --- a/resources/js/home.js +++ b/resources/js/home.js @@ -19,8 +19,8 @@ }); BasicSlider.slick({ autoplay: true, - autoplaySpeed: 3000, - lazyLoad: 'ondemand', + autoplaySpeed: 300000, + // lazyLoad: 'ondemand', dots: true, fade: false, arrows: false, diff --git a/resources/scss/home.scss b/resources/scss/home.scss index cee3636..471f795 100644 --- a/resources/scss/home.scss +++ b/resources/scss/home.scss @@ -31,9 +31,10 @@ .hero__slider { display: flex; flex-direction: row; - width: auto; + // width: auto; flex-wrap: nowrap; overflow: hidden; + white-space: nowrap; } .movie-slide { @@ -41,10 +42,13 @@ padding-bottom: 50px; position: relative; z-index: 1; + min-width: 100vw; // min-height: 695px; - display: flex!important; + display: flex; + flex-direction: column; flex-wrap: wrap; align-items: center; + justify-content: center; // display: block; height: 695px;