-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdtgbngbx3.html
111 lines (82 loc) · 4.17 KB
/
dtgbngbx3.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
109
110
111
<!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: #252525;
}
.border {
border: 1px solid #252525;
}
.navMenu a:hover {
color: #bfb5b4;
}
</style>
</head>
<body>
<nav class="navMenu border background">
<a id="workspacehome" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-gauge-high fa-2x" style="font-size:2x;color:#FF6347"></i></a>
<a id="teamspacehome" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-house-user fa-2x" style="font-size:2x;color:#00F0A8"></i></a>
<a id="fitness" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-person-running fa-2x" style="font-size:2x;color:#ffffff"></i></a>
<a id="habits" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-circle-check fa-2x" style="font-size:2x;color:#1DA0F1"></i></a>
<a id="stopwatch" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-stopwatch fa-2x" style="font-size:2x;color:#F1B907"></i></a>
<a id="weight" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-bell fa-2x" style="font-size:2x;color:#ffffff"></i></a>
<a id="targets" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-flag fa-2x" style="font-size:2x;color:#F44336"></i></a>
<a id="milestones" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-flag fa-2x" style="font-size:2x;color:#FFFF00"></i></a>
<a id="achievements" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-trophy fa-2x" style="font-size:2x;color:#E9AD07"></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 == 'workspacehome')
window.open("https://www.notion.so/abstract-general-workspace/Workspace-Dashboard-fca0e7bb3d894bf19165c86bb3310681?pvs=4", '_top').focus();
else if (id == "teamspacehome")
window.open("https://www.notion.so/abstract-general-workspace/Teamspace-Home-66a76e1ff6b34184b1ddc0e314bc5e49?pvs=4", '_top').focus();
else if (id == 'fitness')
window.open("https://www.notion.so/abstract-general-workspace/Analytical-Fitness-Tracker-1-1-82537db4d4c14ceda855b41f67db8976?pvs=4", '_top').focus();
else if (id == "habits")
window.open("https://www.notion.so/abstract-general-workspace/Analytical-Habit-Tracker-2-2-9f152717e0e9467aa17d26e7b8999de2?pvs=4", '_top').focus();
else if (id == "stopwatch")
window.open("https://www.notion.so/abstract-general-workspace/Advanced-Time-Tracker-1-2-894b0802d24e445990dff1349d7ee3ff?pvs=4", '_top').focus();
else if (id == "weight")
window.open("https://www.notion.so/abstract-general-workspace/Simple-Weight-Tracker-631530219bc046b9b5c1f94b2a06c928?pvs=4", '_top').focus();
else if (id == "targets")
window.open("https://www.notion.so/abstract-general-workspace/Daily-Milestone-Tracker-f307e7667a6c4c8f8b5ee975c1757e46?pvs=4", '_top').focus();
else if (id == "milestones")
window.open("https://www.notion.so/abstract-general-workspace/Personal-Milestone-Tracker-1b6647399a7c4e82b07f4a587fee93b9?pvs=4", '_top').focus();
else if (id == "achievements")
window.open("https://www.notion.so/abstract-general-workspace/Personal-Achievement-Tracker-e1443f4b19d0459e8abf295e51d9f8b1?pvs=4", '_top').focus();
}
</script>
</body>
</html>