Skip to content

Commit 8b36ee2

Browse files
committed
Fixed typos and added email
1 parent c33c6cf commit 8b36ee2

File tree

5 files changed

+16
-10
lines changed

5 files changed

+16
-10
lines changed

public/icons/email.png

10.6 KB
Loading

src/commands/about.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,16 @@ fn about_html() -> HtmlElement<P> {
3636
view! {
3737
<p>
3838
<h2>"About Me"</h2>
39-
<p>"I am a computer science BS/MS student at Worcester Polytechnic University ("<a href="https://www.wpi.edu/" target="_blank" rel="noopener noreferrer">"WPI"</a>"). I have a strong interest in systems-level programming and financial technology. In high school, I was on a FIRST robotics ("<a href="https://www.firstinspires.org/robotics/frc" target="_blank" rel="noopener noreferrer">"FRC"</a>") team, where I discovered my passions for programming, electronics, and additive manufactoring."</p>
40-
<p>"Last summer, I interned at "<a href="https://www.finra.org/about" target="_blank" rel="noopener noreferrer">"FINRA"</a>" where I explored my interest for financial technology. Fall semester this year (2024), I spent 2 months studying abroad in Panama City, working with "<a href="https://www.simpleaf.earth/" target="_blank" rel="noopener noreferrer">"simple af"</a>". A growing sustainable design studio manufacturing fabric goods from used fabrics like billboards and clothes, expanding the circular economy in Latin America."</p>
39+
<p>"I am a computer science BS/MS student at Worcester Polytechnic University ("<a href="https://www.wpi.edu/" target="_blank" rel="noopener noreferrer">"WPI"</a>"). I have a strong interest in systems-level programming and financial technology. In high school, I was on a FIRST robotics ("<a href="https://www.firstinspires.org/robotics/frc" target="_blank" rel="noopener noreferrer">"FRC"</a>") team, where I discovered my passions for programming, electronics, and additive manufacturing."</p>
40+
<p>"Last summer, I interned at "<a href="https://www.finra.org/about" target="_blank" rel="noopener noreferrer">"FINRA"</a>" where I explored my interest for financial technology. This fall semester (2024), I spent 2 months studying abroad in Panama City, working with "<a href="https://www.simpleaf.earth/" target="_blank" rel="noopener noreferrer">"simple af"</a>", a growing sustainable design studio. Their focus is manufacturing fabric goods from used fabrics such as billboards and clothes, with the goal of expanding the circular economy in Latin America."</p>
4141
<p>"In my freetime I like to shoot film photography (try the `"<span class="orange">"gallery"</span>"` command). Additionally, I enjoy 3D printing and tinkering with my printer."</p>
4242
<p>"For more information about me, check out these links:"</p>
4343

4444
<div class="about-links">
4545
<a href="https://github.com/mxgordon" target="_blank" rel="noopener noreferrer"><p><img src="/icons/github.png" />GitHub</p></a>
4646
<a href="https://www.linkedin.com/in/max-gordon-533423221/" target="_blank" rel="noopener noreferrer"><p><img src="/icons/linkedin.png" />LinkedIn</p></a>
4747
<a href="/documents/Max_Gordon_resume.pdf" target="_blank" rel="noopener noreferrer"><p><img src="/icons/resume.png" />Resume</p></a>
48+
<a href="mailto:mgordon291us@gmail.com" target="_blank" rel="noopener noreferrer"><p><img src="/icons/email.png" />Email</p></a>
4849
</div>
4950

5051
</p>

src/commands/gallery.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ pub fn GalleryImage(#[prop(into)] gallery_entry: GalleryEntry) -> impl IntoView
1414
let src = format!("https://mxgordon.com/cdn-cgi/image/format=webp,height=768/img/{}", last_two.join("/"));
1515

1616
view! {
17-
// <img src=src alt=alt />
1817
<div class="gallery-item">
1918
<a href=format!("/view/{}", gallery_entry.name) target="_blank" rel="noopener noreferrer">
2019
<img src=src alt=gallery_entry.description />
@@ -66,7 +65,7 @@ pub fn get_gallery() -> Vec<GalleryEntry> {
6665
GalleryEntry {
6766
name: "cusco_street",
6867
src: "https://res.cloudinary.com/dtz40humd/image/upload/v1730920375/img2_047_result_jumilw.jpg",
69-
description: "A view of Cusco's beautiful red tiled roofs, with it's distinctive mountainous skyline."
68+
description: "A view of Cusco's beautiful red tiled roofs, with its distinctive mountainous skyline."
7069
},
7170
GalleryEntry {
7271
name: "cusco_skyline",

src/commands/projects.rs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use html::Div;
22
use leptos::*;
33

4-
use crate::commands::typewriter::TypeWriter;
4+
use crate::commands::{typewriter::TypeWriter, utils::{check_cmd_args_empty, InvalidOption}};
55

66
#[derive(Clone)]
77
pub struct Project {
@@ -23,7 +23,7 @@ pub fn get_projects() -> Vec<Project> {
2323
},
2424
Project {
2525
name: "Personal Website".to_string(),
26-
description: "I build this website entirely in Rust and Leptos using web-assembly in order to show off my projects and photography. I picked Rust as its both fast and growing in popularity!".to_string(),
26+
description: "I built this website entirely in Rust and Leptos using web-assembly in order to show off my projects and photography. I picked Rust as it's both fast and growing in popularity!".to_string(),
2727
github_link: "https://github.com/mxgordon/mxgordon.github.io".to_string(),
2828
image_link: "https://mxgordon.com/cdn-cgi/image/format=webp/img/v1731358909/personal-website-cover_t5tefc.png".to_string(),
2929
project_link: Some("/".to_string()),
@@ -45,7 +45,7 @@ pub fn ProjectTile(#[prop()] project: Project) -> impl IntoView {
4545
<img src={project.image_link} alt=""/>
4646
</a>
4747
<div class="links" >
48-
<a href={project.github_link} target="_blank" rel="noopener noreferrer" >"Github Repository"</a>
48+
<a href={project.github_link} target="_blank" rel="noopener noreferrer" >"GitHub Repository"</a>
4949
<Show when={move || project_link2.is_some()} >
5050
<a href={project.project_link.clone().unwrap()} target="_blank" rel="noopener noreferrer">"Project Link"</a>
5151
</Show>
@@ -73,6 +73,12 @@ pub fn projects_html() -> HtmlElement<Div> {
7373

7474
#[component]
7575
pub fn Projects(#[prop()] cmd: String, #[prop(default=Box::new(|| ()))] on_finished: Box<dyn Fn() + 'static>) -> impl IntoView {
76+
if !check_cmd_args_empty(&cmd) {
77+
return view! {
78+
<InvalidOption cmd=cmd on_finished=on_finished />
79+
}
80+
}
81+
7682
view! {
7783
<TypeWriter html_to_type=projects_html() callback=on_finished />
7884
}

src/commands/search.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub static COMMANDS: [Command; 5] = [
1919
Command {
2020
name: "about",
2121
syntax: "about",
22-
description: "The about me section, come learn more about my career, my hobbies, and my webste!",
22+
description: "The 'about me' section; come learn more about my career, my hobbies, and my webste!",
2323
function: |cmd, on_finished,| view! { <About cmd={cmd} on_finished=on_finished/>},
2424
},
2525
Command {
@@ -31,13 +31,13 @@ pub static COMMANDS: [Command; 5] = [
3131
Command {
3232
name: "help",
3333
syntax: "help [command]",
34-
description: "Get help on a command",
34+
description: "Get help on a command.",
3535
function: |cmd, on_finished,| view! { <Help cmd={cmd} on_finished=on_finished/>},
3636
},
3737
Command {
3838
name: "intro",
3939
syntax: "intro",
40-
description: "Introduction to my website",
40+
description: "The introduction to my website.",
4141
function: |cmd, on_finished,| view! { <Intro cmd={cmd} on_finished=on_finished/>},
4242
},
4343
Command {

0 commit comments

Comments
 (0)