diff options
| author | Adam Soltys <[email protected]> | 2026-03-02 22:04:32 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-02 22:04:32 -0800 |
| commit | 0782781663b7f550eaae498ae3e430384afaf739 (patch) | |
| tree | 27db42dea69f486a9f097d9a9f355eb6f7d88ba0 /src/routes | |
| parent | f73a6be565bace826404d470b8e8a8c1a25eb19e (diff) | |
| download | coinos-ui-0782781663b7f550eaae498ae3e430384afaf739.tar.gz coinos-ui-0782781663b7f550eaae498ae3e430384afaf739.zip | |
lighthouse improvements
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/+page.svelte | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index f8c0d199..966ebdaf 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -24,6 +24,10 @@ ]; </script> +<svelte:head> + <link rel="preload" href="/images/hero-image.webp" as="image" type="image/webp" /> +</svelte:head> + <LandingHeader {howItWorks} {faq} {about} {user} /> <main class="space-y-20 md:space-y-40 py-20 md:py-32 lg:py-36 xl:py-40 px-5 md:px-0 pt-20"> @@ -32,9 +36,12 @@ image="lightning-qr" title={$t("landing.info1.title")} description={$t("landing.info1.description")} + loading="lazy" + width={640} + height={653} /> - <LandingInfoCard image="phone-checkout" title={$t("landing.info2.title")} order="reverse"> + <LandingInfoCard image="phone-checkout" title={$t("landing.info2.title")} order="reverse" loading="lazy" width={480} height={621}> {$t("landing.info2.description1")} <br /> <br /> @@ -49,6 +56,9 @@ image="customize" title={$t("landing.info3.title")} description={$t("landing.info3.description")} + loading="lazy" + width={640} + height={640} /> <div bind:this={howItWorks}></div> <div id="about"></div> |
