CoolFace
Apppublic

rsdmu/linearlite-project-management-bliss

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
script.js18 linesDownload Raw Back to root
1// Mobile menu toggle functionality2document.addEventListener('DOMContentLoaded', () => {3  // Mobile menu toggle would be implemented here4  // Since we're using web components, this would need to be handled differently5  // This is a placeholder for any shared JavaScript functionality6  7  // Smooth scrolling for anchor links8  document.querySelectorAll('a[href^="#"]').forEach(anchor => {9    anchor.addEventListener('click', function (e) {10      e.preventDefault();11      document.querySelector(this.getAttribute('href'))?.scrollIntoView({12        behavior: 'smooth'13      });14    });15  });16  17  // Feather icons replacement (already being called in HTML)18});