{{ include('partials/main.html.twig') }}
<head>
{{ include('partials/title-meta.html.twig', {title: 'Carousel'}) }}
{{ include('partials/head-css.html.twig') }}
</head>
{{ include('partials/body.html.twig') }}
<!-- Begin page -->
<div id="layout-wrapper">
{{ include('partials/menu.html.twig') }}
<!-- ============================================================== -->
<!-- Start right Content here -->
<!-- ============================================================== -->
<div class="main-content">
<div class="page-content">
<div class="container-fluid">
{{ include('partials/page-title.html.twig', {pagetitle: 'Components', title: 'Carousel'}) }}
<div class="row">
<div class="col-xl-6">
<div class="card">
<div class="card-header">
<h4 class="card-title">Slides only</h4>
<p class="card-title-desc">Here’s a carousel with slides only.
Note the presence of the <code>.d-block</code>
and <code>.img-fluid</code> on carousel images
to prevent browser default image alignment.</p>
</div><!-- end card header -->
<div class="card-body">
<div id="carouselExampleSlidesOnly" class="carousel slide" data-bs-ride="carousel" data-bs-interval="3000">
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="d-block img-fluid mx-auto" src="/images/small/img-1.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block img-fluid mx-auto" src="/images/small/img-2.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block img-fluid mx-auto" src="/images/small/img-3.jpg" alt="Third slide">
</div>
</div>
</div><!-- end carousel -->
</div><!-- end card-body -->
</div><!-- end card -->
</div><!-- end col -->
<div class="col-xl-6">
<div class="card">
<div class="card-header">
<h4 class="card-title">With Controls</h4>
<p class="card-title-desc">Adding in the previous and next controls.</p>
</div><!-- end card header -->
<div class="card-body">
<div id="carouselExampleControls" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="d-block img-fluid mx-auto" src="/images/small/img-4.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block img-fluid mx-auto" src="/images/small/img-5.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block img-fluid mx-auto" src="/images/small/img-6.jpg" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleControls" role="button" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div><!-- end carousel -->
</div><!-- end card-body -->
</div><!-- end card -->
</div><!-- end col -->
</div> <!-- end row -->
<div class="row">
<div class="col-xl-6">
<div class="card">
<div class="card-header">
<h4 class="card-title">With indicators</h4>
<p class="card-title-desc">You can also add the indicators to the
carousel, alongside the controls, too.</p>
</div><!-- end card header -->
<div class="card-body">
<div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
<ol class="carousel-indicators">
<li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active"></li>
<li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1"></li>
<li data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img class="d-block img-fluid mx-auto" src="/images/small/img-3.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block img-fluid mx-auto" src="/images/small/img-2.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block img-fluid mx-auto" src="/images/small/img-1.jpg" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div><!-- end carousel -->
</div><!-- end card-body -->
</div><!-- end card -->
</div> <!-- end col -->
<div class="col-xl-6">
<div class="card">
<div class="card-header">
<h4 class="card-title">With captions</h4>
<p class="card-title-desc">Add captions to your slides easily with the <code>.carousel-caption</code> element within
any <code>.carousel-item</code>.</p>
</div><!-- end card header -->
<div class="card-body">
<div id="carouselExampleCaption" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img src="/images/small/img-7.jpg" alt="..." class="d-block img-fluid mx-auto">
<div class="carousel-caption d-none d-md-block text-white-50">
<h5 class="text-white">First slide label</h5>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
</div>
<div class="carousel-item">
<img src="/images/small/img-5.jpg" alt="..." class="d-block img-fluid mx-auto">
<div class="carousel-caption d-none d-md-block text-white-50">
<h5 class="text-white">Second slide label</h5>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
</div>
<div class="carousel-item">
<img src="/images/small/img-4.jpg" alt="..." class="d-block img-fluid mx-auto">
<div class="carousel-caption d-none d-md-block text-white-50">
<h5 class="text-white">Third slide label</h5>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleCaption" role="button" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleCaption" role="button" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div><!-- end carousel -->
</div><!-- end card-body -->
</div><!-- end card -->
</div> <!-- end col -->
</div> <!-- end row -->
<div class="row">
<div class="col-xl-6">
<div class="card">
<div class="card-header">
<h4 class="card-title">Crossfade</h4>
<p class="card-title-desc">Add <code>.carousel-fade</code> to your carousel to animate slides with a fade transition instead of a slide.</p>
</div><!-- end card header -->
<div class="card-body">
<div id="carouselExampleFade" class="carousel slide carousel-fade" data-ride="carousel">
<ol class="carousel-indicators">
<li data-bs-target="#carouselExampleFade" data-bs-slide-to="0" class="active"></li>
<li data-bs-target="#carouselExampleFade" data-bs-slide-to="1"></li>
<li data-bs-target="#carouselExampleFade" data-bs-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block img-fluid mx-auto" src="/images/small/img-1.jpg" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block img-fluid mx-auto" src="/images/small/img-2.jpg" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block img-fluid mx-auto" src="/images/small/img-3.jpg" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleFade" role="button" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleFade" role="button" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div><!-- end carousel -->
</div><!-- end card-body -->
</div><!-- end card -->
</div> <!-- end col -->
</div><!-- end row -->
</div>
<!-- container-fluid -->
</div>
<!-- End Page-content -->
{{ include('partials/footer.html.twig') }}
</div>
<!-- end main content-->
</div>
<!-- END layout-wrapper -->
{{ include('partials/right-sidebar.html.twig') }}
{{ include('partials/vendor-scripts.html.twig') }}
<script src="/js/app.js"></script>
</body>
</html>