fix: smooth zoom reveal on product panel image

This commit is contained in:
ordinarthur 2026-03-30 18:16:37 +02:00
parent 0e07c4acd6
commit 15d7f856cb

View File

@ -401,13 +401,13 @@ document.addEventListener('DOMContentLoaded', () => {
0.6 0.6
); );
// 7. Panel image — simple fade in, no scan/filter effect // 7. Panel image — smooth zoom reveal
const panelImg = document.getElementById('panel-img'); const panelImg = document.getElementById('panel-img');
if (panelImg) { if (panelImg) {
techTimeline.fromTo(panelImg, techTimeline.fromTo(panelImg,
{ opacity: 0 }, { opacity: 0, scale: 1.06 },
{ opacity: 0.92, duration: 0.8, ease: 'power2.out' }, { opacity: 0.92, scale: 1, duration: 1.2, ease: 'power2.out' },
0.05 0
); );
} }
} }