summaryrefslogtreecommitdiff
path: root/public/js/header.js
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-05-18 23:10:59 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-05-18 23:41:44 +0800
commitfc87c009806dcc98867f6b58efe29b042aa01dee (patch)
tree8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /public/js/header.js
parent3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff)
node: updatemain
Diffstat (limited to 'public/js/header.js')
-rw-r--r--public/js/header.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/public/js/header.js b/public/js/header.js
deleted file mode 100644
index 13e78b19..00000000
--- a/public/js/header.js
+++ /dev/null
@@ -1 +0,0 @@
-var header=document.querySelector("[header]"),mainHeader=document.createElement("div"),page=header.getAttribute("page");mainHeader.innerHTML="\n<!-- header -->\n<header id=\"navBarHeader\">\n\t<nav class=\"navBar\">\n\t\t<div class=\"hleft\">\n\t\t\t<a id=\"btnHome\" style=\"text-decoration: unset\" href=\"/\">Home<span></span></span></a>\n\t\t</div>\n\t\t<div class=\"hright\">\n\t\t\t<a href=\"/ghrepos\" id=\"btnGhRepo\" style=\"text-decoration: unset\">Github Repos</a>\n\t\t\t<a href=\"/about\" id=\"btnAbout\" style=\"text-decoration: unset\">About</a>\n\t\t</div>\n\t</nav> \n</header>\n",header.appendChild(mainHeader),document.getElementById("btn"+page).classList.add("active"),window.onscroll=function(){var header=document.querySelector("header");header.classList.toggle("minimizedIsland",100<window.scrollY)}; \ No newline at end of file