Skip to content

Commit

Permalink
fix blog
Browse files Browse the repository at this point in the history
  • Loading branch information
ehab-hassan committed Nov 17, 2024
1 parent f814c2a commit bd32ac0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion templates/shortcodes/carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,15 @@ <h1 class="lg:text-7xl md:text-4xl text-white font-extrabold leading-none">Join

<!--JAVASCRIPT CODE-->
<script>

var swiper = new Swiper(".default-carousel", {
loop: true,
speed: 800,
speed: 700,
autoplay: {
delay: 5000,
disableOnInteraction: false,
pauseOnMouseEnter: true, // Pause autoplay when the mouse enters the slider
},
pagination: {
el: ".swiper-pagination",
clickable: true,
Expand All @@ -95,6 +101,7 @@ <h1 class="lg:text-7xl md:text-4xl text-white font-extrabold leading-none">Join
loadPrevNext: true,
},
});

</script>


0 comments on commit bd32ac0

Please sign in to comment.