forked from s1lvax/route
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error page for user not found / fix s1lvax#17
- Loading branch information
s1lvax
committed
Oct 12, 2024
1 parent
383ea65
commit 7840856
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<script lang="ts"> | ||
import * as Card from '$lib/components/ui/card'; | ||
</script> | ||
|
||
<div class="flex min-h-screen items-center justify-center p-6"> | ||
<div class="flex flex-col items-center space-y-4"> | ||
<img src="https://http.cat/404.jpg" alt="404 cat" class="w-full max-w-xs" /> | ||
<Card.Root class="w-full max-w-lg"> | ||
<Card.Header class="pb-2"> | ||
<Card.Title class="text-4xl font-bold">User Not Found 🤓</Card.Title> | ||
</Card.Header> | ||
<Card.Content> | ||
<p class="text-sm text-muted-foreground"> | ||
The user you are looking for does not exist. But hey, don’t feel left out! | ||
<span class="font-semibold">Is this you?</span> | ||
<a href="/signup" class="text-blue-600 hover:underline"> Create your account here! </a> | ||
</p> | ||
<p class="mt-4 text-sm text-muted-foreground"> | ||
Or, you know, keep doing whatever you were doing when you stumbled upon this page. 🤷♂️ | ||
</p> | ||
</Card.Content> | ||
</Card.Root> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<script lang="ts"> | ||
import UserNotFoundError from '$lib/components/UserNotFoundError.svelte'; | ||
</script> | ||
|
||
<UserNotFoundError /> |