footer: add footer loader

This commit is contained in:
2026-06-03 03:42:39 +07:00
parent b7c10621b1
commit 42429b1509
29 changed files with 39 additions and 101 deletions
+1 -6
View File
@@ -1,9 +1,4 @@
// Load footer
fetch("components/footer/footer.html")
.then((response) => response.text())
.then((data) => {
document.getElementById("footer").innerHTML = data;
});
// views/homePages/homeMain.js
// MANUAL BANNER SLIDESHOW FUNCTIONALITY
document.addEventListener("DOMContentLoaded", function () {