🐛 Setup page transitions

Bugged for some reason, the old page stays before the new page loading at the end
This commit is contained in:
2021-11-17 21:54:22 +01:00
parent 1b181b92fc
commit 8b4070aeb2
12 changed files with 140 additions and 31 deletions

View File

@@ -0,0 +1,10 @@
// Delays
export const DELAY = {
PAGE_LOADING: 600,
}
// Durations
export const DURATION = {
PAGE_IN: 400,
PAGE_OUT: 400,
}

View File

@@ -0,0 +1,3 @@
import { writable } from 'svelte/store'
export const pageLoading = writable(false)