diff --git a/public/build/assets/home-Cs-dzyRx.js b/public/build/assets/home-Cs-dzyRx.js new file mode 100644 index 0000000..13d27c6 --- /dev/null +++ b/public/build/assets/home-Cs-dzyRx.js @@ -0,0 +1 @@ +function r(){var e=$(".hero__slider");e&&(e.on("init",function(s,t){var i=$(".movie-slide:first-child").find("[data-animation]");o(i)}),e.on("beforeChange",function(s,t,i,n){var a=$('.movie-slide[data-slick-index="'+n+'"]').find("[data-animation]");o(a)}),e.slick({autoplay:!0,autoplaySpeed:3e3,dots:!0,fade:!1,arrows:!1,slidesToShow:1,slidesToScroll:1,infinite:!0}));function o(s){var t="webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend";s.each(function(){var i=$(this),n=i.data("delay"),a="animated "+i.data("animation");i.css({"animation-delay":n,"-webkit-animation-delay":n}),i.addClass(a).one(t,function(){i.removeClass(a)})})}}r();$(".movie-slider-one").slick({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-mbsL_elV.js b/public/build/assets/home-mbsL_elV.js deleted file mode 100644 index 2a59407..0000000 --- a/public/build/assets/home-mbsL_elV.js +++ /dev/null @@ -1 +0,0 @@ -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:3e3,dots:!0,fade:!1,arrows:!1,slidesToShow: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({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 2d5a4db..3aef4fc 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -6,7 +6,7 @@ "isEntry": true }, "resources/js/home.js": { - "file": "assets/home-mbsL_elV.js", + "file": "assets/home-Cs-dzyRx.js", "name": "home", "src": "resources/js/home.js", "isEntry": true diff --git a/resources/js/home.js b/resources/js/home.js index c9d6511..4be4411 100644 --- a/resources/js/home.js +++ b/resources/js/home.js @@ -25,34 +25,36 @@ fade: false, arrows: false, slidesToShow: 1, + slidesToScroll: 1, + infinite: true, // nextArrow: '', // prevArrow: '', - responsive: [ - { - breakpoint: 1024, - settings: { - slidesToShow: 1, - slidesToScroll: 1, - infinite: true, - } - }, - { - breakpoint: 991, - settings: { - slidesToShow: 1, - slidesToScroll: 1, - arrows: false - } - }, - { - breakpoint: 767, - settings: { - slidesToShow: 1, - slidesToScroll: 1, - arrows: false - } - } - ] + // responsive: [ + // { + // breakpoint: 1024, + // settings: { + // slidesToShow: 1, + // slidesToScroll: 1, + // infinite: true, + // } + // }, + // { + // breakpoint: 991, + // settings: { + // slidesToShow: 1, + // slidesToScroll: 1, + // arrows: false + // } + // }, + // { + // breakpoint: 767, + // settings: { + // slidesToShow: 1, + // slidesToScroll: 1, + // arrows: false + // } + // } + // ] }); } diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index ee10344..0b0bfce 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -23,7 +23,10 @@ @foreach ($hero as $slider) {{-- @dd($slider) --}}
- {{ str($slider['title'])->apa() }} ({{ $slider['year'] }}) +
+ + {{ str($slider['title'])->apa() }} ({{ $slider['year'] }}) +
{{-- {{ __($slider['title']) }} image --}}

{{ __($slider['title']) }}