Add scroll, languages, settings

This commit is contained in:
obergodmar
2020-06-25 03:20:33 +03:00
parent 98a307f2cc
commit 8647adc66c
47 changed files with 946 additions and 120 deletions
+5
View File
@@ -0,0 +1,5 @@
export const ANIMATION_DURATION = 500
export const LOADING_DURATION = 800
export const PREVIEW_WIDTH = 320
export const PREVIEW_HEIGHT = 180
export const UI_SOUND_VOLUME = 0.2
+10
View File
@@ -0,0 +1,10 @@
import { LOADING_DURATION } from './constants'
export {
PREVIEW_WIDTH,
PREVIEW_HEIGHT,
UI_SOUND_VOLUME,
LOADING_DURATION,
ANIMATION_DURATION
} from './constants'
export const delay = () => new Promise(resolve => setTimeout(resolve, LOADING_DURATION))