404 page ui
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import AppBar from "$lib/ui/appbar/AppBar.svelte"
|
import AppBar from "$lib/ui/appbar/AppBar.svelte"
|
||||||
|
import Button from "$lib/ui/Button.svelte"
|
||||||
import { getI18n } from "$lib/i18n";
|
import { getI18n } from "$lib/i18n";
|
||||||
|
|
||||||
const t = getI18n().errorPage;
|
const t = getI18n().errorPage;
|
||||||
@@ -13,8 +14,10 @@
|
|||||||
|
|
||||||
<AppBar title={t.title} >
|
<AppBar title={t.title} >
|
||||||
</AppBar>
|
</AppBar>
|
||||||
<div class="p-content">
|
<div class="p-content error-page__content">
|
||||||
<p>{@html t.message}</p>
|
<p class="error-page__text" >{@html t.message}</p>
|
||||||
<a href="/">{t.return}</a>
|
<div class="error-page__button-container">
|
||||||
|
<Button class="error-page__button">{t.return}</Button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
+17
-1
@@ -44,4 +44,20 @@ body
|
|||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
||||||
.error-page__link
|
.error-page__link
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
||||||
|
.error-page__button
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
|
||||||
|
.error-page__text
|
||||||
|
margin-top: 12px;
|
||||||
|
|
||||||
|
.error-page__button-container
|
||||||
|
position: absolute;
|
||||||
|
bottom: 16px;
|
||||||
|
width: calc(100% - 32px)
|
||||||
|
max-width: 450px;
|
||||||
Reference in New Issue
Block a user