From ac40eedb2fa4176adb9fa1326375bd8bb2d70347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Wed, 17 Nov 2021 19:25:40 +0100 Subject: [PATCH] Use sveltekit:noscroll/prefetch on internal links --- src/components/atoms/BoxCTA.svelte | 4 +++- src/components/molecules/EmailForm.svelte | 2 +- src/components/molecules/Location.svelte | 2 +- src/components/molecules/Poster.svelte | 2 +- src/components/molecules/Switcher.svelte | 4 +++- src/components/organisms/Footer.svelte | 4 ++-- src/routes/[country]/[location]/[photo].svelte | 2 +- src/routes/credits.svelte | 2 +- src/routes/photos.svelte | 2 +- src/routes/shop/__layout.svelte | 4 ++-- 10 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/components/atoms/BoxCTA.svelte b/src/components/atoms/BoxCTA.svelte index 8cd65b1..661eef6 100644 --- a/src/components/atoms/BoxCTA.svelte +++ b/src/components/atoms/BoxCTA.svelte @@ -7,7 +7,9 @@ export let url: string - +
diff --git a/src/components/molecules/EmailForm.svelte b/src/components/molecules/EmailForm.svelte index 4c9f91e..47e9f77 100644 --- a/src/components/molecules/EmailForm.svelte +++ b/src/components/molecules/EmailForm.svelte @@ -37,7 +37,7 @@
{#if past} - + diff --git a/src/components/molecules/Location.svelte b/src/components/molecules/Location.svelte index 31179a5..9b66515 100644 --- a/src/components/molecules/Location.svelte +++ b/src/components/molecules/Location.svelte @@ -62,7 +62,7 @@ {#if image} - + {#each links as { icon, iconLabel, url, text }}
  • - + {text} diff --git a/src/components/organisms/Footer.svelte b/src/components/organisms/Footer.svelte index 95e36cf..04c43fc 100644 --- a/src/components/organisms/Footer.svelte +++ b/src/components/organisms/Footer.svelte @@ -10,7 +10,7 @@