Update corporate training workflow and animation improvements
- Replace 'Innovate with us' with 'Assessment of current skillset' in corporate training workflow - Adjust tech cards animation speed (5s to 8s duration) - Reduce testimonials section spacing and container height - Add hover pause functionality for tech and testimonial marquees - Various layout and animation optimizations
This commit is contained in:
@@ -73,8 +73,8 @@ function initScrollEffects() {
|
||||
|
||||
// Animate elements when they enter viewport
|
||||
function initScrollAnimations() {
|
||||
// Exclude hero content from scroll animations to prevent layout shifts
|
||||
const animatedElements = document.querySelectorAll('.exp-item, .section-heading, .btn-primary:not(#hero .btn-primary)');
|
||||
// Exclude hero content and all purple buttons from scroll animations to prevent layout shifts
|
||||
const animatedElements = document.querySelectorAll('.exp-item, .section-heading');
|
||||
|
||||
// Ensure hero content is always visible and stable
|
||||
const heroContent = document.querySelector('#hero .hero-content');
|
||||
|
||||
Reference in New Issue
Block a user