Skip to content

Commit

Permalink
contact update
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Dec 20, 2023
1 parent f3e5262 commit be19a03
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/site/contact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,10 @@ pub async fn contact(State(state): State<super::SiteState>) -> Markup {
let contact = state.contact.clone();

let content = html! {
div class="hero pure-g" {
div class="pure-u-1 pure-u-md-1-3 headshot" {
img src="/assets/img/eric2.webp" alt="An image of Eric Zhu sitting on a table." class="pure-img headshot";
p class="pronouns" { "(they/any)" };
}
div class="pure-u-1 pure-u-md-2-3" {
div class="contact" {
{ (PreEscaped(contact)) };
}
}
}
{ (PreEscaped(contact)) };
};
let extra_headers = html! {
link rel="stylesheet" href="assets/css/contact.css";
link rel="stylesheet" href="assets/css/post.css";
};
base("", description, extra_headers, content, Some(state))
}

0 comments on commit be19a03

Please sign in to comment.