File size: 768 Bytes
18989ef
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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);
});