Skip to content

Commit 791e601

Browse files
committed
Defer loading of skills icons
1 parent 65418e8 commit 791e601

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/utilities/skills.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function initSkills() {
8080
Skill(
8181
"Python",
8282
9.5,
83-
'<img aria-hidden="true" alt="Python logo" src="https://cdn.simpleicons.org/python">',
83+
'<img aria-hidden="true" loading="lazy" fetchpriority="low" alt="Python logo" src="https://cdn.simpleicons.org/python">',
8484
"#3776AB",
8585
"My best and most used programming language. I've been using it for over 6 years and have built numerous projects (personal, professional, and academic) with it.",
8686
"languages"
@@ -98,7 +98,7 @@ export function initSkills() {
9898
Skill(
9999
"HTML",
100100
9.5,
101-
'<img aria-hidden="true" alt="HTML logo" src="https://cdn.simpleicons.org/html5">',
101+
'<img aria-hidden="true" loading="lazy" fetchpriority="low" alt="HTML logo" src="https://cdn.simpleicons.org/html5">',
102102
"#E34F26",
103103
"One of the languages that inspired me to take Computer Science seriously in high school and ultimately got me into software engineering. I was 12 when I used it to <a href=\"https://github.com/lynkos/old-tumblr-themes\" target=\"_blank\">create Tumblr themes</a>. I now use it extensively for many of my personal projects.",
104104
"languages"
@@ -107,7 +107,7 @@ export function initSkills() {
107107
Skill(
108108
"CSS",
109109
9.5,
110-
'<img aria-hidden="true" alt="CSS logo" src="https://cdn.simpleicons.org/css">',
110+
'<img aria-hidden="true" loading="lazy" fetchpriority="low" alt="CSS logo" src="https://cdn.simpleicons.org/css">',
111111
"#663399",
112112
"One of the languages that inspired me to take Computer Science seriously in high school and ultimately got me into software engineering. I was 12 when I used it to <a href=\"https://github.com/lynkos/old-tumblr-themes\" target=\"_blank\">create Tumblr themes</a>. I now use it extensively for many of my personal projects.",
113113
"languages"
@@ -116,7 +116,7 @@ export function initSkills() {
116116
Skill(
117117
"JavaScript",
118118
7.5,
119-
'<img aria-hidden="true" alt="JavaScript logo" src="https://cdn.simpleicons.org/javascript">',
119+
'<img aria-hidden="true" loading="lazy" fetchpriority="low" alt="JavaScript logo" src="https://cdn.simpleicons.org/javascript">',
120120
"#F7DF1E",
121121
"One of the languages that inspired me to take Computer Science seriously in high school and ultimately got me into software engineering. I was 12 when I used it to <a href=\"https://github.com/lynkos/old-tumblr-themes\" target=\"_blank\">create Tumblr themes</a>. I now use it extensively for many of my personal projects.",
122122
"languages"

0 commit comments

Comments
 (0)