Skip to content

Commit f76403d

Browse files
committed
chore(project): created components/ for nav and footer, updated loader.js accordingly
1 parent f7266a3 commit f76403d

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

assets/js/loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ function loadHTML(selector, file) {
1212
}
1313

1414
document.addEventListener("DOMContentLoaded", () => {
15-
loadHTML("#nav-container", "nav.html");
16-
loadHTML("#footer-container", "footer.html")
15+
loadHTML("#nav-container", "components/nav.html");
16+
loadHTML("#footer-container", "components/footer.html")
1717
});
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)