| // Future voice input setup placeholder | |
| document.addEventListener('DOMContentLoaded', () => { | |
| // Voice input button functionality will be added here | |
| console.log('Aluna.Africa - Growing Sentient Systems'); | |
| // Add baobab watermark to body | |
| const watermark = document.createElement('div'); | |
| watermark.className = 'baobab-watermark'; | |
| document.body.appendChild(watermark); | |
| }); | |
| // Intersection Observer for scroll animations | |
| const observer = new IntersectionObserver((entries) => { | |
| entries.forEach(entry => { | |
| if (entry.isIntersecting) { | |
| entry.target.classList.add('animate-fadeIn'); | |
| } | |
| }); | |
| }, { | |
| threshold: 0.1 | |
| }); | |
| document.querySelectorAll('section').forEach(section => { | |
| observer.observe(section); | |
| }); |