diff --git a/leptos_components/src/components/card.rs b/leptos_components/src/components/card.rs deleted file mode 100644 index ca0397c..0000000 --- a/leptos_components/src/components/card.rs +++ /dev/null @@ -1,30 +0,0 @@ -use leptos::prelude::*; - -pub enum CardStyle { - Primary, -} - - -// Horizontal Card -#[component] -pub fn HCard<'a>( - #[prop(optional)] - style: Option, - img_path: &'a str, - -) -> impl IntoView { - let style_type; - if style.is_none() { - style_type = CardStyle::Primary; - } else { - style_type = style.unwrap(); - } - let mut stylestring = ""; - match style_type { - CardStyle::Primary => { - stylestring = "font-sans text-2xl"; - } - } - view! { - } -} \ No newline at end of file diff --git a/leptos_components/src/components/mod.rs b/leptos_components/src/components/mod.rs index 86eb084..32baa08 100644 --- a/leptos_components/src/components/mod.rs +++ b/leptos_components/src/components/mod.rs @@ -1,3 +1,2 @@ pub mod buttons; -pub mod text; -pub mod card; \ No newline at end of file +pub mod text; \ No newline at end of file diff --git a/leptos_components/src/elements/cards.rs b/leptos_components/src/elements/cards.rs new file mode 100644 index 0000000..d374f04 --- /dev/null +++ b/leptos_components/src/elements/cards.rs @@ -0,0 +1,49 @@ +use leptos::prelude::*; +use super::super::components::text::{H2,H3,P}; + +pub enum CardStyle { + Primary, +} + + +// Horizontal Card +#[component] +pub fn ProfessionalExperienceCard( + #[prop(optional)] + style: Option, + img_path: String, + heading: String, + subtitle: String, + experience_blurbs: Vec, + id: String +) -> impl IntoView { + let style_type; + if style.is_none() { + style_type = CardStyle::Primary; + } else { + style_type = style.unwrap(); + } + let mut stylestring = ""; + match style_type { + CardStyle::Primary => { + stylestring = "font-sans text-2xl"; + } + } + + view! { +
+
+ +

{heading}

+

{subtitle}

+
+
+ { + experience_blurbs.into_iter().map(|item| view!{ +

{item}

+ }).collect_view() + } +
+
+ } +} \ No newline at end of file diff --git a/leptos_components/src/elements/mod.rs b/leptos_components/src/elements/mod.rs new file mode 100644 index 0000000..fd9ae2b --- /dev/null +++ b/leptos_components/src/elements/mod.rs @@ -0,0 +1 @@ +pub mod cards; \ No newline at end of file diff --git a/leptos_components/src/lib.rs b/leptos_components/src/lib.rs index 6f59cdd..7a798c2 100644 --- a/leptos_components/src/lib.rs +++ b/leptos_components/src/lib.rs @@ -1,2 +1,2 @@ pub mod components; - +pub mod elements; \ No newline at end of file diff --git a/website/src/app.rs b/website/src/app.rs index 41f9d04..640ae7f 100644 --- a/website/src/app.rs +++ b/website/src/app.rs @@ -5,6 +5,7 @@ use leptos_router::{ }; use leptos_components::components::buttons::{Button, ButtonStyle}; use leptos_components::components::text::{H1, H2, H3, P}; +use leptos_components::elements::cards::ProfessionalExperienceCard; pub fn shell(options: LeptosOptions) -> impl IntoView { view! { @@ -71,39 +72,33 @@ fn HomePage() -> impl IntoView {
-
-
- -

"Modeling Simulation & Analysis Engineer"

-

"Northrop Grumman Corporation"

-
-
-

"Developed a high-fidelity C++ simulation of air-to-air radars for Northrop Grumman’s Emerging Capabilities division."

-

"Lead software development process of C++ simulation for a team of 6 engineers."

-

"Created tooling to analyze IQ data, determining angle of arrival, range, and velocity of returns."

-

"Contributed to technical documentation process – Model Design Review (MDR) – at all stages."

-

"Developed a web application – PyCAM – to assist control account managers in tracking costs within programs."

-

"Additionally: recognized as Top Performer, mentored & trained other engineers"

-
-
+

2023

-
-
- -

"Process Lead / Process Engineer"

-

"Ingredion Incorporated"

-
-
-

"Developed a high-fidelity C++ simulation of air-to-air radars for Northrop Grumman’s Emerging Capabilities division."

-

"Lead software development process of C++ simulation for a team of 6 engineers."

-

"Created tooling to analyze IQ data, determining angle of arrival, range, and velocity of returns."

-

"Contributed to technical documentation process – Model Design Review (MDR) – at all stages."

-

"Developed a web application – PyCAM – to assist control account managers in tracking costs within programs."

-

"Additionally: recognized as Top Performer, mentored & trained other engineers"

-
-
+ +

2021