WizdomWeb/resources/views/pages/404.php

32 lines
1.1 KiB
PHP

<?php
// File: 404.php
// Version: 1.0
// Purpose: Custom 404 error page with Wizdom branding.
use WizdomNetworks\WizeWeb\Core\View;
ob_start();
?>
<section id="error-404" class="d-flex flex-column justify-content-center align-items-center text-center py-5" style="min-height: 100vh;">
<div class="container" data-aos="fade-up">
<div class="row justify-content-center mb-4">
<div class="col-lg-8">
<img src="/assets/img/404-toronto-traffic.png" class="img-fluid mb-4" alt="Toronto traffic jam illustration" style="max-height: 400px;">
<h1 class="display-4 fw-bold">404</h1>
<p class="lead">
This section is closed — just like every major intersection in Toronto this summer.<br>
Relying on <a href="/" class="fw-bold text-decoration-underline">Wizdom</a> is often the best way forward.
</p>
<a href="/" class="btn btn-primary mt-3 px-4">Take Me Home</a>
</div>
</div>
</div>
</section>
<?php
$html = ob_get_clean();
View::render('layouts/arsha', ['content' => $html, 'hideNavbar' => true]);
?>