diff --git a/typhon-webapp/src/lib.rs b/typhon-webapp/src/lib.rs index 0433a9a8..362ecb6d 100644 --- a/typhon-webapp/src/lib.rs +++ b/typhon-webapp/src/lib.rs @@ -409,24 +409,11 @@ pub fn view_log(log: String) -> Node { fn header(url: &Url, model: &Model) -> Node { header![ - main![ - a![ - raw![" - - - - -image/svg+xml - - - - - -"], - span!["Typhon"], - attrs! { At::Href => Urls::new(url).home() } - ] - ], + main![a![ + raw![std::str::from_utf8(include_bytes!("./logo.svg")).unwrap()], + span!["Typhon"], + attrs! { At::Href => Urls::new(url).home() } + ]], nav![a!["Home", attrs! { At::Href => Urls::new(url).home() }],], if model.admin { button!["Logout", ev(Ev::Click, |_| Msg::Logout)] diff --git a/typhon-webapp/src/logo.svg b/typhon-webapp/src/logo.svg new file mode 100644 index 00000000..bc98965a --- /dev/null +++ b/typhon-webapp/src/logo.svg @@ -0,0 +1,12 @@ + + + + + +image/svg+xml + + + + + +