Add images to error pages

This commit is contained in:
Fred Boniface 2022-10-07 13:40:09 +01:00
parent 593a684ae8
commit 2f85fe1fd9
3 changed files with 20 additions and 1 deletions

View File

@ -14,7 +14,12 @@
<body>
<h1 class="page-title">Access Denied</h1>
<div class="title-image">
<img
<picture>
<source srcset="/images/error-pages/denied.jxl">
<source srcset="/images/error-pages/denied.webp">
<img src="/images/error-pages/denied.png" alt="Denied">
</picture>
</div>
<div class="page-main-content">
<p>
I don't know where you are trying to go, but my server has decided

View File

@ -13,6 +13,13 @@
</head>
<body>
<h1 class="page-title">Not Found</h1>
<div class="title-image">
<picture>
<source srcset="/images/error-pages/not-found.jxl">
<source srcset="/images/error-pages/not-found.webp">
<img src="/images/error-pages/not-found.png" alt="Not Found">
</picture>
</div>
<div class="page-main-content">
<p>
I don't know where you are trying to go, but wherever it is, it

View File

@ -11,6 +11,13 @@
<body>
<h1 class="page-title">Server Error</h1>
<div class="title-image">
<picture>
<source srcset="/images/error-pages/denied.jxl">
<source srcset="/images/error-pages/denied.webp">
<img src="/images/error-pages/denied.png" alt="Server Error">
</picture>
</div>
<div class="page-main-content">
<p>
Sorry, there's been an error at my end.