feat: improved 404
This commit is contained in:
parent
b730d0d595
commit
069504da25
|
@ -3,6 +3,15 @@ use yew::prelude::*;
|
||||||
#[function_component]
|
#[function_component]
|
||||||
pub fn NotFound() -> Html {
|
pub fn NotFound() -> Html {
|
||||||
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>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue