File size: 665 Bytes
9b0b55e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | // Mobile menu toggle functionality
document.addEventListener('DOMContentLoaded', () => {
// Mobile menu toggle would be implemented here
// Since we're using web components, this would need to be handled differently
// This is a placeholder for any shared JavaScript functionality
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href'))?.scrollIntoView({
behavior: 'smooth'
});
});
});
// Feather icons replacement (already being called in HTML)
}); |