docs(home): improve pro animation start time

This commit is contained in:
Benjamin Canac
2024-02-07 14:31:57 +01:00
parent 0c8a649035
commit cf818fba47

View File

@@ -700,9 +700,9 @@ function getStepY (step: number) {
// Hooks
onMounted(() => {
nextTick(() => {
start.value = top.value
})
setTimeout(() => {
start.value = top.value + y.value
}, 100)
})
// Slots Data