use yew::prelude::*; use yew::Component; use yew::ShouldRender; pub struct PageNotFound; impl Component for PageNotFound { type Message = (); type Properties = (); fn create(_props: Self::Properties, _link: ComponentLink) -> Self { Self } fn view(&self) -> Html { html! {

{ "Page not found" }

{ "Page page does not seem to exist" }

} } fn update(&mut self, _msg: Self::Message) -> ShouldRender { false } fn change(&mut self, _props: Self::Properties) -> ShouldRender { false } }