diff --git a/frontend/js/footer.js b/frontend/js/footer.js index 783776df..651d0867 100644 --- a/frontend/js/footer.js +++ b/frontend/js/footer.js @@ -1,3 +1,13 @@ +if (!document.querySelector("link[data-font-awesome]")) { + const iconStylesheet = document.createElement("link"); + iconStylesheet.rel = "stylesheet"; + iconStylesheet.href = + "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css"; + iconStylesheet.setAttribute("data-font-awesome", "true"); + + document.head.appendChild(iconStylesheet); +} + document.addEventListener("DOMContentLoaded", () => { if ( window.location.pathname.includes("index.html") || @@ -40,14 +50,33 @@ document.addEventListener("DOMContentLoaded", () => { +

socials

+ +