diff --git a/client/html/components/header.html b/client/html/components/header.html new file mode 100644 index 0000000..14dd787 --- /dev/null +++ b/client/html/components/header.html @@ -0,0 +1,58 @@ + + + + + Home - Valkyrie + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/client/js/header.js b/client/js/header.js new file mode 100644 index 0000000..81c2204 --- /dev/null +++ b/client/js/header.js @@ -0,0 +1,8 @@ +document.addEventListener("DOMContentLoaded", function() { + fetch('/html/components/header.html') + .then(response => response.text()) + .then(data => { + document.head.innerHTML = data; + }) + .catch(error => console.error('Error loading head component:', error)); +}); \ No newline at end of file diff --git a/uploads/1728137363194-OIP.jpg b/uploads/1728137363194-OIP.jpg new file mode 100644 index 0000000..03b0ec0 Binary files /dev/null and b/uploads/1728137363194-OIP.jpg differ