From 0782781663b7f550eaae498ae3e430384afaf739 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 2 Mar 2026 22:04:32 -0800 Subject: lighthouse improvements --- src/app.css | 3 ++- src/app.html | 6 ++---- src/components/Image.svelte | 19 +++++++++++++++++-- src/components/LandingHero.svelte | 2 +- src/components/LandingInfoCard.svelte | 5 ++++- src/components/LocaleSelector.svelte | 2 +- src/routes/+page.svelte | 12 +++++++++++- .../Public_Sans/static/PublicSans-Regular.woff2 | Bin 0 -> 24300 bytes static/images/adam.webp | Bin 11560 -> 2348 bytes static/images/cole.webp | Bin 13340 -> 3270 bytes static/images/customize.webp | Bin 81624 -> 32690 bytes static/images/hero-image.webp | Bin 72000 -> 52420 bytes static/images/lightning-qr.webp | Bin 80756 -> 33456 bytes static/images/phone-checkout.webp | Bin 50980 -> 30164 bytes 14 files changed, 38 insertions(+), 11 deletions(-) create mode 100644 static/fonts/Public_Sans/static/PublicSans-Regular.woff2 diff --git a/src/app.css b/src/app.css index 3ee2ca2a..14c5b032 100644 --- a/src/app.css +++ b/src/app.css @@ -38,7 +38,8 @@ @font-face { font-family: "PublicSans"; - src: url("/fonts/Public_Sans/static/PublicSans-Regular.ttf") format("truetype"); + src: url("/fonts/Public_Sans/static/PublicSans-Regular.woff2") format("woff2"); + font-display: swap; } :root { diff --git a/src/app.html b/src/app.html index e82ad055..42d00a9e 100644 --- a/src/app.html +++ b/src/app.html @@ -3,16 +3,14 @@ - + + %sveltekit.head% -{image} +{image} diff --git a/src/components/LandingHero.svelte b/src/components/LandingHero.svelte index 6e027e8d..2be86c98 100644 --- a/src/components/LandingHero.svelte +++ b/src/components/LandingHero.svelte @@ -37,7 +37,7 @@ - +