mirror of
https://github.com/JonasunderscoreJones/blog.jonasjones.dev.git
synced 2025-10-22 18:49:19 +02:00
Changed name of Error file
This commit is contained in:
parent
6fa354d1d8
commit
ff072e35a6
2 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
import Home from './routes/Home.svelte';
|
||||
import NotFound from './routes/NotFound.svelte';
|
||||
import NotFound from './routes/Error.svelte';
|
||||
import Dashboard from './routes/Dashboard.svelte';
|
||||
import Post from './routes/Post.svelte';
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
<script lang="ts">
|
||||
export let errorCode: {status: number, message: string} = {status: 404, message: "Not Found"};
|
||||
</script>
|
||||
|
||||
<div id="error">
|
||||
<h1 id="code">404</h1>
|
||||
<h1 id="msg">Not Found</h1>
|
||||
<h1 id="code">{errorCode.status}</h1>
|
||||
<h1 id="msg">{errorCode.message}</h1>
|
||||
<p>This post doesn't exist or has been deleted.</p>
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue