replace hero section with carousel for improved visual presentation and user engagement

This commit is contained in:
Mark 2025-05-15 09:42:40 +01:00
parent 4b8a318078
commit 02696c2cd7

View File

@ -1,41 +1,52 @@
<div class="hero-wrap js-fullheight">
<div class="home-slider js-fullheight owl-carousel">
<div class="slider-item js-fullheight" style="background-image:url(images/hero-1.jpg);">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text js-fullheight align-items-center justify-content-center">
<div class="col-md-10 text-center ftco-animate">
<div class="col text-center ftco-animate banner-logo">
<a href="<?= $URLcorection ?>index" class="text-center">
<img src="<?= $URLcorection ?>images/Warmseal-White-Transparent.svg" class="" alt="Warmseal Logo">
</a>
</div>
<div class="text w-100">
<h1 class="mb-4">Dedicated to providing the highest quality roofing services</h1>
<p><a href="<?= $URLcorection ?>contact" class="btn btn-primary">Book a Free Quote</a></p>
</div>
</div>
</div>
</div>
</div>
<div class="slider-item js-fullheight" style="background-image:url(images/hero-2.jpg);">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text js-fullheight align-items-center justify-content-center">
<div class="col-md-8 text-center ftco-animate">
<div class="col text-center ftco-animate banner-logo">
<a href="<?= $URLcorection ?>index" class="text-center">
<img src="<?= $URLcorection ?>images/Warmseal-White-Transparent.svg" class="" alt="Warmseal Logo">
</a>
</div>
<div class="text w-100">
<h1 class="mb-4">Quality roofing at a affordable price</h1>
<p><a href="<?= $URLcorection ?>contact" class="btn btn-primary">Book a Free Quote</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="carouselExampleIndicators" class="carousel slide js-fullheight" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
</ol>
<div class="carousel-inner js-fullheight">
<div class="carousel-item active js-fullheight" style="background-image:url(images/hero-1.jpg);">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text js-fullheight align-items-center justify-content-center">
<div class="col-md-10 text-center ftco-animate">
<div class="col text-center ftco-animate banner-logo">
<a href="<?= $URLcorection ?>index" class="text-center">
<img src="<?= $URLcorection ?>images/Warmseal-White-Transparent.svg" class="" alt="Warmseal Logo">
</a>
</div>
<div class="text w-100">
<h1 class="mb-4">Dedicated to providing the highest quality roofing services</h1>
<p><a href="<?= $URLcorection ?>contact" class="btn btn-primary">Book a Free Quote</a></p>
</div>
</div>
</div>
</div>
</div>
<div class="carousel-item js-fullheight" style="background-image:url(images/hero-2.jpg);">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text js-fullheight align-items-center justify-content-center">
<div class="col-md-8 text-center ftco-animate">
<div class="col text-center ftco-animate banner-logo">
<a href="<?= $URLcorection ?>index" class="text-center">
<img src="<?= $URLcorection ?>images/Warmseal-White-Transparent.svg" class="" alt="Warmseal Logo">
</a>
</div>
<div class="text w-100">
<h1 class="mb-4">Quality roofing at a affordable price</h1>
<p><a href="<?= $URLcorection ?>contact" class="btn btn-primary">Book a Free Quote</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-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-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</section>