From f9e7ce7c83cccb35a1a538f85c6e89931ecba67a Mon Sep 17 00:00:00 2001 From: Markus Scully Date: Sat, 2 Aug 2025 11:25:16 +0300 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=F0=9F=93=9D=20app:=20Refacto?= =?UTF-8?q?r=20image=20rendering=20and=20update=20homepage=20content?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed `CommandLine` component placeholder to "mascully.com $". - Updated `HireMe` component text to include full-time employment availability. - Added image capabilities to first `ProjectSummary` for "HiveMQ Data Hub" project. - Refactored `ProjectSummary` image rendering with JXL/WebP formats and responsive `srcset`. - Updated project descriptions and links, including Carplexity status update and link removal. - Cleaned up commented code in Endolingual project section. --- crates/app/src/command_line.rs | 2 +- crates/app/src/lib.rs | 2 +- crates/app/src/projects.rs | 47 +++++++++++++++------------------- 3 files changed, 23 insertions(+), 28 deletions(-) diff --git a/crates/app/src/command_line.rs b/crates/app/src/command_line.rs index 5d39dea..06e9550 100644 --- a/crates/app/src/command_line.rs +++ b/crates/app/src/command_line.rs @@ -2,5 +2,5 @@ use leptos::prelude::*; #[component] pub fn CommandLine() -> impl IntoView { - view! { } + view! { } } diff --git a/crates/app/src/lib.rs b/crates/app/src/lib.rs index 9b6d625..d4c65bf 100644 --- a/crates/app/src/lib.rs +++ b/crates/app/src/lib.rs @@ -150,7 +150,7 @@ fn HomePage() -> impl IntoView { #[component] fn HireMe() -> impl IntoView { view! { -

"I am available for freelancing work (remote, European time zone)."

+

"I am available for freelancing work or full-time employment (remote, European time zone)."

"I can work comfortably with most tech stacks in most domains."

"Email me at ""contact@mascully.com".

} diff --git a/crates/app/src/projects.rs b/crates/app/src/projects.rs index bd2ae83..eb25689 100644 --- a/crates/app/src/projects.rs +++ b/crates/app/src/projects.rs @@ -10,7 +10,7 @@ pub fn Projects() -> impl IntoView { view! {

"Project Portfolio"

- + "HiveMQ Data Hub Scripting"

@@ -18,11 +18,15 @@ pub fn Projects() -> impl IntoView {

- "Documentation" + + "Documentation" +
- - "LittleBigPlanet Computer (personal)" + + + "LittleBigPlanet Computer (personal)" +

"A 120Hz 24-bit computer built using logic gates inside the game " @@ -53,38 +57,22 @@ pub fn Projects() -> impl IntoView { - + "Carplexity (personal)"

- "Very early in development. A physics car game built using Bevy meant to be similar to Rocket League." -

-

- "360 ticks per second instead of 120, so less input lag, which is basically the only thing that matters." + "Still early in development. A physics car game built using Bevy meant to be similar to Rocket League."

- "Website" + // "Website" + ""
"Endolingual (personal)"

"Compile-time string localization for Rust."

- //
-                // {
-                // indoc! {
-                // r#"
-                // let current_language = get_current_language();
-                // let my_string = translate!("Enter your password: ");
-                // println!("{}", my_string[current_language]);
-                // "#
-                // }
-                // }
-                // 
- //

- // "You can try this out by clicking the translate button at the top right of this website. All of the translation" - //

"Repo" @@ -108,9 +96,16 @@ pub fn ProjectSummary( Some(image) => { view! { + +