Refactor code structure for improved readability and maintainability

This commit is contained in:
Gary 2025-04-28 12:50:26 +01:00
parent d2cd9ae6dc
commit 44886b1c31
4 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,7 @@
$URlsorrection = ""; $URlsorrection = "";
$PageTitle = "About Us"; $PageTitle = "About Us";
$Page = "about-us";
include_once $URlsorrection . "includes/header.php"; include_once $URlsorrection . "includes/header.php";
include_once $URlsorrection . "includes/nav.php"; include_once $URlsorrection . "includes/nav.php";
include_once $URlsorrection . "includes/banner.php"; include_once $URlsorrection . "includes/banner.php";

BIN
images/about-us.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 KiB

View File

@ -1,4 +1,4 @@
<div class="hero-wrap hero-wrap-2" style="background-image: url('images/bg_2.jpg');" data-stellar-background-ratio="0.5"> <div class="hero-wrap hero-wrap-2" style="background-image: url('images/<?=$Page?>.jpg');" data-stellar-background-ratio="0.5">
<div class="overlay"></div> <div class="overlay"></div>
<div class="container"> <div class="container">
<div class="row no-gutters slider-text align-items-end"> <div class="row no-gutters slider-text align-items-end">

View File

@ -47,8 +47,8 @@
<h2 class="ftco-heading-2">Contact information</h2> <h2 class="ftco-heading-2">Contact information</h2>
<div class="block-23 mb-3"> <div class="block-23 mb-3">
<ul> <ul>
<li><a href="#"><span class="icon fa fa-phone"></span><span class="text">+2 392 3929 210</span></a></li> <li><a href="tel:07458190308"><span class="icon fa fa-phone"></span><span class="text">07458190308</span></a></li>
<li><a href="#"><span class="icon fa fa-paper-plane"></span><span class="text">info@yourdomain.com</span></a></li> <li><a href="mailto:enquiries@warmseal-roofing.co.uk"><span class="icon fa fa-at"></span><span class="text">enquiries@warmseal-roofing.co.uk</span></a></li>
</ul> </ul>
</div> </div>
</div> </div>