-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] add bootstrap slider element
- Loading branch information
Showing
3 changed files
with
50 additions
and
2 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
48 changes: 48 additions & 0 deletions
48
dev/templates/parts/content/contentElements/bootstrapSlider.hbs
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,48 @@ | ||
<div id="carousel-178" class="carousel image-slider slide" data-interval="5000" data-ride="carousel"> | ||
<!-- Slider pagination --> | ||
<ol class="carousel-indicators"> | ||
<li data-target="#carousel-178" data-slide-to="0" class="active"></li> | ||
<li data-target="#carousel-178" data-slide-to="1" class=""></li> | ||
<li data-target="#carousel-178" data-slide-to="2" class=""></li> | ||
</ol> | ||
|
||
<!-- Slides --> | ||
<div class="carousel-inner" role="listbox"> | ||
<div class="item active"> | ||
<img src="images/temp-carousel-1.jpg" alt="" title="bootstrap-slider first image" /> | ||
<div class="img-slider__caption"> | ||
<h2 class="img-slider__caption-header">The bootstrap slider is in!</h2> | ||
<p class="img-slider__caption-p">Celebrate the bootstrap slider!</p> | ||
<a href="#" class="img-slider__caption-link">Details</a> | ||
</div> | ||
</div> | ||
|
||
<div class="item"> | ||
<img src="images/temp-carousel-2.jpg" alt="" title="bootstrap-slider second image" /> | ||
<div class="img-slider__caption"> | ||
<h2 class="img-slider__caption-header">The bootstrap slider is in!</h2> | ||
<p class="img-slider__caption-p">Celebrate the bootstrap slider!</p> | ||
<a href="#" class="img-slider__caption-link">Details</a> | ||
</div> | ||
</div> | ||
|
||
<div class="item"> | ||
<img src="images/temp-carousel-3.jpg" alt="" title="bootstrap-slider third image" /> | ||
<div class="img-slider__caption"> | ||
<h2 class="img-slider__caption-header">The bootstrap slider is in!</h2> | ||
<p class="img-slider__caption-p">Celebrate the bootstrap slider!</p> | ||
<a href="#" class="img-slider__caption-link">Details</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Next, Prev Arrows --> | ||
<div class="container carousel-control-wrapper"> | ||
<a class="carousel-control left" href="#carousel-178" role="button" data-slide="prev"> | ||
<span class="swiper-button-prev swiper-button-white"></span> | ||
</a> | ||
<a class="carousel-control right" href="#carousel-178" role="button" data-slide="next"> | ||
<span class="swiper-button-next swiper-button-white"></span> | ||
</a> | ||
</div> | ||
</div> |