fix: fast fix for 400/404 errors pages

This commit is contained in:
Yanislav Igonin 2021-10-16 18:06:56 +03:00
parent a98d4f1ceb
commit 993ca5e614
4 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
.error-image-link { .error-image-link {
max-height: 200px; max-width: 200px;
transition: 0.2s; transition: 0.2s;
} }
.error-image-link:hover { .error-image-link:hover {
max-height: 300px; max-width: 300px;
} }
.error-image { .error-image {
height: 100%; width: 100%;
} }

View File

@ -11,7 +11,7 @@
</head> </head>
<body> <body>
<div class="h-100 d-flex justify-content-center align-items-center flex-column"> <div class="vh-100 d-flex justify-content-center align-items-center flex-column">
<h1>400</h1> <h1>400</h1>
<h1 class="text-center">{{ .Message }}</h1> <h1 class="text-center">{{ .Message }}</h1>
<a href="/" class="error-image-link"> <a href="/" class="error-image-link">

View File

@ -11,7 +11,7 @@
</head> </head>
<body> <body>
<div class="h-100 d-flex justify-content-center align-items-center flex-column"> <div class="vh-100 d-flex justify-content-center align-items-center flex-column">
<h1>404</h1> <h1>404</h1>
<h1 class="text-center">PAGE NOT FOUND</h1> <h1 class="text-center">PAGE NOT FOUND</h1>
<a href="/" class="error-image-link"> <a href="/" class="error-image-link">

View File

@ -11,7 +11,7 @@
</head> </head>
<body> <body>
<div class="h-100 d-flex justify-content-center align-items-center flex-column"> <div class="vh-100 d-flex justify-content-center align-items-center flex-column">
<h1>500</h1> <h1>500</h1>
<h1 class="text-center">SOMETHING IS BROKEN</h1> <h1 class="text-center">SOMETHING IS BROKEN</h1>
<a href="/" class="error-image-link"> <a href="/" class="error-image-link">