diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index acf4494..b5b2c31 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/package.json b/package.json index b926b0a..7a8bb92 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,8 @@ "@fontsource/bai-jamjuree": "^5.0.8", "@fontsource/roboto": "^5.0.8", "basiclightbox": "^5.0.4", - "jquery": "^3.7.1" + "jquery": "^3.7.1", + "slick-carousel": "^1.8.1", + "slick-carousel-latest": "^1.9.0" } } diff --git a/public/build/assets/slick-l0sNRNKZ.js b/public/build/assets/slick-l0sNRNKZ.js new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/public/build/assets/slick-l0sNRNKZ.js @@ -0,0 +1 @@ + diff --git a/public/build/manifest.json b/public/build/manifest.json index 1432221..77b404d 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -29,6 +29,12 @@ "src": "resources/js/load-more.js", "isEntry": true }, + "resources/js/slick.js": { + "file": "assets/slick-l0sNRNKZ.js", + "name": "slick", + "src": "resources/js/slick.js", + "isEntry": true + }, "resources/js/watch.js": { "file": "assets/watch-l0sNRNKZ.js", "name": "watch", diff --git a/resources/js/home.js b/resources/js/home.js index c1d5393..67f4656 100644 --- a/resources/js/home.js +++ b/resources/js/home.js @@ -1,5 +1,5 @@ 'use strict'; - +// import slickCarousel from 'slick-carousel' // $('#langSel').niceSelect(); // new WOW().init(); @@ -75,6 +75,7 @@ mainSlider(); +// $(window).on('load', function() {}) $('.movie-slider-one').slick({ lazyLoad: 'ondemand', @@ -154,6 +155,7 @@ $('.movie-slider-one').slick({ (function ($) { "user strict"; + })(jQuery); diff --git a/resources/js/slick.js b/resources/js/slick.js new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/js/slick.js @@ -0,0 +1 @@ + diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index e5057ce..2ae2e70 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,6 +1,8 @@ @extends('layouts.layout') @push('head') + +