We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bc0ead commit daee95fCopy full SHA for daee95f
frontend/routes/_error.tsx
@@ -17,13 +17,18 @@ export default function Error({ error }: { error: unknown }) {
17
/>
18
<div class="w-full overflow-x-hidden relative flex justify-between flex-col flex-wrap">
19
<div class="flex-top">
20
- <header class="text-center px-8 py-[10vh]">
+ <header class="text-center px-8 py-[15vh]">
21
<h1 class="font-extrabold text-5xl leading-10 tracking-tight text-gray-900">
22
{error.status}
23
</h1>
24
<h2 class="mt-4 sm:mt-5 font-light text-2xl text-center leading-tight text-gray-900">
25
{error.message}
26
</h2>
27
+ {error.status === 404 && (
28
+ <a class="button-primary mt-4" href="/">
29
+ Get back to safety
30
+ </a>
31
+ )}
32
</header>
33
</div>
34
0 commit comments