menu ok graphiquement et page 404 ok

This commit is contained in:
2026-07-02 10:14:49 +00:00
parent 849d7f1350
commit dedf5f1964
10 changed files with 514 additions and 47 deletions
+12
View File
@@ -0,0 +1,12 @@
document.addEventListener('DOMContentLoaded', function () {
const menuButtons = document.querySelectorAll('.menu-button[data-target]');
menuButtons.forEach((button) => {
button.addEventListener('click', () => {
const target = button.getAttribute('data-target');
if (target) {
window.location.href = target;
}
});
});
});