From 5c1d532386b5cc95940fd59bf81a0808cb6bedb9 Mon Sep 17 00:00:00 2001 From: Lorenzo Iovino Date: Fri, 9 Jan 2026 17:03:17 +0100 Subject: [PATCH] feat: improve UX with performance optimizations, layout fixes, and dark mode prompt --- src/components/Hero.astro | 4 +- src/layouts/BaseLayout.astro | 125 +++++++++++++++++++++++++++++++++++ src/pages/bio.astro | 2 +- src/pages/blog.astro | 4 +- src/pages/blog/[slug].astro | 16 ++--- src/styles/global.css | 4 +- src/styles/prose.css | 4 +- 7 files changed, 142 insertions(+), 17 deletions(-) diff --git a/src/components/Hero.astro b/src/components/Hero.astro index 2fccaf0..9200706 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -7,7 +7,7 @@ import githubIcon from "../assets/github.svg";
-
+
-

+

Hey, I'm Lorenzo! diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 7797e89..918786e 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -222,5 +222,130 @@ const fullCanonicalUrl = canonicalUrl || `${siteUrl}${Astro.url.pathname}`; + + + + + + + diff --git a/src/pages/bio.astro b/src/pages/bio.astro index 2675d25..6aef07f 100644 --- a/src/pages/bio.astro +++ b/src/pages/bio.astro @@ -25,7 +25,7 @@ const { Content } = await bioEntry.render();
-

{bioEntry.data.title}

+

{bioEntry.data.title}

{bioEntry.data.description}

diff --git a/src/pages/blog.astro b/src/pages/blog.astro index fdfb2bf..75ffa69 100644 --- a/src/pages/blog.astro +++ b/src/pages/blog.astro @@ -34,9 +34,9 @@ const initialPosts: BlogPost[] = sortedPosts.slice(0, 6);
-
+
-

Blog

+

Blog

Thoughts, experiences, and insights about software engineering, technology, and life

diff --git a/src/pages/blog/[slug].astro b/src/pages/blog/[slug].astro index ebcb2c6..f555d5f 100644 --- a/src/pages/blog/[slug].astro +++ b/src/pages/blog/[slug].astro @@ -65,7 +65,7 @@ const heroImageSrc = entry.data.heroImage?.src || mePhoto.src; ) }

{entry.data.title}

@@ -105,26 +105,26 @@ const heroImageSrc = entry.data.heroImage?.src || mePhoto.src;
-
+
Lorenzo Iovino -
+

Lorenzo Iovino

- Software Engineer based in Sicily, passionate about technology, remote work, and life - balance. When not coding, you'll find me working on my vineyard or exploring the - beautiful Sicilian countryside. + I write software and I also work on a small vineyard in Sicily. In code, trees grow + downward from the root. In real life, trees grow upward from the roots. I spend way + too much time thinking about this.

-
+