feat: improved 404

This commit is contained in:
antifallobst 2023-10-03 01:22:50 +02:00
parent b730d0d595
commit 069504da25
Signed by: antifallobst
GPG Key ID: 2B4F402172791BAF
1 changed files with 11 additions and 2 deletions

View File

@ -3,6 +3,15 @@ use yew::prelude::*;
#[function_component]
pub fn NotFound() -> Html {
html! {
<h1>{"404 - Not Found"}</h1>
<div class="content">
<div class="center-x">
<p class="content-box-heading">{"Ooops"}</p>
<div class="content-box-data">
<p>{
"This page wasn't found :/"
}</p>
</div>
</div>
</div>
}
}
}