Aicsol's picture
Develop a one-page (scroll-to-next section) website for a Sales Strategy and Sales Coaching company called Aicsol Inc. The company helps B2B businesses across Africa build predictable, repeatable, and scalable sales functions. Unlike traditional approaches that focus only on lagging indicators like closed deals or revenue, Aicsol emphasizes leading indicators that drive sales performance and shape sales team behaviors.
a3cf36c verified
Raw History Blame Contribute Delete
839 Bytes
// Intersection Observer for scroll animations
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -50px 0px'
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('animate-fadeIn');
}
});
}, observerOptions);
document.querySelectorAll('section').forEach(section => {
observer.observe(section);
});
// Form handling
const contactForm = document.querySelector('form');
if (contactForm) {
contactForm.addEventListener('submit', (e) => {
e.preventDefault();
// Here you would typically send the form data
alert('Thank you for your message! We will get back to you soon.');
contactForm.reset();
});
}
// Mobile menu toggle (handled in navbar component)