diff options
Diffstat (limited to 'src/pages/not_found.rs')
| -rw-r--r-- | src/pages/not_found.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pages/not_found.rs b/src/pages/not_found.rs new file mode 100644 index 0000000..7b5c127 --- /dev/null +++ b/src/pages/not_found.rs @@ -0,0 +1,6 @@ +use leptos::{IntoView, component, prelude::ElementChild, view}; + +#[component] +pub fn NotFound() -> impl IntoView { + view! { <h1>"Uh oh!" <br /> "We couldn't find that page!"</h1> } +} |
