working slider

This commit is contained in:
overplayed 2025-01-31 18:46:21 -05:00
parent 92051441b6
commit 06b86fb0f6
1 changed files with 7 additions and 14 deletions

View File

@ -1,13 +1,3 @@
<?php
/**
* Main Layout
*
* This file serves as the primary layout structure, including the header, footer, and optionally,
* the hero section.
*/
?>
<!DOCTYPE html>
<html lang="en">
<head>
@ -17,10 +7,6 @@
<?php $this->render('layouts/header', $data); ?>
<?php $this->render('partials/navbar', $data); ?>
<?php if (!isset($showHero) || $showHero): ?>
<?php $this->render('partials/hero', $data); ?>
<?php endif; ?>
<div class="container">
<div class="row">
<div class="col-md-3">
@ -31,7 +17,14 @@
<?php echo $content ?? ''; ?>
</div>
</div>
<div class="row">
<div class="col-md-9">
<?php $this->render('partials/contact_form', $data); ?>
</div>
</div>
</div>
<?php $this->render('layouts/footer', $data); ?>
</body>