Skip to content

Commit ce2fd7f

Browse files
zhensherlockcodex
andcommitted
docs: remove initial logo item entrance animations
Co-Authored-By: Codex <267193182+codex@users.noreply.github.com>
1 parent 5de9d3f commit ce2fd7f

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

apps/docs/.vitepress/theme/components/HomeAppLogoLoop.vue

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -102,23 +102,10 @@ const setupGsap = async () => {
102102
}
103103
104104
const tracks = gsap.utils.toArray<HTMLElement>(root.querySelectorAll('.logoTrack'))
105-
const items = gsap.utils.toArray<HTMLElement>(root.querySelectorAll('.logoItem'))
106-
107-
gsap.set(items, { autoAlpha: 1, y: 0, scale: 1 })
108-
109105
if (reduceMotion) {
110106
return undefined
111107
}
112108
113-
gsap.from(items, {
114-
autoAlpha: 0,
115-
y: 12,
116-
scale: 0.96,
117-
duration: 1,
118-
ease: 'power3.out',
119-
stagger: { amount: 0.65, from: 'center' },
120-
})
121-
122109
tracks.forEach((track, index) => {
123110
const reverse = index === 1
124111
const tween = gsap.fromTo(

0 commit comments

Comments
 (0)