From cac0d434bb75ae3ee4237654fe6909c8f6f3920c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Wed, 16 Nov 2022 12:12:20 +0100 Subject: [PATCH] Use sveltekit-prefetch globally and update template --- src/app.html | 4 ++-- src/components/atoms/BoxCTA.svelte | 4 +--- src/components/atoms/Button.svelte | 1 - src/components/molecules/EmailForm.svelte | 2 +- src/components/molecules/Poster.svelte | 2 +- src/components/molecules/Switcher.svelte | 2 +- src/components/organisms/Footer.svelte | 4 ++-- src/components/organisms/ShopBanner.svelte | 2 +- src/components/organisms/ShopModule.svelte | 2 +- src/routes/[country]/[location]/[photo]/+page.svelte | 2 +- src/routes/about/+page.svelte | 2 +- src/routes/photos/+page.svelte | 2 +- 12 files changed, 13 insertions(+), 16 deletions(-) diff --git a/src/app.html b/src/app.html index f517035..04f2e79 100644 --- a/src/app.html +++ b/src/app.html @@ -13,8 +13,8 @@ %sveltekit.head% - - %sveltekit.body% + +
%sveltekit.body%
- +
diff --git a/src/components/atoms/Button.svelte b/src/components/atoms/Button.svelte index 4e0e9bd..ff9728b 100644 --- a/src/components/atoms/Button.svelte +++ b/src/components/atoms/Button.svelte @@ -44,7 +44,6 @@
{#if past} - + diff --git a/src/components/molecules/Poster.svelte b/src/components/molecules/Poster.svelte index 312edfe..4b4b9f9 100644 --- a/src/components/molecules/Poster.svelte +++ b/src/components/molecules/Poster.svelte @@ -16,7 +16,7 @@
{#if image} - $smoothScroll.scrollTo('#poster', { duration: 2 })} > -