fix: error page (#69)

This commit is contained in:
zalnars 2023-02-11 21:12:02 +01:00 committed by GitHub
parent 8da3fe864d
commit 368b2c9ee5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -11,7 +11,7 @@
<section class="error">
<h1>{status}</h1>
{#if status == 404}
<p>That page received a cease and desist letter from a multi-billion dollar tech company.</p>
<p>This page received a cease and desist letter from a multi-billion dollar tech company.</p>
<br />
<Navigation href="/" is_selected={() => true}>Home</Navigation>
{:else}
@ -25,14 +25,22 @@
.error {
padding-top: 5rem;
text-align: center;
height: 100vh;
display: flex;
gap: 12px;
flex-direction: column;
justify-content: center;
}
h1 {
font-size: 10rem;
color: var(--accent-color);
margin-bottom: 24px;
}
p {
font-size: 5ch;
color: var(--white);
line-height: 3rem;
}
</style>

View File

@ -14,7 +14,7 @@ const config = {
}),
env: {
publicPrefix: 'RV'
},
}
}
};