summary refs log tree commit diff stats
path: root/src/pages/not_found.rs
blob: 2adb598e3dd6358585ba68725295f8311885a882 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
use leptos::{IntoView, component, prelude::ElementChild, view};

use crate::components::site_header::SiteHeader;

#[component]
pub fn NotFound() -> impl IntoView {
    view! {
        <SiteHeader logo=icondata_io::IoRoseSharp back_location="/" name="Not Found" />
        <h1>"Uh oh!" <br /> "We couldn't find that page!"</h1>
    }
}