-
Notifications
You must be signed in to change notification settings - Fork 0
/
enb005.html
108 lines (76 loc) · 3.22 KB
/
enb005.html
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html>
<head>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css">
<!-- Google Font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap" rel="stylesheet">
<!-------->
<style>
* {
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.navMenu {
font-family: 'Advent Pro', sans-serif;
padding: 8px;
text-align: center;
margin: 7px auto;
width: fit-content;
}
.navMenu a {
color: #ffffff;
text-decoration: none;
text-transform: uppercase;
display: inline-block;
padding: 6px;
}
.background {
background-color: #191919;
}
.border {
border: 1px solid #cccccc;
}
.navMenu a:hover {
color: #bfb5b4;
}
</style>
</head>
<body>
<nav class="navMenu border background">
<a id="home" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-house fa-2x" style="font-size:2x;color:#345eeb"></i></a>
<a id="inbox" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-inbox fa-2x" style="font-size:2x;color:#ffffff"></i></a>
<a id="week" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-calendar-week fa-2x" style="font-size:2x;color:#0acf7d"></i></a>
<a id="projects" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-briefcase fa-2x" style="font-size:2x;color:#eb6434"></i></a>
<a id="tasks" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-square-check fa-2x" style="font-size:2x;color:#0a97cf"></i></a>
<a id="business" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-piggy-bank fa-2x" style="font-size:2x;color:#cf0a1e"></i></a>
<a id="knowledge" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-lightbulb fa-2x" style="font-size:2x;color:#cfb80a"></i></a>
</nav>
<script>
let direction = "horizontal";
if (direction === "vertical") {
document.head.insertAdjacentHTML("beforeend", `<style>.navMenu a {display: block; text-align:left; margin:7px} i{width:15px; margin-right:5px} .navMenu{margin:3px}</style>`)
}
function navigate(id) {
if (id == 'home')
window.open("https://www.notion.so/HTML-Navigation-Bar-HOME-558712b9406047a4be01ea2b941ef4b4?pvs=4", '_top').focus();
else if (id == "inbox")
window.open("https://www.notion.so/INBOX-2aa146bf378b477bbc0474b5ef63ba96?pvs=4", '_top').focus();
else if (id == "week")
window.open("https://www.notion.so/PLANNER-285d4ebedb6348878d781d0cefc75344?pvs=4", '_top').focus();
else if (id == "projects")
window.open("https://www.notion.so/PROJECTS-edd2b481d65b40c1ae203fc2f14344c3?pvs=4", '_top').focus();
else if (id == "business")
window.open("https://www.notion.so/BUSINESS-48ffa00b5bcb457ba47aef2e9d55b1a1?pvs=4", '_top').focus();
else if (id == "tasks")
window.open("https://www.notion.so/TASKS-990de3fba1824ebeb0d5c2dff81b2327?pvs=4", '_top').focus();
else if (id == "knowledge")
window.open("https://www.notion.so/KNOWLEDGE-88bb5df7b2ca4123937f2284d8308525?pvs=4", '_top').focus();
}
</script>
</body>
</html>