feat: creation header composant html et js

This commit is contained in:
2025-12-11 16:14:47 +01:00
parent 63592a114d
commit c7aaa923af
9 changed files with 173 additions and 257 deletions

5
header-composant.js Normal file
View File

@@ -0,0 +1,5 @@
fetch("../../header-composant.html")
.then(response => response.text())
.then(data => {
document.getElementById("header-placeholder").innerHTML = data;
});