mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 04:16:38 -04:00
Add 451 page and prettify the 404 page
This commit is contained in:
parent
620c2c983f
commit
e2dcf97961
12 changed files with 38 additions and 3 deletions
20
www/404.php
20
www/404.php
|
@ -1,7 +1,21 @@
|
|||
<?
|
||||
require_once('Core.php');
|
||||
?><?= Template::Header(['title' => 'We couldn’t find that document', 'description' => 'We couldn’t find that document.']) ?>
|
||||
<main class="center">
|
||||
<h1>We couldn’t find that document.</h1>
|
||||
|
||||
?><?= Template::Header(['title' => 'We Couldn’t Find That Document', 'highlight' => '', 'description' => 'We couldn’t find that document.']) ?>
|
||||
<main>
|
||||
<section class="narrow has-hero">
|
||||
<hgroup>
|
||||
<h1>We Couldn’t 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 couldn’t 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() ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue