Spaces:
Running
Running
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 Download script.js from Aicsol/sales-engineering-dynamo: direct link, hf CLI and curl.
- Browser
- Download file 839 Bytes
-
https://huggingface.co/spaces/Aicsol/sales-engineering-dynamo/resolve/main/script.js
- Command line
-
hf download hf://spaces/Aicsol/sales-engineering-dynamo/script.js
-
curl -L -o script.js https://huggingface.co/spaces/Aicsol/sales-engineering-dynamo/resolve/main/script.js
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) |