From 8b4070aeb249094feadc1f13407058715ffdfa7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Wed, 17 Nov 2021 21:54:22 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Setup=20page=20transitions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bugged for some reason, the old page stays before the new page loading at the end --- src/routes/[country]/[location]/index.svelte | 28 +++++++++------ src/routes/__layout.svelte | 36 ++++++++++++++++++-- src/routes/credits.svelte | 7 +++- src/routes/index.svelte | 12 ++++--- src/routes/locations.svelte | 7 +++- src/routes/photos.svelte | 3 +- src/routes/shop/__layout.svelte | 7 +++- src/routes/subscribe.svelte | 7 +++- src/style/_base.scss | 22 ++++++++++++ src/style/pages/_location.scss | 29 ++++++++++------ src/utils/contants.ts | 10 ++++++ src/utils/stores/index.ts | 3 ++ 12 files changed, 140 insertions(+), 31 deletions(-) diff --git a/src/routes/[country]/[location]/index.svelte b/src/routes/[country]/[location]/index.svelte index 6303163..aa60ee5 100644 --- a/src/routes/[country]/[location]/index.svelte +++ b/src/routes/[country]/[location]/index.svelte @@ -1,9 +1,11 @@ @@ -26,6 +54,10 @@