Compare commits

..

No commits in common. "6394e16a45ec49b8919ed6e0522bff85f27f2cf3" and "baed80cac6985f5df323d0740c4ceafb1c830220" have entirely different histories.

3 changed files with 1 additions and 53 deletions

View file

@ -2,10 +2,7 @@
// for information about these interfaces
declare global {
namespace App {
export interface Error {
status: number;
message: string;
}
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface Platform {}

View file

@ -3,10 +3,6 @@ export async function handle({ event, resolve }) {
return response;
}
export async function handleFetch({ request, fetch }) {
return fetch(request);
}
export async function handleError({ error, event, status, message }) {
console.error(error)
return {

View file

@ -1,45 +0,0 @@
<script>
import { page } from '$app/stores';
</script>
<div id='container'>
<div class="wrapper">
<p id="status">{$page.status}</p>
<p id="message">{$page.error.message}</p>
</div>
</div>
<style>
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
#container {
background-image: url(/splash.webp);
background-size: cover;
display: grid;
place-content: center;
height: 100dvh;
width: 100dvw;
z-index: 99;
position: absolute;
font-size: 24px;
font-family: monospace;
}
.wrapper {
background: transparent;
display: flex;
backdrop-filter: blur(5px);
border-radius: 10px;
border: 1px solid black;
}
#status {
border-right: 1px solid black;
}
p {
padding: 20px;
}
</style>