-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
afc0fb3
commit 201e430
Showing
5 changed files
with
334 additions
and
84 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
new Swiper('.card-wrapper', { | ||
|
||
loop: true, | ||
spaceBetween: 30, | ||
|
||
// If we need pagination | ||
pagination: { | ||
el: '.swiper-pagination', | ||
clickable: true, | ||
dynamicBullets: true | ||
}, | ||
|
||
// Navigation arrows | ||
navigation: { | ||
nextEl: '.swiper-button-next', | ||
prevEl: '.swiper-button-prev', | ||
}, | ||
|
||
breakpoints:{ | ||
0:{ | ||
slidesPerView: 1 | ||
}, | ||
768:{ | ||
slidesPerView: 2 | ||
}, | ||
1124:{ | ||
slidesPerView: 4 | ||
}, | ||
} | ||
|
||
|
||
}); | ||
|
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 |
---|---|---|
|
@@ -50,7 +50,7 @@ <h5 class="explorar"><a class="nav-link" href="explorer.html">Explorar</a></h5> | |
|
||
|
||
<!-- /header --> | ||
|
||
<!-- | ||
<main class="main mx-auto py-4"> | ||
<div id="carouselExampleIndicators" class="carousel slide"> | ||
<div class="carousel-indicators"> | ||
|
@@ -90,13 +90,53 @@ <h5>Sorriso Real</h5> | |
<span class="visually-hidden">Próximo</span> | ||
</button> | ||
</div> | ||
</main> --> | ||
|
||
<main class="main mx-auto py-4"> | ||
<!-- Swiper --> | ||
<div class="swiper mySwiper"> | ||
<div class="swiper-wrapper"> | ||
<!-- Slide 1 --> | ||
<div class="swiper-slide"> | ||
<a href="explorer.html"> | ||
<img src="./assets/images/series/thechosen.jpg" class="d-block w-100" alt="The Chosen"> | ||
</a> | ||
<div class="swiper-caption"> | ||
<h5>The Chosen</h5> | ||
<p>Uma série sobre Jesus, baseada na bíblia. Jesus chama os apóstolos para segui-lo e pregar o evangelho junto a ele.</p> | ||
</div> | ||
</div> | ||
<!-- Slide 2 --> | ||
<div class="swiper-slide"> | ||
<a href="explorer.html"> | ||
<img src="./assets/images/series/De_Volta_aos_15-cover.jpg" class="d-block w-100" alt="De Volta aos 15"> | ||
</a> | ||
<div class="swiper-caption"> | ||
<h5>De Volta aos 15</h5> | ||
<p>Uma série brasileira de drama adolescente, baseada no romance de Bruna Vieira, sobre Anita, que volta aos 15 anos.</p> | ||
</div> | ||
</div> | ||
<!-- Slide 3 --> | ||
<div class="swiper-slide"> | ||
<a href="explorer.html"> | ||
<img src="./assets/images/series/sorriso.jpg" class="d-block w-100" alt="Sorriso Real"> | ||
</a> | ||
<div class="swiper-caption"> | ||
<h5>Sorriso Real</h5> | ||
<p>Um K-drama sobre um homem rico que odeia sorrisos e sua aproximação inesperada de um romance com sua funcionária.</p> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- Navigation buttons --> | ||
<div class="swipper-slider-button swiper-button-next"></div> | ||
<div class="swipper-slider-button swiper-button-prev"></div> | ||
<!-- Pagination --> | ||
<div class="swiper-pagination"></div> | ||
</div> | ||
</main> | ||
|
||
|
||
|
||
|
||
|
||
|
||
<div class="content"> | ||
<h2 class="t-conteudo">Mais assistidas</h2> | ||
<div class="row text-center"> | ||
|
@@ -287,5 +327,21 @@ <h5 class="card-title">Wandinha</h5> | |
<p>Eduarda Vieira | 2024</p> | ||
</footer> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css"> | ||
|
||
<script src="https://unpkg.com/swiper/swiper-bundle.min.js"></script> | ||
<script> | ||
const swiper = new Swiper('.mySwiper', { | ||
loop: true, | ||
navigation: { | ||
nextEl: '.swiper-button-next', | ||
prevEl: '.swiper-button-prev', | ||
}, | ||
pagination: { | ||
el: '.swiper-pagination', | ||
clickable: true, | ||
}, | ||
}); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.