diff --git a/index.html b/index.html index 74bbdf4..3421e83 100644 --- a/index.html +++ b/index.html @@ -1136,12 +1136,12 @@

The MovieVerse Database

- +
-

The RecipeGenie Database

-

Welcome to The Recipe Genie App - The Ultimate Recipe Assistant, your personal culinary guide and portal to a world of delicious dishes.

- +

The StickyNotes App

+

Welcome to The StickyNotes App, your new digital space for quick notes, brainstorming ideas, and keeping track of tasks.

+
Demo @@ -1166,12 +1166,12 @@

The WeatherMate App

- +
-

The StickyNotes App

-

Welcome to The StickyNotes App, your new digital space for quick notes, brainstorming ideas, and keeping track of tasks.

- +

The RecipeGenie Database

+

Welcome to The Recipe Genie App - The Ultimate Recipe Assistant, your personal culinary guide and portal to a world of delicious dishes.

+
Demo diff --git a/packages/js/main.js b/packages/js/main.js index 966b03a..f4052ea 100644 --- a/packages/js/main.js +++ b/packages/js/main.js @@ -98,22 +98,31 @@ modalCloses.forEach((modalClose) => { }); /*==================== PORTFOLIO SWIPER ====================*/ -let swiperPortfolio = new Swiper(".portfolio__container", { - cssMode: true, +const swiperPortfolio = new Swiper('.portfolio__container', { loop: true, - + loopAdditionalSlides: 3, + slidesPerView: 1, // Show only one slide at a time + spaceBetween: 3500, // You can adjust this value for spacing between slides navigation: { - nextEl: ".swiper-button-next", - prevEl: ".swiper-button-prev", + nextEl: '.swiper-button-next', + prevEl: '.swiper-button-prev', }, - pagination: { - el: ".swiper-pagination", + el: '.swiper-pagination', clickable: true, }, - - /* mousewheel: true, - keyboard: true, */ + mousewheel: true, + keyboard: true, + on: { + reachBeginning: function() { + this.loopDestroy(); // Destroy loop + this.loopCreate(); // Create loop again + }, + reachEnd: function() { + this.loopDestroy(); // Destroy loop + this.loopCreate(); // Create loop again + } + } }); /*==================== TESTIMONIAL ====================*/