-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
490 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,10 +9,7 @@ | |
<Link rel="stylesheet" href="./style/index.css"> | ||
</Link> | ||
<link rel="stylesheet" href="./style/slider.css"></link> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css" | ||
/> | ||
|
||
<!-- bootstrap cdn --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous"> | ||
|
||
|
@@ -22,9 +19,7 @@ | |
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" integrity="sha512-tS3S5qG0BlhnQROyJXvNjeEM4UpMXHrQfTGmbQ1gKmelCxlSEBUaxhRBj/EFTzpbP4RVSrpEikbmdJobCvhE3g==" crossorigin="anonymous" referrerpolicy="no-referrer" /> --> | ||
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.css" integrity="sha512-OTcub78R3msOCtY3Tc6FzeDJ8N9qvQn1Ph49ou13xgA9VsH9+LRxoFU6EqLhW4+PKRfU+/HReXmSZXHEkpYoOA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> --> | ||
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" integrity="sha512-tS3S5qG0BlhnQROyJXvNjeEM4UpMXHrQfTGmbQ1gKmelCxlSEBUaxhRBj/EFTzpbP4RVSrpEikbmdJobCvhE3g==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css" integrity="sha512-sMXtMNL1zRzolHYKEujM2AqCLUR9F2C4/05cdbxjjLSRvMQIciEPCQZo++nk7go3BtSuK9kfa/s+a4f4i5pLkw==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
|
||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css" /> | ||
|
||
</head> | ||
|
||
|
@@ -33,10 +28,10 @@ | |
<nav> | ||
<div class="nav-container"> | ||
|
||
<div class="nav-left"> | ||
<div class="nav-left d-block"> | ||
<div class="nav-logo"> | ||
<a href="index.html"><i class="fa-solid fa-utensils"></i></a> | ||
<span>Pour Tous</span> | ||
<span id="pour-tous">Pour Tous</span> | ||
</div> | ||
</div> | ||
|
||
|
@@ -103,15 +98,24 @@ | |
</div> | ||
|
||
<!-- category section --> | ||
|
||
<div class="container-fluid py-4" style="background-color:#FEDE00; height:400px;"> | ||
<h3 class="py-2" style="color:black; font-size:2rem;font-weight:400;">What's on your mind?</h3> | ||
<div id="category" class="owl-carousel owl-theme"> | ||
|
||
<!-- data is fetched from index.js --> | ||
|
||
</div> | ||
</div> | ||
<section class="slider_container pt-3" style="background-color:#FEDE00; height:300px;"> | ||
<div class="container"> | ||
|
||
<div class="card_slider swiper"> | ||
<div class="swiper-wrapper" id="category"> | ||
|
||
</div> | ||
<div class="swiper-button-next"></div> | ||
<div class="swiper-button-prev"></div> | ||
<div class="swiper-pagination"></div> | ||
</div> | ||
</div> | ||
|
||
</section> | ||
|
||
|
||
|
||
<!-- for showing common data to Deliver Restaurants in India--> | ||
<div class="container-fluid py-1" style="background-color:black"> | ||
<h3 class="py-1" style="color:#FEDE00; font-size:2rem;font-weight:400;">You can also try</h3> | ||
|
@@ -167,6 +171,7 @@ <h3 class="py-1" style="color:#FEDE00; font-size:2rem;font-weight:400;">You can | |
</div> | ||
|
||
|
||
</div> | ||
</div> | ||
</fotter> | ||
|
||
|
@@ -188,16 +193,41 @@ <h3 class="py-1" style="color:#FEDE00; font-size:2rem;font-weight:400;">You can | |
<script src="https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.js"></script> | ||
|
||
<!-- Initialize Swiper --> | ||
<script> | ||
var swiper = new Swiper(".mySwiper", { | ||
slidesPerView: 4, | ||
spaceBetween: 30, | ||
centeredSlides: true, | ||
pagination: { | ||
el: ".swiper-pagination", | ||
clickable: true | ||
} | ||
}); | ||
<script type="text/javascript"> | ||
var swiper = new Swiper(".card_slider", { | ||
slidesPerView: 3, | ||
spaceBetween: 70, | ||
loop:true, | ||
pagination: { | ||
el: ".swiper-pagination", | ||
clickable: true, | ||
}, | ||
autoplay: { | ||
delay: 2500, | ||
disableOnInteraction: false, | ||
}, | ||
navigation: { | ||
nextEl: ".swiper-button-next", | ||
prevEl: ".swiper-button-prev", | ||
}, breakpoints: { | ||
320: { | ||
slidesPerView: 1, | ||
|
||
}, | ||
480: { | ||
slidesPerView: 2, | ||
|
||
}, | ||
768: { | ||
slidesPerView: 3, | ||
|
||
}, | ||
1200: { | ||
slidesPerView: 4, | ||
|
||
}, | ||
}, | ||
}); | ||
</script> | ||
</body> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.