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