Add 451 page and prettify the 404 page

This commit is contained in:
Alex Cabal 2022-07-24 14:12:37 -05:00
parent 620c2c983f
commit e2dcf97961
12 changed files with 38 additions and 3 deletions

View file

@ -1,7 +1,21 @@
<?
require_once('Core.php');
?><?= Template::Header(['title' => 'We couldnt find that document', 'description' => 'We couldnt find that document.']) ?>
<main class="center">
<h1>We couldnt find that document.</h1>
?><?= Template::Header(['title' => 'We Couldnt Find That Document', 'highlight' => '', 'description' => 'We couldnt find that document.']) ?>
<main>
<section class="narrow has-hero">
<hgroup>
<h1>We Couldnt Find That Document</h1>
<h2>This is 404 error.</h2>
</hgroup>
<picture data-caption="Blind Orion Searching for the Rising Sun. Nicolas Poussin, 1658">
<source srcset="/images/blind-orion@2x.avif 2x, /images/blind-orion.avif 1x" type="image/avif"/>
<source srcset="/images/blind-orion@2x.jpg 2x, /images/blind-orion.jpg 1x" type="image/jpg"/>
<img src="/images/blind-orion@2x.jpg" alt="A classical city is aflame as people scramble in the foreground."/>
</picture>
<p>We couldnt find a document at the URL you specified. Did you mistype the URL?</p>
<p>If you arrived here from a link on the Standard Ebooks website, please <a href="/about#editor-in-chief">contact us</a> so that we can fix it.</p>
<p>If you arrived here from a link elsewhere on the web, please contact the site you came from to ask them to fix their link.</p>
</section>
</main>
<?= Template::Footer() ?>