From f0983251bb0062cbc2e3fa6739581c976ee0dfa4 Mon Sep 17 00:00:00 2001 From: abdulrahman khaled <123447484+abdulrahmankhaled00@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:48:50 +0000 Subject: [PATCH] init (#7) * init * delete index and fix navbar --------- Co-authored-by: abdulrahman --- src/index.js | 65 ----- src/offer&nav.html | 603 ++++++++++++++++++++++++++++----------- src/product_details.html | 1 + 3 files changed, 442 insertions(+), 227 deletions(-) delete mode 100644 src/index.js create mode 100644 src/product_details.html diff --git a/src/index.js b/src/index.js deleted file mode 100644 index 472e841..0000000 --- a/src/index.js +++ /dev/null @@ -1,65 +0,0 @@ - -var HeaderSwiper = new Swiper(".default-carousel", { - loop: true, - pagination: { - el: ".swiper-pagination", - clickable: true, - }, - - }); - -var CategorysSwiper2 = new Swiper(".multiple-slide-carousel", { - loop: true, - slidesPerView: 2, - spaceBetween: 10, - navigation: { - nextEl: " .swiper-button-next", - prevEl: " .swiper-button-prev", - }, - breakpoints: { - 1920: { - slidesPerView: 6, - spaceBetween: 10 - }, - 1028: { - slidesPerView: 6, - spaceBetween: 10 - }, - 550: { - slidesPerView: 3, - spaceBetween: 0 - }, - - } - }); - - ProductDetailsSwiper= new Swiper(".multiple-slide-carousel-ProductDetails", { - loop: true, - slidesPerView: 2, - spaceBetween: 10, - navigation: { - nextEl: " .swiper-button-next-ProductDetails", - prevEl: " .swiper-button-prev-ProductDetails", - }, - breakpoints: { - 1920: { - slidesPerView: 6, - spaceBetween: 10 - }, - 1028: { - slidesPerView: 6, - spaceBetween: 10 - }, - 550: { - slidesPerView: 3, - spaceBetween: 0 - }, - - } - }) - -// -document.getElementById('countries-button').addEventListener('click', function() { - const dropdown = document.getElementById('dropdown-countries'); - dropdown.classList.toggle('hidden'); - }); \ No newline at end of file diff --git a/src/offer&nav.html b/src/offer&nav.html index 4f0e988..ff2071b 100644 --- a/src/offer&nav.html +++ b/src/offer&nav.html @@ -1,203 +1,482 @@ - + Navbar - + +