update err list, styles

This commit is contained in:
matthieu42morin 2024-04-29 15:42:29 +02:00
parent 4e64c1b2f1
commit b0b463bea6
1 changed files with 11 additions and 7 deletions

View File

@ -3,7 +3,7 @@
</script> </script>
{#if $page.status === 404} {#if $page.status === 404}
<div class="flex flex-col items-center m-4 py-8"> <div class="flex flex-col items-center m-4 py-8 space-y-8">
<div <div
class="relative mb-[3.33vh] flex h-24 w-24 md:h-64 md:w-64 items-center justify-center bg-surface-800" class="relative mb-[3.33vh] flex h-24 w-24 md:h-64 md:w-64 items-center justify-center bg-surface-800"
> >
@ -15,13 +15,18 @@
<h1 class="h1 absolute leading-[5rem] text-white">404</h1> <h1 class="h1 absolute leading-[5rem] text-white">404</h1>
</div> </div>
<h2 class="h4 mb-2"> <h4 class="flex text-center justify-center w-1/2">
? My God, what are you doing here, this page doesn't exist and so on and so on. ? My God, what are you doing here, this page doesn't exist and so on and so on.
</h2> </h4>
<p> <p>
This site either never existed or just suddenly committed disappearance from this This site either never existed or just suddenly committed disappearance from this
universe. universe after I changed something.
</p> </p>
<h5>Maybe try one of these links?</h5>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/projects">Projects</a></li>
</ul>
</div> </div>
{:else} {:else}
<h2>{$page.status}</h2> <h2>{$page.status}</h2>
@ -32,8 +37,7 @@
<p><strong>Sorry!</strong> A grave error has occured. Maybe try one of these links?</p> <p><strong>Sorry!</strong> A grave error has occured. Maybe try one of these links?</p>
<ul> <ul>
<li><a href="/">Home</a></li> <li><a class="link link-accent" href="/">Home</a></li>
<li><a href="/blog">Blog</a></li> <li><a class="link link-accent" href="/projects">Projects</a></li>
<li><a href="/projects">Projects</a></li>
</ul> </ul>
{/if} {/if}