diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 8c89bb8..b5a7c1d 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -31,6 +31,10 @@ export class AppComponent { } ngAfterViewInit(): void { + this.addLangButtonAnimation(); + } + + addLangButtonAnimation() { const tl: gsap.core.Timeline = gsap.timeline({ scrollTrigger: { start: "top 90%%",