Part on routers finished

This commit is contained in:
Patryk Hegenberg 2022-12-12 21:12:05 +01:00
parent a1e1a43d81
commit 8bb5f373f8
8 changed files with 68 additions and 9 deletions

12
views/404.php Normal file
View file

@ -0,0 +1,12 @@
<?php require ('partials/head.php') ?>
<?php require ('partials/nav.php') ?>
<?php require ('partials/banner.php') ?>
<main>
<div class="mx-auto max-w-7xl py-6 sm:px-6 lg:px-8">
<h1 class="text-2xl font-bold">Sorry. Page Not Found.</h1>
<p class="mt-4">
<a href="/" class="text-blue underline">Go back home.</a>
</p>
</div>
</main>
<?php require ('partials/footer.php') ?>