fix: instagram button too small

This commit is contained in:
Plexi09 2026-02-23 00:47:15 +01:00
parent 7fb6d9e9c6
commit 1c279ddc3d
Signed by: Plexi09
GPG key ID: 20D439A69163544A

View file

@ -318,14 +318,17 @@ document.addEventListener('DOMContentLoaded', () => {
// ── 17. CONTACT SECTION ANIMATION ──────────────────────────────────
const contactSection = document.getElementById('contact');
if (contactSection) {
gsap.from(contactSection.querySelectorAll('.social-link'), {
scrollTrigger: { trigger: contactSection, start: 'top 70%' },
scale: 0,
opacity: 0,
duration: 0.6,
stagger: 0.1,
ease: 'back.out(1.7)',
});
gsap.fromTo(contactSection.querySelectorAll('.social-link'),
{ scale: 0, opacity: 0 },
{
scrollTrigger: { trigger: contactSection, start: 'top 90%', toggleActions: 'play none none none' },
scale: 1,
opacity: 1,
duration: 0.6,
stagger: 0.1,
ease: 'back.out(1.7)',
}
);
}
});