Skip to content

Commit

Permalink
oop
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Nov 27, 2023
1 parent a874646 commit 879422a
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 43 deletions.
3 changes: 1 addition & 2 deletions content/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ feel free to contact me if you want me to read your blog, share your ideas, or
ask me about something. If you think I am wrong about something, please let me
know!

The best way to reach me is via email at [[email protected]](mailto:[email protected]).
I am also in the Apple Ecosystem, and can be reached via the same email.\
The best way to reach me is via email at [[email protected]](mailto:[email protected]).\
If you wish to send encrypted email to me, I have a PGP key
[0xC15ECEC52397343B](/files/publickey.asc).

Expand Down
18 changes: 10 additions & 8 deletions content/now.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ Oversubscribed :)
* VP of Tech at [Blueprint@Stevens](https://sitblueprint.com/). I am leading the
techops, wiki, site, and devops team along with my other VP of Tech. I also
assist with the project teams.
* Webmaster at [Castle Point Anime
Convention](https://www.castlepointanime.com)
* Webdev at [Castle Point Anime Convention](https://www.castlepointanime.com)
Currently I'm working on websocket and PWA integration for the website, CI/CD,
and integration tests for our application.
* Secretary of the Stevens Linux User Group
Expand All @@ -30,20 +29,23 @@ Oversubscribed :)

## What I'm reading

I am actively reading [Blue Fox: Arm Assembly Internals and Reverse
* I am slowly reading [Blue Fox: Arm Assembly Internals and Reverse
Engineering](https://www.wiley.com/en-us/Blue+Fox:+Arm+Assembly+Internals+and+Reverse+Engineering-p-9781119745303).

I recently finished [The Mythical Man-Month: Essays on Software
Engineering](https://en.wikipedia.org/wiki/The_Mythical_Man-Month), and Can the Monster Speak?: Report to an Academy of Psychoanalysts.
* I recently finished [The Mythical Man-Month: Essays on Software
Engineering](https://en.wikipedia.org/wiki/The_Mythical_Man-Month), and Can the
Monster Speak?: Report to an Academy of Psychoanalysts.

## What I'm playing

Modded Minecraft Survival.
* Valorant
* CS2
* I don't like scary games, so no lethal company :(

## What I'm watching

Gabriel Dropout.
Money Heist
* Gabriel Dropout
* Money Heist

---

Expand Down
2 changes: 1 addition & 1 deletion src/site/contact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub async fn contact(State(state): State<super::SiteState>) -> Markup {
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" { "(he/him)" };
p class="pronouns" { "(he/they)" };
}
div class="pure-u-1 pure-u-md-2-3" {
div class="contact" {
Expand Down
1 change: 1 addition & 0 deletions src/site/home.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ pub async fn home(State(state): State<super::SiteState>) -> Markup {
let extra_headers = html! {
link rel="stylesheet" href="assets/css/home.css";
link rel="authorization_endpoint" href="https://indieauth.com/auth";
link rel="me" href="mailto:[email protected]";
link rel="alternate" title="Eric's Blog" type="application/rss+xml" href="https://ericz.me/blog.xml";
link rel="alternate" title="Eric's Blog" type="application/atom+xml" href="https://ericz.me/blog.atom";
link rel="alternate" title="Eric's news" type="application/rss+xml" href="https://ericz.me/news.xml";
Expand Down
75 changes: 43 additions & 32 deletions src/site/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ pub fn base(title: &str, description: &str, extra_headers: Markup, content: Mark
}
}
/*
li class="pure-menu-item" {
a class="pure-menu-link" href="/talks" {
"Talks"
}
}
*/
li class="pure-menu-item" {
a class="pure-menu-link" href="/talks" {
"Talks"
}
}
*/
li class="pure-menu-item" {
a class="pure-menu-link" href="/files/Tianyu_Zhu_Resume.pdf" {
"Resume"
Expand All @@ -115,36 +115,28 @@ pub fn base(title: &str, description: &str, extra_headers: Markup, content: Mark
}
}
}
/*
div class="banner" {
"I'm open to employment for summer of 2024 internships! Please contact me via the "
a href="/contact" { "contacts page." }
a href="/contact" { "contacts page." }
}
*/
div class="main" {
(content)
}
div class="footer" {
p {

@if webring_enabled {
"<- " a target="_blank" href=(ring_left.url) { (ring_left.name) } " • "
a target="_blank" href=(ring_random.url) { "Random" } " • "
a target="_blank" href=(ring_right.url) { (ring_right.name) } " ->"
br;
@if webring_enabled {
p {
"<- " a target="_blank" href=(ring_left.url) { (ring_left.name) } " • "
a target="_blank" href=(ring_random.url) { "Random" } " • "
a target="_blank" href=(ring_right.url) { (ring_right.name) } " ->"
br;
"This website is part of the "
a target="_blank" href="https://github.com/Stevens-26/webring/" { "Stevens Community Webring" }
a target="_blank" href="https://github.com/Stevens-26/webring/" { "Stevens Community Webring" }
"."
br;
br;
a target="_blank" href="https://xn--sr8hvo.ws/previous"{"<--"}
" • This website is also part of the "
a target="_blank" href="https://xn--sr8hvo.ws" { "IndieWeb Webring 🕸💍"} " • "
a target="_blank" href="https://xn--sr8hvo.ws/next" { "-->" }
br;
br;
br;
}
}

p {
"All opinions here are my own and do not reflect the views of my employers or university: future, past, and present."
br;
"Copyright 2018-2023 • All text here are released under "
Expand All @@ -156,13 +148,32 @@ pub fn base(title: &str, description: &str, extra_headers: Markup, content: Mark
"."
br;
(build_info);
};
}
div class="h-card" style="display: none" {
link class="u-email" rel="me" href="mailto:[email protected]";
img class="u-photo" src="https://ericz.me/assets/img/eric1.webp" alt="my face";
a class="u-url u-uid p-name" href="https://ericz.me" { "Tianyu (Eric) Zhu" };
p class="p-note" { "I’m a student interested in software development, computer networking, managing infrastructure at scale, cybersecurity, and DevOps" };
}

div class="badges" {
details {
summary { "Show Badges" }
img src="/assets/img/badges/debian.gif" alt="Powered by Debian";
img src="/assets/img/badges/xenia-now.gif" alt="xenia-now";
img src="/assets/img/badges/vimlove.gif" alt="vim";
img src="/assets/img/badges/furries.png" alt="furries";
img src="/assets/img/badges/tildetownpink.gif" alt="tilde.town";
img src="/assets/img/badges/aperture_labs.jpg" alt="aperture_labs";
img src="/assets/img/badges/nb_noproblem.jpg" alt="nonbinary_noproblem";
img src="/assets/img/badges/flag-pan.png" alt="flag-pan";
img src="/assets/img/badges/sun.gif" alt="sun microsystems";
img src="/assets/img/badges/vcss-blue.gif" alt="vcss-blue";
img src="/assets/img/badges/valid-atom.png" alt="valid atom";
img src="/assets/img/badges/valid-rss-rogers.png" alt="valid rss";
}
}

div class="h-card" style="display: none" {
a class="u-email" href="mailto:[email protected]" {};
img class="u-photo" src="https://ericz.me/assets/img/eric1.webp" alt="my face";
a class="u-url u-uid p-name" href="https://ericz.me" { "Tianyu (Eric) Zhu" };
p class="p-note" { "I’m a student interested in software development, computer networking, managing infrastructure at scale, cybersecurity, and DevOps" };
}
}
}
}
Expand Down

0 comments on commit 879422a

Please sign in to comment.