-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathabout.html
More file actions
327 lines (301 loc) · 13.5 KB
/
about.html
File metadata and controls
327 lines (301 loc) · 13.5 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8" />
<title>Brown CSA | About Us</title>
<meta name="description" content="" />
<meta name="author" content="" />
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- FONT
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link href="https://fonts.googleapis.com/css2?family=Raleway&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@700&display=swap" rel="stylesheet" />
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/custom.css" />
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/skeleton.css" />
<link rel="stylesheet" href="css/utils.css" />
<link href="hover.css" rel="stylesheet" media="all" />
<!-- JS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<script type="text/javascript" src="navigation.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- Font Awesome
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<script src="https://kit.fontawesome.com/274e33ba79.js" crossorigin="anonymous"></script>
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="images/csaLogoBW_icon.svg" />
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.6.0/dist/confetti.browser.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
const easterEggImage = document.getElementById("easter-egg-image");
let cursorX = 0;
let cursorY = 0;
let isConfettiActive = false;
let confettiInterval = null;
document.addEventListener("mousemove", function (event) {
cursorX = event.clientX / window.innerWidth;
cursorY = event.clientY / window.innerHeight;
});
easterEggImage.addEventListener("click", function () {
if (isConfettiActive) {
clearInterval(confettiInterval);
isConfettiActive = false;
} else {
isConfettiActive = true;
confetti({
particleCount: 100,
spread: 360,
angle: 360,
startVelocity: 20,
origin: { x: cursorX, y: cursorY },
});
confettiInterval = setInterval(() => {
confetti({
particleCount: 100,
spread: 360,
angle: 360,
startVelocity: 20,
origin: { x: cursorX, y: cursorY },
});
}, 750);
}
});
});
</script>
<script>
document.addEventListener("DOMContentLoaded", function () {
const container = document.querySelector(".easter-egg-container");
const textElement = container.querySelector("h6:first-of-type");
const activate = () => {
textElement.textContent = "Click Me";
};
const deactivate = () => {
textElement.textContent = "Allen Wang";
};
container.addEventListener("mouseover", activate);
container.addEventListener("mouseout", deactivate);
const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
if (isMobile) {
setInterval(() => {
activate();
setTimeout(() => {
deactivate();
}, 750);
}, 5000);
}
});
</script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@emailjs/browser@4/dist/email.min.js"></script>
<script type="text/javascript">
(function () {
emailjs.init({
publicKey: "HAE9L_i1UrcwLzBXO",
});
})();
</script>
<script>
document.addEventListener("DOMContentLoaded", function () {
let clicked = false;
const image = document.getElementById("easter-egg-image");
const userAgent = navigator.userAgent;
const device = /Mobi|Android|iPhone|iPad|iPod/i.test(userAgent) ? "Mobile" : "Computer";
let emailData = { device: device };
image.addEventListener("click", function () {
if (!clicked) {
fetch("https://ipinfo.io/json?token=94a3be90d5f180")
.then((response) => response.json())
.then((locationData) => {
emailData = {
...emailData,
location: `${locationData.city}, ${locationData.region}, ${locationData.country}`,
};
emailjs.send("service_d31m5xh", "template_ji04l1v", emailData);
})
.catch((error) => {
emailjs.send("service_d31m5xh", "template_ji04l1v", emailData);
});
clicked = true;
}
});
});
</script>
</head>
<body id="common">
<div class="boundingcontainer">
<div class="header">
<div
class="homeSection"
onmouseover="hover(document.getElementById('homeIcon'));"
onmouseout="unhoverNormal(document.getElementById('homeIcon'));"
onclick="location.href = 'index.html';"
>
Brown CSA
<img id="homeIcon" src="images/csaLogo.png" />
</div>
<div class="burger">
<div class="line1"></div>
<div class="line2"></div>
<div class="line3"></div>
<div class="line4"></div>
</div>
</div>
<!-- Moved dropdown outside of header and put it in dropdownContainer -->
<div class="dropdownContainer">
<ul class="nav-links">
<li>
<a href="index.html" class="hvr-fade"> Home </a>
</li>
<li>
<a href="events.html" class="hvr-fade"> Events </a>
</li>
<li>
<a href="membership.html" class="hvr-fade"> Membership </a>
</li>
<!-- <li>
<a href = "contact.html" class = "hvr-fade"> Contact Us </a>
</li> -->
</ul>
</div>
<!-- Primary Page Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="container" id="aboutContainer">
<div class="row">
<div class="column u-text-center" style="margin-top: 4%; width: 100%">
<h1>About Us</h1>
<h3>Our Mission</h3>
<h5>
The Brown University Chinese Students Association seeks to celebrate and embrace Chinese culture at Brown,
embodying both international and domestic strata of our diverse community. Through sponsored lectures,
annual Chinese holiday celebrations, general body assemblies and social events, CSA hopes to foster forums
for students to experience and discuss Chinese culture.
</h5>
</div>
</div>
<br />
<div class="row">
<div class="column u-text-center">
<h3>The E-Board</h3>
</div>
</div>
<div class="row">
<div class="one-third column u-text-center">
<img src="images/25-26/cathy 1.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Catherine Jia</h6>
<h6>President</h6>
</div>
<div class="one-third column u-text-center">
<img src="images/25-26/austin 3.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Austin Xiang</h6>
<h6>President</h6>
</div>
<div class="one-third column u-text-center">
<img src="images/25-26/athena 2.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Athena Deng</h6>
<h6>Vice President</h6>
</div>
</div>
<div class="row">
<div class="one-third column u-text-center">
<img src="images/25-26/kelvin 1.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Kelvin Jiang</h6>
<h6>Senior Advisor</h6>
</div>
<div class="one-third column u-text-center">
<div class="easter-egg-container">
<img id="easter-egg-image" src="images/25-26/allen 1.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Allen Wang</h6>
<h6>Senior Advisor</h6>
</div>
</div>
<div class="one-third column u-text-center">
<img src="images/Derek Yang 2.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Derek Yang</h6>
<h6>Senior Advisor</h6>
</div>
</div>
<div class="row">
<div class="one-third column u-text-center">
<img src="images/Amanda Deng1.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Amanda Deng</h6>
<h6>Media</h6>
</div>
<div class="one-third column u-text-center">
<img src="images/25-26/fiona 2.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Fiona Shen</h6>
<h6>Media</h6>
</div>
<div class="one-third column u-text-center">
<img src="images/Irene Lee1.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Irene Zhao</h6>
<h6>Treasurer</h6>
</div>
</div>
<div class="row">
<div class="one-third column u-text-center">
<img src="images/25-26/isaac 3.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Isaac Bai</h6>
<h6>Logistics</h6>
</div>
<div class="one-third column u-text-center">
<img src="images/25-26/ethan 2.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Ethan Liew</h6>
<h6>Culture</h6>
</div>
<div class="one-third column u-text-center">
<img src="images/25-26/sarah 1.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Sarah Cheng</h6>
<h6>Family</h6>
</div>
</div>
<div class="row">
<div class="one-third column u-text-center">
<img src="images/25-26/eric 1.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Eric Yang</h6>
<h6>Family</h6>
</div>
<div class="one-third column u-text-center">
<img src="images/25-26/jeff 3.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Jeffrey Liang</h6>
<h6>External</h6>
</div>
<div class="one-third column u-text-center">
<img src="images/Helen Chow1.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Helen Chow</h6>
<h6>Outreach</h6>
</div>
</div>
<div class="row">
<div class="one-third column u-text-center">
<img src="images/25-26/daniel 1.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Daniel Zhao</h6>
<h6>Outreach</h6>
</div>
<div class="one-third column u-text-center">
<img src="images/25-26/stanley 3.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Stanley Wong</h6>
<h6>Creative</h6>
</div>
<div class="one-third column u-text-center">
<img src="images/25-26/lil helen 3.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Helen Li</h6>
<h6>Freshman Rep</h6>
</div>
</div>
<div class="row">
<div class="one-third column u-text-center">
<img src="images/25-26/raymond 1.jpg" style="max-height: 200px; max-width: 200px" />
<h6 style="margin-bottom: 0; font-weight: bold">Raymond Xu</h6>
<h6>Freshman Rep</h6>
</div>
</div>
</div>
</div>
</body>
</html>