Add delay on SiteTitle reveal animation
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script lang="ts">
|
||||
import SplitText from '$components/SplitText.svelte'
|
||||
import { reveal, fly } from '$animations/index'
|
||||
import { DURATION } from '$utils/contants'
|
||||
|
||||
export let variant: string = 'lines'
|
||||
export let tag: string = 'h1'
|
||||
@@ -16,6 +17,7 @@
|
||||
duration: 1000,
|
||||
from: '110%',
|
||||
opacity: false,
|
||||
delay: DURATION.PAGE_IN
|
||||
},
|
||||
threshold: 0,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user