diff --git a/index.html b/index.html index a95bb39..11e0f8d 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,7 @@ - +
diff --git a/scripts/load-navbar.js b/scripts/load-navbar.js new file mode 100644 index 0000000..058c6d0 --- /dev/null +++ b/scripts/load-navbar.js @@ -0,0 +1,9 @@ +fetch('https://raw.githubusercontent.com/arkflame/FlameCord-Page/main/scripts/navbar.js') + .then(response => response.text()) + .then(data => { + const script = document.createElement('script'); + script.type = 'module'; + script.textContent = data; + document.head.appendChild(script); + }) + .catch(error => console.error('Error loading script:', error)); \ No newline at end of file