first commit

This commit is contained in:
support 2026-03-04 14:21:47 +00:00
commit ebc307fe04
114 changed files with 7748 additions and 0 deletions

17
js/include.js Normal file
View file

@ -0,0 +1,17 @@
async function loadIncludes() {
const includes = document.querySelectorAll("[data-include]");
for (const el of includes) {
const file = el.getAttribute("data-include");
if (!file) continue;
try {
const res = await fetch(file);
if (res.ok) {
el.innerHTML = await res.text();
} else {
console.error("Include failed:", file, res.status);
}
} catch (err) {
console.error("Include failed:", file, err);
}
}
}