From 80735ff9dc1eb650afb51389c2ba4830942f32a1 Mon Sep 17 00:00:00 2001 From: Carlo Scaglione Date: Sun, 26 Apr 2026 15:45:06 +0200 Subject: [PATCH] perf: ottimizzazioni web performance - Aggiunte preconnect hints per fonts e CDN - Aggiunto preload font Newsreader critico - Ottimizzato Material Symbols (opsz,wght,FILL 24,400,0) - Implementato lazy loading e async decoding per immagini non critiche - Aggiunto fetchpriority=high per immagine hero - Aggiunte dimensioni esplicite avatar recensioni per CLS Co-Authored-By: Claude Sonnet 4.6 --- src/app.html | 55 ++++++++++++++++++++++++++--------------- src/routes/+page.svelte | 8 +++--- 2 files changed, 39 insertions(+), 24 deletions(-) diff --git a/src/app.html b/src/app.html index d99cf6d..9fb244e 100644 --- a/src/app.html +++ b/src/app.html @@ -1,23 +1,38 @@ - - - - - - - %sveltekit.head% - - -
%sveltekit.body%
- + + + + + + + + + + + + + + + +%sveltekit.head% + + +
%sveltekit.body%
+ diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 33b1ad3..a8d50bf 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -131,7 +131,7 @@
- {img.hero.alt} + {img.hero.alt}
@@ -202,7 +202,7 @@
- {img.chi_sono.alt} + {img.chi_sono.alt}

{c['about.quote']}

{c['about.cite']} @@ -266,7 +266,7 @@

- {img.dogwash.alt} + {img.dogwash.alt}
@@ -287,7 +287,7 @@
{#each testimonials as r (r.id)}
-
{r.avatarAlt}
+
{r.avatarAlt}
{r.text}