lorenzoiovino.com/src/components
Lorenzo Iovino 7caf02fb36 perf: improve Lighthouse performance score
Fix render blocking and layout shift issues:
- Make Google Fonts non-blocking with font-display: swap
- Inline critical font-face declaration to prevent FOIT
- Add fetchpriority='high' and loading='eager' to hero LCP image
- Remove lazy loading from above-the-fold content

Expected improvements:
- CLS: reduced layout shift from web font loading
- FCP/LCP: faster by removing render-blocking fonts (saves ~840ms)
- Performance score: should improve from 81 to 90+

Remaining optimizations can be done later:
- Minify JavaScript (173 KB)
- Reduce unused JavaScript (295 KB)
- These require more complex bundling optimizations
2026-01-08 18:45:25 +01:00
..
Fish.astro featmigrate from Angular to Astro static site 2026-01-08 16:46:17 +01:00
Footer.astro perf: improve Lighthouse performance score 2026-01-08 18:45:25 +01:00
Hero.astro perf: improve Lighthouse performance score 2026-01-08 18:45:25 +01:00
Navbar.astro perf: improve Lighthouse performance score 2026-01-08 18:45:25 +01:00
Section.astro perf: improve Lighthouse performance score 2026-01-08 18:45:25 +01:00