From 7840856858fdc1c983a2078dfe67eb6b36cbe6b5 Mon Sep 17 00:00:00 2001 From: s1lvax Date: Sat, 12 Oct 2024 12:00:50 +0200 Subject: [PATCH] Add error page for user not found / fix #17 --- src/lib/components/UserNotFoundError.svelte | 24 +++++++++++++++++++++ src/routes/[username]/+error.svelte | 5 +++++ 2 files changed, 29 insertions(+) create mode 100644 src/lib/components/UserNotFoundError.svelte create mode 100644 src/routes/[username]/+error.svelte diff --git a/src/lib/components/UserNotFoundError.svelte b/src/lib/components/UserNotFoundError.svelte new file mode 100644 index 0000000..b8a89c6 --- /dev/null +++ b/src/lib/components/UserNotFoundError.svelte @@ -0,0 +1,24 @@ + + +
+
+ 404 cat + + + User Not Found 🤓 + + +

+ The user you are looking for does not exist. But hey, don’t feel left out! + Is this you? + Create your account here! +

+

+ Or, you know, keep doing whatever you were doing when you stumbled upon this page. 🤷‍♂️ +

+
+
+
+
diff --git a/src/routes/[username]/+error.svelte b/src/routes/[username]/+error.svelte new file mode 100644 index 0000000..0b2b739 --- /dev/null +++ b/src/routes/[username]/+error.svelte @@ -0,0 +1,5 @@ + + +