From b1845cb4e2d3e522a56fda27a34495f91fe09313 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 17:57:02 +0000 Subject: [PATCH 1/3] Initial plan From 69f9da232783fd13f5262d13d5dd3b4f34eb5fd9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 18:04:30 +0000 Subject: [PATCH 2/3] Optimize performance: throttle scroll, remove unused code, optimize font loading Co-authored-by: adrianmg <589285+adrianmg@users.noreply.github.com> --- _includes/head.html | 3 ++- _layouts/home.html | 3 +-- _sass/_base.scss | 8 ++------ _sass/_layout.scss | 4 ---- assets/js/s.js | 14 +++++++++++++- 5 files changed, 18 insertions(+), 14 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index be1b0a9..4b04088 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -22,7 +22,8 @@ - + + diff --git a/_layouts/home.html b/_layouts/home.html index aad54ed..587d936 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -26,7 +26,6 @@

Design Director at GitHub Copilot & start {% include home-navigation.html %} {% include home-work.html %} - - + diff --git a/_sass/_base.scss b/_sass/_base.scss index 8e63ba0..9996a9b 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -41,10 +41,7 @@ body { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; - -webkit-font-feature-settings: "kern" 1; - -moz-font-feature-settings: "kern" 1; - -o-font-feature-settings: "kern" 1; - font-feature-settings: "kern" 1; + font-feature-settings: "kern" 1; font-kerning: normal; } @@ -127,8 +124,7 @@ ul{ a { color: var(--brand-color); text-decoration: none; - -webkit-transition: none; - transition: none; + transition: none; &:visited { color: var(--brand-color); diff --git a/_sass/_layout.scss b/_sass/_layout.scss index 59f91e3..7ba80f0 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -131,8 +131,6 @@ pre { } @keyframes home-intro-scroll { - 20% { - } 45% { transform: translateY(0); } @@ -142,8 +140,6 @@ pre { 65% { transform: translateY(0); } - 75% { - } } @keyframes navigation-animation { diff --git a/assets/js/s.js b/assets/js/s.js index dbd33f9..d96fcea 100644 --- a/assets/js/s.js +++ b/assets/js/s.js @@ -19,8 +19,20 @@ } } + // throttle function to limit scroll handler calls + function throttle(func, limit) { + let inThrottle; + return function() { + if (!inThrottle) { + func.apply(this, arguments); + inThrottle = true; + setTimeout(() => inThrottle = false, limit); + } + } + } + // scrolling event - document.addEventListener("scroll", scrollHandler); + document.addEventListener("scroll", throttle(scrollHandler, 100), { passive: true }); function scrollHandler() { // scroll hint From 5efa412338df5a878d8e2f710fb684390ede4189 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Oct 2025 18:09:03 +0000 Subject: [PATCH 3/3] Add lazy loading to images and DNS prefetch hints Co-authored-by: adrianmg <589285+adrianmg@users.noreply.github.com> --- _includes/head.html | 4 +++- _includes/home-work.html | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/_includes/head.html b/_includes/head.html index 4b04088..6e8aff6 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -20,7 +20,9 @@ - + + + diff --git a/_includes/home-work.html b/_includes/home-work.html index 7d74953..571f6d4 100644 --- a/_includes/home-work.html +++ b/_includes/home-work.html @@ -14,13 +14,13 @@

Lead & Design Manager (2018 – 2020)

Adrián Mato - Azure Pipelines
-
Adrián Mato - Azure Pipelines
-
Adrián Mato - Azure Pipelines
-
Adrián Mato - Azure Pipelines
@@ -35,7 +35,7 @@

Sr. Product Designer (2015 – 2018)

and more available on mobile, tablet and desktop.

-
Adrián Mato - Yammer Office 365