From 069504da257c4f1d5642f7cffa5509c340b4af6a Mon Sep 17 00:00:00 2001 From: antifallobst Date: Tue, 3 Oct 2023 01:22:50 +0200 Subject: [PATCH] feat: improved 404 --- src/content/error.rs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/content/error.rs b/src/content/error.rs index 902ec97..fb84c4b 100644 --- a/src/content/error.rs +++ b/src/content/error.rs @@ -3,6 +3,15 @@ use yew::prelude::*; #[function_component] pub fn NotFound() -> Html { html! { -

{"404 - Not Found"}

+
+
+

{"Ooops"}

+
+

{ + "This page wasn't found :/" + }

+
+
+
} -} \ No newline at end of file +}