1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-08-15 11:14:26 +02:00

Added 404 page

This commit is contained in:
Andrew Davis
2018-09-02 16:46:49 -05:00
parent fee7b398ef
commit 7580f98928
3 changed files with 31 additions and 0 deletions

View File

@@ -218,3 +218,22 @@ button:hover .icon svg {
from {left: -300px; opacity: 0}
to {left: 0; opacity: 1}
}
.logo-404 {
max-width: 200px;
max-height: 200px;
margin: 0 auto;
display: block;
}
.logo-404 svg {
max-width: 200px;
max-height: 200px;
}
.toc-404 {
max-width: 250px;
margin: 0 auto;
}
.message-404 {
font-size: 2em;
margin: 0 auto;
text-align: center;
}

View File

@@ -0,0 +1,11 @@
<?php partial('header', ['title' => 'PHP Apprentice']) ?>
<div class="container center">
<a href="/" class="logo-404"><?= icon('elephant') ?></a>
<p class="message-404">Whoops! The page could not be found.</p>
<div class="toc-404">
<?php partial('table_of_contents') ?>
</div>
</div>
<?php partial('footer') ?>