use yew::prelude::*;

pub struct PageNotFound;

impl Component for PageNotFound {
  type Message = ();
  type Properties = ();

  fn create(_ctx: &Context<Self>) -> Self {
    Self
  }

  fn view(&self, _ctx: &Context<Self>) -> Html {
    html! {
      <div style="">
        <img loading="eager" alt="huh" class="image is-96x96" src="404.png" />
        <h1 class="title">{ "what" }</h1>
      </div>
    }
  }
}
