-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloadExtras.js
More file actions
50 lines (47 loc) · 2.21 KB
/
Copy pathloadExtras.js
File metadata and controls
50 lines (47 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
function loadNavbar() {
document.getElementById("rwNavbar").innerHTML = `
<style>
.navbar-brand {
color: #ffffff;
}
.navbar {
border-radius: 0px;
}
html {
position: relative;
min-height: 100%;
}
</style>
<header>
<!-- Fixed navbar -->
<nav class="navbar navbar-expand-md navbar-dark fixed-top greyeyBlack">
<a class="navbar-brand" href="https://duckbiscuitdevs.github.io">DuckBiscuitDevs</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="https://duckbiscuitdevs.github.io/novobot">NovoBot</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://duckbiscuitdevs.github.io/devsapp">DevsApp</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://duckbiscuitdevs.github.io/botbiscuit">BotBiscuit</a>
</li>
</ul>
</div>
</nav>
</header>
`
}
function loadFooter() {
document.getElementById("rwFooter").style.width = "100%"
document.getElementById("rwFooter").style.textAlign = "center"
document.getElementById("rwFooter").style.position = "absolute"
document.getElementById("rwFooter").style.bottom = "10px"
document.getElementById("rwFooter").innerHTML = `
Page © <a href="https://dev801.github.io" style="color: var(--nv-white)">George-801/dev801</a> 2020 <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="Creative Commons License" style="border-width:0; height: 20px;" src="https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png" /></a><br /><small>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License</a></small>
`
}