-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAbout.html
More file actions
149 lines (87 loc) · 3.81 KB
/
About.html
File metadata and controls
149 lines (87 loc) · 3.81 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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<head>
<title>About</title>
<link rel="icon" href="Images/Brogrammerz.jpg">
<link rel="stylesheet" href="About.css">
</head>
<body>
<div class="body">
<nav>
<div class="logo-box">
<img src="Images/Brogrammerz.jpg" alt="Image Not Available">
</div>
<h1>About</h1>
<div class="logo-box">
<img src="Images/Brogrammerz.jpg" alt="Image Not Available">
</div>
</nav>
<hr>
<div class="profile-options">
<div class="profile-options-left">
<button onclick="ranking()">Ranking</button>
<button onclick="explore()">Explore</button>
</div>
<div class="profile-options-right">
<button onclick="your_profile()">Your Profile</button>
</div>
</div>
<hr>
<div class="about">
<p>
Brogrammerz is an online social directory of computer programmers around the world. The main goal of the
website is to be a centralized platform to connect with programmers both personally and profesionally.
<br> <br>
The website is "intentionally" made from scratch, without using any frameworks and libraries, just
vanilla HTML, CSS and JavaScript.
</p>
<hr>
<p>
<u>Connect With Brogrammerz</u> :-
<br>
Instagram - <a href="https://instagram.com/thebrogrammerz"
target="_blank">https://instagram.com/thebrogrammerz</a> <br>
Facebook - <a href="https://facebook.com/thebrogrammerz"
target="_blank">https://facebook.com/thebrogrammerz</a> <br>
Twitter - <a href="https://twitter.com/thebrogrammerz"
target="_blank">https://twitter.com/thebrogrammerz</a> <br>
E-Mail - <a href="mailto:thebrogrammerz@gmail.com" target="_blank">thebrogrammerz@gmail.com</a>
</p>
<hr>
<p>
Founder - <a href="https://hitarthpathak.github.io" target="_blank">Hitarth Pathak</a>
</p>
</div>
<hr>
<footer>
<span>© <a href="https://hitarthpathak.github.io" target="_blank">Hitarth Pathak</a></span>
</footer>
</div>
</body>
<script>
let brogrammerz = JSON.parse(localStorage.getItem("brogrammerz")) || [];
let logged_in_user_email = JSON.parse(localStorage.getItem("logged-in-user-email")) || "";
// ------------------------------------------------------------------------------------------------
let logged_in_user = brogrammerz.find((filter_user) => {
return filter_user.email == logged_in_user_email;
});
// ------------------------------------------------------------------------------------------------
window.addEventListener("load", () => {
if (!logged_in_user) {
alert("User Is Not Logged In! Redirecting To Login Page.");
location = "index.html";
};
});
// ------------------------------------------------------------------------------------------------
function your_profile() {
location = "Profile.html";
};
// ------------------------------------------------------------------------------------------------
function ranking() {
location = "Ranking.html";
};
// ------------------------------------------------------------------------------------------------
function explore() {
location = "Explore.html";
};
</script>
</html>