Promote version 0bf9f0d to main
Browse filesPromoted commit 0bf9f0dea6dd6582fb06f46b22db98381d834caa to main branch
- index.html +44 -3
index.html
CHANGED
|
@@ -1360,8 +1360,48 @@ alt="Dynamics 365 Logistics Dashboard"
|
|
| 1360 |
</div>
|
| 1361 |
</div>
|
| 1362 |
</footer>
|
| 1363 |
-
|
| 1364 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1365 |
if (window.AOS) {
|
| 1366 |
AOS.init({
|
| 1367 |
duration: 800,
|
|
@@ -1374,6 +1414,7 @@ alt="Dynamics 365 Logistics Dashboard"
|
|
| 1374 |
|
| 1375 |
// Replace icons
|
| 1376 |
if (window.feather) feather.replace();
|
| 1377 |
-
|
|
|
|
| 1378 |
</body>
|
| 1379 |
</html>
|
|
|
|
| 1360 |
</div>
|
| 1361 |
</div>
|
| 1362 |
</footer>
|
| 1363 |
+
<script>
|
| 1364 |
+
// Mobile menu functionality
|
| 1365 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 1366 |
+
const mobileBtn = document.getElementById('mobile-menu-button');
|
| 1367 |
+
const mobileMenu = document.getElementById('mobile-menu');
|
| 1368 |
+
|
| 1369 |
+
if (mobileBtn && mobileMenu) {
|
| 1370 |
+
// Toggle menu
|
| 1371 |
+
mobileBtn.addEventListener('click', function() {
|
| 1372 |
+
const isExpanded = mobileMenu.classList.toggle('hidden');
|
| 1373 |
+
mobileBtn.setAttribute('aria-expanded', !isExpanded);
|
| 1374 |
+
|
| 1375 |
+
// Update icon
|
| 1376 |
+
const icon = mobileBtn.querySelector('i');
|
| 1377 |
+
icon.setAttribute('data-feather', isExpanded ? 'menu' : 'x');
|
| 1378 |
+
feather.replace();
|
| 1379 |
+
});
|
| 1380 |
+
|
| 1381 |
+
// Close menu when clicking on a link
|
| 1382 |
+
mobileMenu.querySelectorAll('a').forEach(link => {
|
| 1383 |
+
link.addEventListener('click', () => {
|
| 1384 |
+
mobileMenu.classList.add('hidden');
|
| 1385 |
+
mobileBtn.setAttribute('aria-expanded', 'false');
|
| 1386 |
+
const icon = mobileBtn.querySelector('i');
|
| 1387 |
+
icon.setAttribute('data-feather', 'menu');
|
| 1388 |
+
feather.replace();
|
| 1389 |
+
});
|
| 1390 |
+
});
|
| 1391 |
+
}
|
| 1392 |
+
|
| 1393 |
+
// Toggle dropdowns in mobile menu
|
| 1394 |
+
window.toggleMobileDropdown = function(id) {
|
| 1395 |
+
const dropdown = document.getElementById(id);
|
| 1396 |
+
const button = dropdown.previousElementSibling;
|
| 1397 |
+
const icon = button.querySelector('i');
|
| 1398 |
+
|
| 1399 |
+
dropdown.classList.toggle('hidden');
|
| 1400 |
+
icon.setAttribute('data-feather', dropdown.classList.contains('hidden') ? 'chevron-down' : 'chevron-up');
|
| 1401 |
+
feather.replace();
|
| 1402 |
+
};
|
| 1403 |
+
|
| 1404 |
+
// Initialize AOS if present
|
| 1405 |
if (window.AOS) {
|
| 1406 |
AOS.init({
|
| 1407 |
duration: 800,
|
|
|
|
| 1414 |
|
| 1415 |
// Replace icons
|
| 1416 |
if (window.feather) feather.replace();
|
| 1417 |
+
});
|
| 1418 |
+
</script>
|
| 1419 |
</body>
|
| 1420 |
</html>
|