Skip to content

Commit b5aba29

Browse files
authored
Update nav.html
1 parent 8197217 commit b5aba29

File tree

1 file changed

+17
-23
lines changed

1 file changed

+17
-23
lines changed

nav.html

+17-23
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css">
88

99
<!-- Google Font -->
10+
1011
<link rel="preconnect" href="https://fonts.googleapis.com">
1112
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1213
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@700&display=swap" rel="stylesheet">
14+
1315
<!-------->
1416

1517
<style>
@@ -22,7 +24,6 @@
2224

2325

2426
.navMenu {
25-
/* Change font family here */
2627
font-family: 'Advent Pro', sans-serif;
2728
padding: 8px;
2829
text-align: center;
@@ -31,7 +32,6 @@
3132
}
3233

3334
.navMenu a {
34-
/* Change font color here */
3535
color: #272727;
3636
text-decoration: none;
3737
text-transform: uppercase;
@@ -40,18 +40,16 @@
4040
}
4141

4242
.background {
43-
/* Change background color here */
4443
background-color: #ece5f0;
4544
}
4645

4746
.border {
48-
/* Change border color & thickness here */
4947
border: 1px solid #cccccc;
5048

5149
}
5250

5351
.navMenu a:hover {
54-
/* Change on hover font color here */
52+
5553
color: #d09c0b;
5654
}
5755
</style>
@@ -71,7 +69,6 @@
7169
<a id="notes" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-book"></i> Notes</a>
7270
<a id="media" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-bookmark"></i> Media</a>
7371
<a id="resourses" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-wrench"></i> Resourses</a>
74-
<a id="recipies" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-bowl-rice"></i> Recipes</a>
7572
<a id="lifewiki" onclick="navigate(this.id)" href="#"> <i class="fa-solid fa-heart"></i> Lifewiki</a>
7673

7774

@@ -81,8 +78,7 @@
8178

8279
<script>
8380

84-
let direction = "horizontal"; //Change nav bar direction here
85-
81+
let direction = "vertical";
8682
if (direction === "vertical") {
8783
document.head.insertAdjacentHTML("beforeend", `<style>.navMenu a {display: block; text-align:left; margin:7px} i{width:15px; margin-right:5px}</style>`)
8884
}
@@ -91,33 +87,31 @@
9187
function navigate(id) {
9288

9389
if (id == 'home')
94-
window.open("https://example.com", '_blank').focus();
90+
window.open("https://www.notion.so/Home-743cb734ac4c41ee90896e039f0dd917", '_blank').focus();
9591
else if (id == "inbox")
96-
window.open("https://example.com", '_blank').focus();
92+
window.open("https://www.notion.so/Inbox-91a8ce98118147d384c511c67833bb6d", '_blank').focus();
9793
else if (id == "week")
98-
window.open("https://example.com", '_blank').focus();
94+
window.open("https://www.notion.so/shorouk/This-Week-bd3171730a4c4a9097399770acde9882", '_blank').focus();
9995
else if (id == "month")
100-
window.open("https://example.com", '_blank').focus();
96+
window.open("https://www.notion.so/shorouk/This-Month-c18ee8ef9c754f088670caa55df0b0e0", '_blank').focus();
10197
else if (id == "projects")
102-
window.open("https://example.com", '_blank').focus();
98+
window.open("https://www.notion.so/Projects-e6745abbeaf0418aab7b9f6c57f3aba0", '_blank').focus();
10399
else if (id == "business")
104-
window.open("https://example.com", '_blank').focus();
100+
window.open("https://www.notion.so/shorouk/Business-Dashboard-75f3e1cb7d0a4895929ec5feed780e55", '_blank').focus();
105101
else if (id == "tasks")
106-
window.open("https://example.com", '_blank').focus();
107-
else if (id == "recipes")
108-
window.open("https://example.com", '_blank').focus();
102+
window.open("https://www.notion.so/Task-Manager-48ea6f04eaf24aa0889a5b5de34ea415", '_blank').focus();
109103
else if (id == "knowledge")
110-
window.open("https://example.com", '_blank').focus();
104+
window.open("https://www.notion.so/My-Knowledge-Base-7b003813544d478b9f61d813cfaefae5", '_blank').focus();
111105
else if (id == "topics")
112-
window.open("https://example.com", '_blank').focus();
106+
window.open("https://www.notion.so/Topics-Browser-bb6d50722de74a0e8cc2e678e76b0a44", '_blank').focus();
113107
else if (id == "notes")
114-
window.open("https://example.com", '_blank').focus();
108+
window.open("https://www.notion.so/The-Notebook-6939d2ac0fa84089a3c83ca657c9cdfb", '_blank').focus();
115109
else if (id == "media")
116-
window.open("https://example.com", '_blank').focus();
110+
window.open("https://www.notion.so/Multimedia-Library-74c4d2eea2fc4f25b3fdebaaea4de2c3", '_blank').focus();
117111
else if (id == "resourses")
118-
window.open("https://example.com", '_blank').focus();
112+
window.open("https://www.notion.so/Resources-Library-766dde1a6f1e4a3499b9d65a8013e5e3", '_blank').focus();
119113
else if (id == "lifewiki")
120-
window.open("https://example.com", '_blank').focus();
114+
window.open("https://www.notion.so/My-Life-wiki-51e257c76f984c2cb58858573a101989", '_blank').focus();
121115

122116
}
123117
</script>

0 commit comments

Comments
 (0)