feat: add link on error page

This commit is contained in:
Yanislav Igonin 2021-09-05 16:02:17 +03:00
parent 9ae5f37aea
commit a37b8e1bae
2 changed files with 14 additions and 7 deletions

View File

@ -1,9 +1,14 @@
.error-image {
.error-image-link {
max-width: 50%;
max-height: 50%;
transition: 0.2s;
}
.error-image:hover {
.error-image-link:hover {
max-width: 60%;
max-height: 60%;
}
.error-image {
width: 100%;
height: 100%;
}

View File

@ -13,11 +13,13 @@
<div class="h-100 d-flex justify-content-center align-items-center flex-column">
<h1>404</h1>
<h1>PAGE NOT FOUND</h1>
<a href="/" class="error-image-link">
<img
class="error-image"
src="/static/images/errors/404.png"
alt="All broken"
alt="Not found"
>
</a>
</div>
</body>