Rename constants files 🤦

This commit is contained in:
2022-10-11 21:12:21 +02:00
parent d8237bfbdc
commit bfcdd53d94
10 changed files with 9 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
<script lang="ts"> <script lang="ts">
import SplitText from '$components/SplitText.svelte' import SplitText from '$components/SplitText.svelte'
import reveal from '$animations/reveal' import reveal from '$animations/reveal'
import { DURATION } from '$utils/contants' import { DURATION } from '$utils/constants'
export let variant: string = 'lines' export let variant: string = 'lines'
export let tag: string = 'h1' export let tag: string = 'h1'

View File

@@ -8,7 +8,7 @@
import { stagger, timeline } from 'motion' import { stagger, timeline } from 'motion'
import { smoothScroll } from '$utils/stores' import { smoothScroll } from '$utils/stores'
import { cartOpen } from '$utils/stores/shop' import { cartOpen } from '$utils/stores/shop'
import { DELAY } from '$utils/contants' import { DELAY } from '$utils/constants'
import { quartOut } from '$animations/easings' import { quartOut } from '$animations/easings'
// Components // Components
import Image from '$components/atoms/Image.svelte' import Image from '$components/atoms/Image.svelte'

View File

@@ -7,7 +7,7 @@
import type { PageData } from './$types' import type { PageData } from './$types'
import { getContext, onMount } from 'svelte' import { getContext, onMount } from 'svelte'
import { timeline, stagger } from 'motion' import { timeline, stagger } from 'motion'
import { DELAY } from '$utils/contants' import { DELAY } from '$utils/constants'
import { smoothScroll } from '$utils/stores' import { smoothScroll } from '$utils/stores'
// import { getAssetUrlKey } from '$utils/api' // import { getAssetUrlKey } from '$utils/api'
import reveal from '$animations/reveal' import reveal from '$animations/reveal'

View File

@@ -11,7 +11,7 @@
import relativeTime from 'dayjs/plugin/relativeTime' import relativeTime from 'dayjs/plugin/relativeTime'
import { quartOut } from '$animations/easings' import { quartOut } from '$animations/easings'
import { getAssetUrlKey } from '$utils/api' import { getAssetUrlKey } from '$utils/api'
import { DELAY } from '$utils/contants' import { DELAY } from '$utils/constants'
import { seenLocations } from '$utils/stores' import { seenLocations } from '$utils/stores'
import { photoFields } from '$utils/api' import { photoFields } from '$utils/api'
import { PUBLIC_LIST_INCREMENT } from '$env/static/public' import { PUBLIC_LIST_INCREMENT } from '$env/static/public'

View File

@@ -14,7 +14,7 @@
import { stagger, timeline } from 'motion' import { stagger, timeline } from 'motion'
import { getAssetUrlKey } from '$utils/api' import { getAssetUrlKey } from '$utils/api'
import { previousPage } from '$utils/stores' import { previousPage } from '$utils/stores'
import { DELAY } from '$utils/contants' import { DELAY } from '$utils/constants'
import { throttle } from '$utils/functions' import { throttle } from '$utils/functions'
import { swipe } from '$utils/interactions/swipe' import { swipe } from '$utils/interactions/swipe'
// Components // Components

View File

@@ -11,7 +11,7 @@
import { animate, inView, stagger, timeline } from 'motion' import { animate, inView, stagger, timeline } from 'motion'
import { mailtoClipboard, map } from '$utils/functions' import { mailtoClipboard, map } from '$utils/functions'
import { getAssetUrlKey } from '$utils/api' import { getAssetUrlKey } from '$utils/api'
import { DELAY } from '$utils/contants' import { DELAY } from '$utils/constants'
import { quartOut } from '$animations/easings' import { quartOut } from '$animations/easings'
// Components // Components
import Metas from '$components/Metas.svelte' import Metas from '$components/Metas.svelte'

View File

@@ -7,7 +7,7 @@
import type { PageData } from './$types' import type { PageData } from './$types'
import { onMount } from 'svelte' import { onMount } from 'svelte'
import { stagger, timeline } from 'motion' import { stagger, timeline } from 'motion'
import { DELAY } from '$utils/contants' import { DELAY } from '$utils/constants'
import { quartOut } from 'svelte/easing' import { quartOut } from 'svelte/easing'
// Components // Components
import Metas from '$components/Metas.svelte' import Metas from '$components/Metas.svelte'

View File

@@ -12,7 +12,7 @@
import dayjs from 'dayjs' import dayjs from 'dayjs'
import relativeTime from 'dayjs/plugin/relativeTime' import relativeTime from 'dayjs/plugin/relativeTime'
import { stagger, timeline } from 'motion' import { stagger, timeline } from 'motion'
import { DELAY } from '$utils/contants' import { DELAY } from '$utils/constants'
import { map, lerp, throttle } from '$utils/functions' import { map, lerp, throttle } from '$utils/functions'
import { getAssetUrlKey } from '$utils/api' import { getAssetUrlKey } from '$utils/api'
import { quartOut } from '$animations/easings' import { quartOut } from '$animations/easings'

View File

@@ -7,7 +7,7 @@
import type { PageData } from './$types' import type { PageData } from './$types'
import { onMount } from 'svelte' import { onMount } from 'svelte'
import { stagger, timeline } from 'motion' import { stagger, timeline } from 'motion'
import { DELAY } from '$utils/contants' import { DELAY } from '$utils/constants'
import { quartOut } from '$animations/easings' import { quartOut } from '$animations/easings'
// Components // Components
import Metas from '$components/Metas.svelte' import Metas from '$components/Metas.svelte'

View File

@@ -7,5 +7,4 @@ export const DELAY = {
export const DURATION = { export const DURATION = {
PAGE_IN: 400, PAGE_IN: 400,
PAGE_OUT: 400, PAGE_OUT: 400,
PAGE_DELAY: 600,
} }