Skip to content

Commit 097d23f

Browse files
committed
Merge branch 'master' of https://github.com/coderheck/maplib-open-source into pr/2
2 parents e9df256 + 96c6e34 commit 097d23f

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

moonwave.toml

+8-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ includeReadme = true
99

1010
[docusaurus]
1111
favicon = "https://coderheck.github.io/assets/TRIAosLogoGradient.png"
12-
scripts = [{src = "https://raw.githubusercontent.com/coderheck/coderheck.github.io/main/assets/test.js", async = false}]
12+
scripts = [{src = "https://raw.githubusercontent.com/coderheck/maplib-open-source/master/static/test.js", async = false}]
1313

1414
[[classOrder]]
1515
section = "MapLib"
@@ -25,12 +25,17 @@ classes = ["Janitor"]
2525

2626
[[navbar.items]]
2727
href = "https://discord.gg/tria"
28-
label = "Discord Server"
28+
html = "<img src='https://github.com/coderheck/maplib-open-source/blob/2ba3108d447a1a84830f0e20bdda57799406b3b7/static/636e0a6a49cf127bf92de1e2_icon_clyde_blurple_RGB.png' style='max-width: 30px'/>"
2929
position = "right"
3030

3131
[[navbar.items]]
3232
href = "https://www.roblox.com/games/6311279644/"
33-
label = "Game"
33+
html = "<img src='https://github.com/coderheck/maplib-open-source/blob/2ba3108d447a1a84830f0e20bdda57799406b3b7/static/latest.png' style='max-width: 30px'/>"
34+
position = "right"
35+
36+
[[navbar.items]]
37+
href = "https://github.com/coderheck/maplib-open-source"
38+
html = "<img src='https://github.com/coderheck/maplib-open-source/blob/2ba3108d447a1a84830f0e20bdda57799406b3b7/static/25231.png' style='max-width: 30px'/>"
3439
position = "right"
3540

3641
[footer]

static/test.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
console.log("WAR")
2+
3+
function WAR () {
4+
5+
const NavBarItems = document.querySelectorAll("a")
6+
console.log(document.querySelectorAll("a"))
7+
8+
for (i = 0; i < 8; i++) {
9+
10+
if (NavBarItems[i].innerHTML == 'GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_node_modules-@docusaurus-theme-classic-lib-theme-Icon-ExternalLink-styles-module"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg>') {
11+
12+
console.log("DOES THIS WORK")
13+
NavBarItems[i].innerHTML = ''
14+
}
15+
}
16+
}
17+
18+
setTimeout(WAR, 5000)

0 commit comments

Comments
 (0)