-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
633 lines (552 loc) · 24.5 KB
/
index.html
File metadata and controls
633 lines (552 loc) · 24.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
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T39LJ72QFL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-T39LJ72QFL');
</script>
<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "8502e35b873b4becad641200564f6c41"}'></script><!-- End Cloudflare Web Analytics -->
<!-- GoatCounter Analytics -->
<script data-goatcounter="https://yizhouyu.goatcounter.com/count"
async src="//gc.zgo.at/count.js"></script>
<!-- End GoatCounter Analytics -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Yizhou Yu</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><linearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' style='stop-color:%233b82f6'/><stop offset='100%25' style='stop-color:%231e40af'/></linearGradient></defs><rect width='100' height='100' rx='20' fill='url(%23grad)'/><text x='50' y='70' font-family='system-ui,sans-serif' font-size='55' font-weight='bold' fill='white' text-anchor='middle'>YY</text></svg>">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
line-height: 1.6;
color: #2d3748;
background: #f7fafc;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
transition: background-color 0.3s ease, color 0.3s ease;
}
body.dark-mode {
background: #1a202c;
color: #e2e8f0;
}
.container {
background: white;
border-radius: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
max-width: 800px;
width: 100%;
padding: 60px 40px;
animation: fadeIn 0.6s ease-in;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
body.dark-mode .container {
background: #2d3748;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.header {
display: flex;
align-items: center;
gap: 40px;
margin-bottom: 40px;
padding-bottom: 30px;
}
.profile-picture {
width: 200px;
height: 200px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease;
}
.profile-picture:hover {
transform: scale(1.05);
}
.header-info {
flex: 1;
text-align: left;
}
h1 {
font-size: 2.5em;
color: #2d3748;
margin-bottom: 10px;
font-weight: 700;
}
body.dark-mode h1 {
color: #f7fafc;
}
.subtitle {
font-size: 1.3em;
color: #3b82f6;
font-weight: 500;
margin-bottom: 15px;
}
.tagline {
color: #718096;
font-size: 1.1em;
}
body.dark-mode .tagline {
color: #a0aec0;
}
.section {
margin: 30px 0;
}
.section h2 {
color: #2d3748;
font-size: 1.5em;
margin-bottom: 15px;
padding-left: 15px;
border-left: 4px solid #3b82f6;
}
body.dark-mode .section h2 {
color: #f7fafc;
}
.section p {
color: #4a5568;
margin-bottom: 10px;
line-height: 1.8;
}
body.dark-mode .section p {
color: #cbd5e0;
}
.section p strong {
color: #2d3748;
}
body.dark-mode .section p strong {
color: #e2e8f0;
}
.section p a {
color: #3b82f6;
}
body.dark-mode .section p a {
color: #63b3ed;
}
.links {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
margin-top: 30px;
}
.link-button {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
color: white;
text-decoration: none;
border: none;
border-radius: 50px;
font-size: 1em;
font-weight: 500;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
cursor: pointer;
}
.link-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
.link-button svg {
width: 20px;
height: 20px;
}
.skills {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 15px;
}
.skill-tag {
background: #edf2f7;
color: #4a5568;
padding: 8px 16px;
border-radius: 20px;
font-size: 0.9em;
font-weight: 500;
}
body.dark-mode .skill-tag {
background: #4a5568;
color: #e2e8f0;
}
.theme-toggle {
position: fixed;
top: 20px;
right: 20px;
background: white;
border: 2px solid #e2e8f0;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 1.5em;
transition: all 0.3s ease;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
body.dark-mode .theme-toggle {
background: #2d3748;
border-color: #4a5568;
}
.theme-toggle:hover {
transform: scale(1.1);
}
.header {
border-bottom: 2px solid #e2e8f0;
}
body.dark-mode .header {
border-bottom-color: #4a5568;
}
.footer-section {
border-top: 2px solid #e2e8f0;
}
body.dark-mode .footer-section {
border-top-color: #4a5568;
}
@media (max-width: 600px) {
.container {
padding: 40px 25px;
}
h1 {
font-size: 2em;
}
.subtitle {
font-size: 1.1em;
}
.links {
flex-direction: column;
}
.link-button {
width: 100%;
justify-content: center;
}
.header {
flex-direction: column;
text-align: center;
}
.header-info {
text-align: center;
}
.profile-picture {
width: 150px;
height: 150px;
}
}
.emoji {
font-style: normal;
}
.contact-form-container {
max-width: 600px;
margin: 20px auto 0;
overflow: hidden;
transition: all 0.3s ease;
}
.contact-form {
margin-top: 20px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
color: #2d3748;
font-weight: 500;
}
body.dark-mode .form-group label {
color: #e2e8f0;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 12px 16px;
border: 2px solid #e2e8f0;
border-radius: 8px;
font-size: 1em;
font-family: inherit;
transition: border-color 0.3s ease;
background: white;
color: #2d3748;
}
body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
background: #1a202c;
border-color: #4a5568;
color: #e2e8f0;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: #3b82f6;
}
.form-group textarea {
resize: vertical;
min-height: 120px;
}
.submit-button {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 32px;
background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
color: white;
border: none;
border-radius: 50px;
font-size: 1em;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.submit-button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
.submit-button:active {
transform: translateY(0);
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<img src="data/profile.jpg" alt="Yizhou Yu" class="profile-picture">
<div class="header-info">
<h1>Yizhou Yu</h1>
<div class="subtitle">Software Engineer @ Meta</div>
<div class="tagline">Leveraging AI to boost productivity in experimentation</div>
</div>
</div>
<div class="section">
<h2>About Me</h2>
<p>
I'm a software engineer at Meta, living in Jersey City with my wife and working at the New York City office. Originally from Shanghai, China, I speak
Chinese (native), English, and French. I work on the AI for Experimentation team within the Central
Products org, where I leverage AI to boost productivity in experimentation. I previously interned at
Meta before joining full-time. I'm passionate about leveraging AI to solve complex technical
challenges and create impactful solutions.
</p>
<p>
As a power user of both ChatGPT and Claude Code, I'm constantly exploring how AI can enhance
productivity and creativity in software development.
</p>
<p>
Beyond code, I'm a content creator on <a href="https://www.youtube.com/@yizhou8888" target="_blank" style="color: #3b82f6; text-decoration: none; font-weight: 500;">YouTube</a>, primarily focused on
travel vlogs. I love exploring new places and sharing those experiences with others.
</p>
<p>
I'm also a proud cat parent to <a href="https://www.instagram.com/little.humi/" target="_blank" style="color: #3b82f6; text-decoration: none; font-weight: 500;">Humi</a>,
who has her own Instagram following!
</p>
</div>
<div class="section">
<h2>Experience</h2>
<p>
<strong>Meta</strong> - Software Engineer (July 2020 - Present)<br>
<em>New York City, NY</em>
</p>
<p style="margin-top: 10px; margin-left: 20px;">
<strong>Experimentation Platform - AI for Experimentation</strong> (June 2025 - Present)<br>
<span style="color: #718096;">Central Product Platform</span><br>
Enable Meta to make better and faster decisions through experimentation using AI
</p>
<p style="margin-top: 10px; margin-left: 20px;">
<strong>AI for Analytics</strong> (January 2025 - June 2025)<br>
<span style="color: #718096;">Central Product Platform</span><br>
Built AI Agents to boost productivity in analytics use cases
</p>
<p style="margin-top: 10px; margin-left: 20px;">
<strong>Experimentation Platform - Analysis & Review</strong> (August 2022 - January 2025)<br>
<span style="color: #718096;">Central Product Platform</span><br>
Built compute infrastructure to power the next generation of Deltoid, Meta's A/B test evaluation tool
</p>
<p style="margin-top: 10px; margin-left: 20px;">
<strong>Applied Privacy Technology</strong> (September 2020 - July 2022)<br>
<span style="color: #718096;">Privacy Infrastructure</span><br>
Designed and deployed privacy preserving solutions based on advanced cryptographic and statistical techniques (e.g. differential privacy)
</p>
<p style="margin-top: 15px;">
<strong>Point72</strong> - Software Engineering Intern (June 2019 - August 2019)<br>
<em>New York City, NY</em>
</p>
<p style="margin-top: 10px; margin-left: 20px;">
Market Intelligence Data - Platform Team
</p>
<p style="margin-top: 15px;">
<strong>Meta</strong> - Software Engineering Intern (May 2018 - August 2018)<br>
<em>New York City, NY</em>
</p>
<p style="margin-top: 10px; margin-left: 20px;">
Local Search
</p>
</div>
<div class="section">
<h2>Education</h2>
<p>
<strong>Cornell University</strong> (2019-2020) - M.Eng. in Computer Science
<br>
GPA: 4.094 / 4.3 | Early Admission Program
</p>
<p style="margin-top: 15px;">
<strong>Cornell University</strong> (2016-2019) - B.S. in Computer Science, <em>Summa Cum Laude</em>
<br>
GPA: 4.049 / 4.3 | Minors in Operations Research and French | Dean's List all semesters
<br>
Jonathan E. Marx Memorial Senior Prize
</p>
</div>
<div class="section">
<h2>Technical Skills</h2>
<div class="skills">
<span class="skill-tag">Python</span>
<span class="skill-tag">PHP/Hack</span>
<span class="skill-tag">Java</span>
<span class="skill-tag">JavaScript</span>
<span class="skill-tag">AI Agents</span>
<span class="skill-tag">RAG</span>
<span class="skill-tag">Multi-Agent Systems</span>
<span class="skill-tag">Distributed Systems</span>
<span class="skill-tag">Blockchain</span>
</div>
</div>
<div class="section">
<h2>Explore More</h2>
<div class="links">
<a href="blog/" class="link-button">
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-4.86 8.86l-3 3.87L9 13.14 6 17h12l-3.86-5.14z"/>
</svg>
Blog
</a>
<a href="weeks/" class="link-button">
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/>
</svg>
My Life in Weeks
</a>
</div>
</div>
<div class="section">
<h2>Connect With Me</h2>
<div class="links">
<button class="link-button" onclick="toggleContactForm()">
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/>
</svg>
Email
</button>
<a href="https://github.com/yizhouyu" class="link-button" target="_blank">
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
</svg>
GitHub
</a>
<a href="https://www.linkedin.com/in/yizhouyu/" class="link-button" target="_blank">
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>
</svg>
LinkedIn
</a>
<a href="https://www.youtube.com/@yizhou8888" class="link-button" target="_blank">
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/>
</svg>
YouTube
</a>
<a href="https://www.instagram.com/yizhou8888" class="link-button" target="_blank">
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"/>
</svg>
Instagram
</a>
</div>
<div id="contactFormContainer" class="contact-form-container" style="display: none;">
<form id="contactForm" action="https://api.web3forms.com/submit" method="POST" class="contact-form">
<input type="hidden" name="access_key" value="b1ac57ef-a5b9-40ee-86a0-06d366cd6c24">
<input type="hidden" name="subject" value="New message from yizhouyu.dev">
<input type="hidden" name="redirect" value="https://web3forms.com/success">
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" name="message" rows="5" required></textarea>
</div>
<button type="submit" class="submit-button">
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" style="width: 20px; height: 20px;">
<path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/>
</svg>
Send Message
</button>
</form>
</div>
</div>
<div class="section footer-section" style="text-align: center; margin-top: 40px; padding-top: 30px;">
<p style="color: #a0aec0; font-size: 0.9em;">
<span class="emoji">👋</span> Thanks for visiting!
</p>
</div>
</div>
<button class="theme-toggle" id="themeToggle" onclick="toggleTheme()" aria-label="Toggle dark mode">
<span id="themeIcon">🌙</span>
</button>
<script>
// Check for saved theme preference or default to light mode
const currentTheme = localStorage.getItem('theme') || 'light';
if (currentTheme === 'dark') {
document.body.classList.add('dark-mode');
document.getElementById('themeIcon').textContent = '☀️';
}
function toggleTheme() {
document.body.classList.toggle('dark-mode');
const isDark = document.body.classList.contains('dark-mode');
// Update icon
document.getElementById('themeIcon').textContent = isDark ? '☀️' : '🌙';
// Save preference
localStorage.setItem('theme', isDark ? 'dark' : 'light');
}
function toggleContactForm() {
const formContainer = document.getElementById('contactFormContainer');
if (formContainer.style.display === 'none' || formContainer.style.display === '') {
formContainer.style.display = 'block';
// Scroll to the form smoothly
setTimeout(() => {
formContainer.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
}, 100);
} else {
formContainer.style.display = 'none';
}
}
</script>
</body>
</html>