fix: replace navbar with responsive desktop and mobile layout

هذا الالتزام موجود في:
Abdul Kareem
2026-03-23 02:39:53 +03:00
الأصل dc508f1550
التزام ab652497a1
3 ملفات معدلة مع 199 إضافات و95 حذوفات

عرض الملف

@@ -26,6 +26,14 @@
menuToggle.classList.remove('is-open');
menuToggle.setAttribute('aria-expanded', 'false');
});
window.addEventListener('resize', function () {
if (window.innerWidth > 900) {
navMenu.classList.remove('is-open');
menuToggle.classList.remove('is-open');
menuToggle.setAttribute('aria-expanded', 'false');
}
});
}
if ('IntersectionObserver' in window) {