basic site added

This commit is contained in:
Tben
2022-01-06 06:27:13 +01:00
parent 98aca4c433
commit 22215f3e1b
17 changed files with 6347 additions and 1858 deletions
+6
View File
@@ -0,0 +1,6 @@
document.querySelectorAll("nav a").forEach((link) => {
let locationRegex = new RegExp(`${window.location.pathname}.*?`);
if (link.pathname === window.location.pathname) {
link.classList.add("active-page");
}
});