-
Notifications
You must be signed in to change notification settings - Fork 427
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
akshay kashyap
committed
Apr 15, 2020
1 parent
70db4db
commit 0471018
Showing
27 changed files
with
133 additions
and
3 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -71,7 +71,24 @@ | |
<!-- !start #header --> | ||
|
||
<!-- start #main-site --> | ||
<main> | ||
<main id="main-site"> | ||
|
||
<!-- Owl-carousel --> | ||
<section id="banner-area"> | ||
<div class="owl-carousel owl-theme"> | ||
<div class="item"> | ||
<img src="./assets/Banner1.png" alt="Banner1"> | ||
</div> | ||
<div class="item"> | ||
<img src="./assets/Banner2.png" alt="Banner2"> | ||
</div> | ||
<div class="item"> | ||
<img src="./assets/Banner1.png" alt="Banner3"> | ||
</div> | ||
</div> | ||
</section> | ||
<!-- !Owl-carousel --> | ||
|
||
|
||
</main> | ||
<!-- !start #main-site --> | ||
|
@@ -85,5 +102,11 @@ | |
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script> | ||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script> | ||
|
||
<!-- Owl Carousel Js file --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js" integrity="sha256-pTxD+DSzIwmwhOqTFN+DB+nHjO4iAsbgfyFq5K5bcE0=" crossorigin="anonymous"></script> | ||
|
||
<!-- Custom Javascript --> | ||
<script src="./index.js"></script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
$(document).ready(function(){ | ||
|
||
// banner owl carousel | ||
$("#banner-area .owl-carousel").owlCarousel({ | ||
dots: true, | ||
items: 1 | ||
}); | ||
|
||
// top sale owl carousel | ||
$("#top-sale .owl-carousel").owlCarousel({ | ||
loop: true, | ||
nav: true, | ||
dots: false, | ||
responsive : { | ||
0: { | ||
items: 1 | ||
}, | ||
600: { | ||
items: 3 | ||
}, | ||
1000 : { | ||
items: 5 | ||
} | ||
} | ||
}); | ||
|
||
}); |
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* top sale template */ | ||
|
||
#top-sale{ | ||
.owl-carousel .item .product a{ | ||
overflow: hidden; | ||
} | ||
|
||
.owl-carousel .item .product img{ | ||
transition: transform .5s ease; | ||
} | ||
|
||
.owl-carousel .item .product img:hover{ | ||
transform: scale(1.1); | ||
} | ||
|
||
.owl-carousel .owl-nav button{ | ||
position: absolute; | ||
top: 30%; | ||
outline: none; | ||
} | ||
|
||
.owl-carousel .owl-nav button.owl-prev{ | ||
left: 0; | ||
} | ||
|
||
.owl-carousel .owl-nav button.owl-prev span, | ||
.owl-carousel .owl-nav button.owl-next span{ | ||
font-size: 35px; | ||
color: $color-primary; | ||
padding: 0 1rem; | ||
} | ||
|
||
.owl-carousel .owl-nav button.owl-prev span{ | ||
margin-left: -4rem; | ||
} | ||
|
||
.owl-carousel .owl-nav button.owl-next{ | ||
right: 0; | ||
} | ||
|
||
.owl-carousel .owl-nav button.owl-next span{ | ||
margin-right: -4rem; | ||
} | ||
|
||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.