🐛 Setup page transitions
Bugged for some reason, the old page stays before the new page loading at the end
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// Delays
|
||||
export const DELAY = {
|
||||
PAGE_LOADING: 600,
|
||||
}
|
||||
|
||||
// Durations
|
||||
export const DURATION = {
|
||||
PAGE_IN: 400,
|
||||
PAGE_OUT: 400,
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
import { writable } from 'svelte/store'
|
||||
|
||||
export const pageLoading = writable(false)
|
||||
Reference in New Issue
Block a user