From 9489f513a8f5ba4dbab7283c9715953c77c7c526 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Mon, 18 Mar 2024 17:30:48 +0100 Subject: Improve LCP time See https://johnnyreilly.com/docusaurus-improve-core-web-vitals-fetchprio --- src/components/landing/sections/Hero.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/components/landing/sections/Hero.tsx b/src/components/landing/sections/Hero.tsx index ee11048..b4be44d 100644 --- a/src/components/landing/sections/Hero.tsx +++ b/src/components/landing/sections/Hero.tsx @@ -34,6 +34,7 @@ export default function Hero() { width={avatar.width} height={avatar.height} sizes="(min-width: 1384px) 298px, (min-width: 996px) calc(25vw - 48px), (min-width: 300px) 298px, calc(100vw - 32px)" + fetchPriority="high" alt="My photo" className={styles.avatar__image} /> -- cgit v1.2.3-70-g09d2