mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-27 09:31:21 +00:00
feat: error page and og image
This commit is contained in:
parent
243b91bd38
commit
d63bee294b
2 changed files with 13 additions and 2 deletions
|
@ -12,14 +12,14 @@
|
||||||
<meta name="msapplication-TileColor" content="#da532c" />
|
<meta name="msapplication-TileColor" content="#da532c" />
|
||||||
<meta name="theme-color" content="#ffffff" />
|
<meta name="theme-color" content="#ffffff" />
|
||||||
<title>hellob.art - home of bart van der braak</title>
|
<title>hellob.art - home of bart van der braak</title>
|
||||||
<meta property="twitter:image" content="%sveltekit.assets%/og.png" />
|
<meta property="twitter:image" content="https://hellob.art/og.png" />
|
||||||
<meta property="twitter:card" content="summary_large_image" />
|
<meta property="twitter:card" content="summary_large_image" />
|
||||||
<meta property="twitter:title" content="hellob.art - home of bart van der braak" />
|
<meta property="twitter:title" content="hellob.art - home of bart van der braak" />
|
||||||
<meta
|
<meta
|
||||||
property="twitter:description"
|
property="twitter:description"
|
||||||
content="Personal website of Bart van der Braak showcasing milestones, tools and ideas."
|
content="Personal website of Bart van der Braak showcasing milestones, tools and ideas."
|
||||||
/>
|
/>
|
||||||
<meta property="og:image" content="%sveltekit.assets%/og.png" />
|
<meta property="og:image" content="https://hellob.art/og.png" />
|
||||||
<meta property="og:title" content="hellob.art - home of bart van der braak" />
|
<meta property="og:title" content="hellob.art - home of bart van der braak" />
|
||||||
<meta
|
<meta
|
||||||
property="og:description"
|
property="og:description"
|
||||||
|
|
11
src/routes/+error.svelte
Normal file
11
src/routes/+error.svelte
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<script lang="ts">
|
||||||
|
import { page } from '$app/stores';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<svelte:head>
|
||||||
|
<title>hellob.art — {$page.error?.message.toLowerCase() || 'error'}</title>
|
||||||
|
</svelte:head>
|
||||||
|
|
||||||
|
<div class="h-screen flex justify-center items-center">
|
||||||
|
<h2 class="text-3xl font-bold mb-8">{$page.error?.message || 'An unknown error occurred.'}</h2>
|
||||||
|
</div>
|
Loading…
Reference in a new issue