diff --git a/src/routes/index.svelte b/src/routes/index.svelte index 2d5b49d..d790d93 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -26,20 +26,20 @@ onMount(() => { // Setup animations - const introTimeline = anime.timeline({ + const timeline = anime.timeline({ duration: 1600, easing: 'easeOutQuart', }) // Reveal text - introTimeline.add({ + timeline.add({ targets: '.homepage__headline', translateY: [16, 0], opacity: [0, 1], }, 900) // Animate collage photos - introTimeline.add({ + timeline.add({ targets: '.homepage__collage .photo-card', translateY: ['33.333%', 0], rotate (item: HTMLElement) {