fix: misc fixes

This commit is contained in:
afn
2022-10-31 22:07:52 -04:00
parent abb2cbc223
commit 963e78a685
10 changed files with 62 additions and 46 deletions

View File

@@ -1,37 +1,35 @@
<script lang="ts">
import Navigation from '$lib/components/atoms/NavButton.svelte';
import { page } from '$app/stores';
import Navigation from '$lib/components/atoms/NavButton.svelte';
import { page } from '$app/stores';
$: status = $page.status;
$: status = $page.status;
</script>
<section class="error">
<h1>{status}</h1>
{#if status == 500}
<p>
{$page.error.message}
</p>
{:else if status == 404}
<p>
That page received a cease and desist letter from a multi-billion dollar tech company.
</p>
<br/>
<h1>{status}</h1>
{#if status == 500}
<p>
{$page.error.message}
</p>
{:else if status == 404}
<p>That page received a cease and desist letter from a multi-billion dollar tech company.</p>
<br />
<Navigation href="/" is_selected={() => true}>Home</Navigation>
{/if}
{/if}
</section>
<style>
.error {
padding-top: 5rem;
text-align: center;
}
.error {
padding-top: 5rem;
text-align: center;
}
h1 {
font-size: 10rem;
color: var(--accent-color);
}
p {
font-size: 5ch;
color: var(--white);
}
h1 {
font-size: 10rem;
color: var(--accent-color);
}
p {
font-size: 5ch;
color: var(--white);
}
</style>