CoolFace
Apppublic

qanalytics/quantum-impact-nexus

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
script.js18 linesDownload Raw Back to root
1document.addEventListener('DOMContentLoaded', () => {2    // Animate elements on scroll3    const observer = new IntersectionObserver((entries) => {4        entries.forEach(entry => {5            if (entry.isIntersecting) {6                entry.target.classList.add('animate-fade-in');7                observer.unobserve(entry.target);8            }9        });10    }, { threshold: 0.1 });11 12    document.querySelectorAll('section, custom-card').forEach(el => {13        observer.observe(el);14    });15 16    // Feather icons replacement17    feather.replace();18});