-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteam.html
More file actions
490 lines (481 loc) · 23.9 KB
/
Copy pathteam.html
File metadata and controls
490 lines (481 loc) · 23.9 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
<!DOCTYPE html>
<html lang="en" class="light">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Our Team - CyberSafe IDS</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: "class",
theme: {
extend: {
colors: {
dark: {
bg: "#1a1a1a",
card: "#2d2d2d",
text: "#e5e5e5",
border: "#404040",
},
},
},
},
};
</script>
<style>
.dark-mode-transition {
transition: background-color 0.3s ease, color 0.3s ease,
border-color 0.3s ease;
}
</style>
</head>
<body
class="bg-gray-50 dark:bg-dark-bg dark:text-dark-text dark-mode-transition"
>
<!-- Header -->
<header
class="bg-white shadow-md sticky top-0 z-10 dark:bg-dark-card dark:shadow-gray-900 dark-mode-transition"
>
<div
class="max-w-7xl mx-auto px-4 py-4 flex justify-between items-center"
>
<div class="flex items-center space-x-8">
<a href="/" class="text-2xl font-bold text-blue-600">CyberSafe IDS</a>
<nav class="space-x-6 hidden md:flex">
<a
href="/"
class="{% if request.path == '/' %}text-blue-600{% else %}text-gray-700 hover:text-indigo-600{% endif %} dark:text-gray-300 dark:hover:text-indigo-400 font-medium transition-colors"
>Home</a
>
<a
href="/predict"
class="{% if request.path == '/predict' %}text-blue-600{% else %}text-gray-700 hover:text-blue-600{% endif %} dark:text-gray-300 dark:hover:text-blue-400 font-medium transition-colors"
>Detection Analysis</a
>
<a
href="/statistics"
class="{% if request.path == '/statistics' %}text-blue-600{% else %}text-gray-700 hover:text-green-600{% endif %} dark:text-gray-300 dark:hover:text-green-400 font-medium transition-colors"
>Statistics</a
>
<a
href="/team"
class="{% if request.path == '/team' %}text-blue-600{% else %}text-gray-700 hover:text-purple-600{% endif %} dark:text-gray-300 dark:hover:text-purple-400 font-medium transition-colors"
>Our Team</a
>
{% if is_admin %}
<a
href="/admin/users"
class="{% if request.path == '/admin/users' %}text-blue-600{% else %}text-gray-700 hover:text-blue-600{% endif %} dark:text-gray-300 dark:hover:text-blue-400 font-medium transition-colors"
>User Management</a
>
{% endif %}
</nav>
</div>
<div class="flex items-center space-x-4">
{% if 'user_id' in session %}
<div class="relative group">
<a href="/profile" class="flex items-center">
<div class="relative flex items-center">
{% if session.profile_image %}
<img
src="{{ url_for('static', filename='uploads/' + session.profile_image) }}"
alt="Profile"
class="h-8 w-8 rounded-full object-cover border-2 border-transparent group-hover:border-blue-500 transition-colors"
/>
{% else %}
<div
class="h-8 w-8 rounded-full bg-blue-100 dark:bg-blue-900 flex items-center justify-center border-2 border-transparent group-hover:border-blue-500 transition-colors"
>
<span class="text-blue-600 dark:text-blue-300 font-medium"
>{{ session.username[0].upper() }}</span
>
</div>
{% endif %}
<span
class="ml-2 text-gray-700 dark:text-gray-300 group-hover:text-blue-600 dark:group-hover:text-blue-400 font-medium transition-colors"
>{{ session.username }}</span
>
<span
class="absolute top-0 right-0 -mt-1 -mr-1 h-2 w-2 rounded-full bg-green-400 border-2 border-white dark:border-dark-card"
></span>
</div>
</a>
<!-- Dropdown menu -->
<div
class="absolute right-0 mt-2 w-48 bg-white dark:bg-dark-card rounded-lg shadow-lg dark:shadow-gray-900 py-2 hidden group-hover:block"
>
<a
href="/profile"
class="block px-4 py-2 text-gray-700 dark:text-gray-300 hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors"
>
Profile Settings
</a>
<a
href="/logout"
class="block px-4 py-2 text-red-600 dark:text-red-400 hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors"
>
Logout
</a>
</div>
</div>
{% else %}
<a
href="/login"
class="bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600 text-gray-700 dark:text-gray-300 px-4 py-2 rounded"
>Login</a
>
<a
href="/signup"
class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded"
>Sign Up</a
>
{% endif %}
<!-- Dark Mode Toggle -->
<button
id="darkModeToggle"
class="p-2 rounded-lg bg-gray-200 dark:bg-dark-card hover:bg-gray-300 dark:hover:bg-gray-700 transition-colors"
aria-label="Toggle Dark Mode"
>
<!-- Sun Icon -->
<svg
id="lightIcon"
class="w-5 h-5 text-yellow-500 hidden dark:block"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"
/>
</svg>
<!-- Moon Icon -->
<svg
id="darkIcon"
class="w-5 h-5 text-gray-700 block dark:hidden"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"
/>
</svg>
</button>
</div>
</div>
</header>
<!-- Team Section -->
<div class="max-w-7xl mx-auto px-4 py-16">
<!-- Team Header -->
<div class="text-center mb-16">
<h1 class="text-4xl font-bold text-gray-900 dark:text-gray-100 mb-4">
Meet Our Team
</h1>
<p class="text-lg text-gray-600 dark:text-gray-400 max-w-2xl mx-auto">
We are a passionate team of experts dedicated to revolutionizing
network security through advanced AI-powered intrusion detection
systems.
</p>
</div>
<!-- Team Grid -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 max-w-7xl mx-auto">
<!-- Team Member 1 -->
<div
class="bg-white dark:bg-dark-card rounded-xl shadow-lg dark:shadow-gray-900 overflow-hidden transform hover:scale-105 transition-transform duration-300"
>
<div class="relative">
<img
src="{{ url_for('static', filename='profile_images/abdikadir.jpg') }}"
alt="Abdikadir Sharif"
class="w-full h-74 object-cover"
/>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900 dark:text-white mb-2">
Abdikadir Sharif Mohamed
</h3>
<p class="text-blue-600 dark:text-blue-400 font-medium mb-3">
Full Stack Developer & Team Lead
</p>
<p class="text-gray-600 dark:text-gray-300 text-sm mb-4">
Leading the development of our AI-powered security platform with
expertise in system architecture and full-stack development.
</p>
<div
class="flex justify-center space-x-6 pt-4 border-t border-gray-100 dark:border-gray-700"
>
<a
href="https://github.com/caaaqil"
class="text-gray-600 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-400 transform hover:scale-110 transition-transform duration-300"
>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
<path
d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"
/>
</svg>
</a>
<a
href="https://linkedin.com/in/yourusername"
class="text-gray-600 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-400 transform hover:scale-110 transition-transform duration-300"
>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
<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>
</a>
<a
href="mailto:abdikadir.sharif@gmail.com"
class="text-gray-600 dark:text-gray-400 hover:text-blue-600 dark:hover:text-blue-400 transform hover:scale-110 transition-transform duration-300"
>
<svg
class="w-6 h-6"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
/>
</svg>
</a>
</div>
</div>
</div>
<!-- Team Member 2 -->
<div
class="bg-white dark:bg-dark-card rounded-xl shadow-lg dark:shadow-gray-900 overflow-hidden transform hover:scale-105 transition-transform duration-300"
>
<div class="relative">
<img
src="{{ url_for('static', filename='profile_images/abdikadir.jpg') }}"
alt="Mohamed Ahmed"
class="w-full h-74 object-cover"
/>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900 dark:text-white mb-2">
Mohamoud Mohamed Gurhan
</h3>
<p class="text-green-600 dark:text-green-400 font-medium mb-3">
Machine Learning Engineer
</p>
<p class="text-gray-600 dark:text-gray-300 text-sm mb-4">
Developing cutting-edge machine learning algorithms for advanced
intrusion detection and threat analysis.
</p>
<div
class="flex justify-center space-x-6 pt-4 border-t border-gray-100 dark:border-gray-700"
>
<a
href="https://github.com/Mogurhan"
class="text-gray-600 dark:text-gray-400 hover:text-green-600 dark:hover:text-green-400 transform hover:scale-110 transition-transform duration-300"
>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
<path
d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"
/>
</svg>
</a>
<a
href="https://linkedin.com/in/yourusername"
class="text-gray-600 dark:text-gray-400 hover:text-green-600 dark:hover:text-green-400 transform hover:scale-110 transition-transform duration-300"
>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
<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>
</a>
<a
href="mailto:ali.hassan@gmail.com"
class="text-gray-600 dark:text-gray-400 hover:text-green-600 dark:hover:text-green-400 transform hover:scale-110 transition-transform duration-300"
>
<svg
class="w-6 h-6"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
/>
</svg>
</a>
</div>
</div>
</div>
<!-- Team Member 3 -->
<div
class="bg-white dark:bg-dark-card rounded-xl shadow-lg dark:shadow-gray-900 overflow-hidden transform hover:scale-105 transition-transform duration-300"
>
<div class="relative">
<img
src="{{ url_for('static', filename='profile_images/abdikadir.jpg') }}"
alt="Ali Hassan"
class="w-full h-74 object-cover"
/>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900 dark:text-white mb-2">
Shaafi'e Abdillahi Hussein
</h3>
<p class="text-purple-600 dark:text-purple-400 font-medium mb-3">
UI/UX Designer
</p>
<p class="text-gray-600 dark:text-gray-300 text-sm mb-4">
Creating intuitive and beautiful user interfaces that make complex
security features accessible to everyone.
</p>
<div
class="flex justify-center space-x-6 pt-4 border-t border-gray-100 dark:border-gray-700"
>
<a
href="https://github.com/yourusername"
class="text-gray-600 dark:text-gray-400 hover:text-purple-600 dark:hover:text-purple-400 transform hover:scale-110 transition-transform duration-300"
>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
<path
d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"
/>
</svg>
</a>
<a
href="https://linkedin.com/in/yourusername"
class="text-gray-600 dark:text-gray-400 hover:text-purple-600 dark:hover:text-purple-400 transform hover:scale-110 transition-transform duration-300"
>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
<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>
</a>
<a
href="mailto:ali.hassan@gmail.com"
class="text-gray-600 dark:text-gray-400 hover:text-purple-600 dark:hover:text-purple-400 transform hover:scale-110 transition-transform duration-300"
>
<svg
class="w-6 h-6"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
/>
</svg>
</a>
</div>
</div>
</div>
<!-- Team Member 4 -->
<div
class="bg-white dark:bg-dark-card rounded-xl shadow-lg dark:shadow-gray-900 overflow-hidden transform hover:scale-105 transition-transform duration-300"
>
<div class="relative">
<img
src="{{ url_for('static', filename='profile_images/abdikadir.jpg') }}"
alt="Sarah Omar"
class="w-full h-74 object-cover"
/>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-900 dark:text-white mb-2">
Zamzam Abdulkadir Abdi
</h3>
<p class="text-indigo-600 dark:text-indigo-400 font-medium mb-3">
Security Analyst
</p>
<p class="text-gray-600 dark:text-gray-300 text-sm mb-4">
Specializing in threat detection and analysis, ensuring our system
stays ahead of emerging security challenges.
</p>
<div
class="flex justify-center space-x-6 pt-4 border-t border-gray-100 dark:border-gray-700"
>
<a
href="https://github.com/yourusername"
class="text-gray-600 dark:text-gray-400 hover:text-indigo-600 dark:hover:text-indigo-400 transform hover:scale-110 transition-transform duration-300"
>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
<path
d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"
/>
</svg>
</a>
<a
href="https://linkedin.com/in/yourusername"
class="text-gray-600 dark:text-gray-400 hover:text-indigo-600 dark:hover:text-indigo-400 transform hover:scale-110 transition-transform duration-300"
>
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
<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>
</a>
<a
href="mailto:sarah.omar@gmail.com"
class="text-gray-600 dark:text-gray-400 hover:text-indigo-600 dark:hover:text-indigo-400 transform hover:scale-110 transition-transform duration-300"
>
<svg
class="w-6 h-6"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"
/>
</svg>
</a>
</div>
</div>
</div>
</div>
</div>
<script>
// Dark mode functionality
const darkModeToggle = document.getElementById("darkModeToggle");
const html = document.documentElement;
// Check for saved dark mode preference
if (
localStorage.getItem("darkMode") === "true" ||
(!localStorage.getItem("darkMode") &&
window.matchMedia("(prefers-color-scheme: dark)").matches)
) {
html.classList.add("dark");
}
// Toggle dark mode
darkModeToggle.addEventListener("click", () => {
html.classList.toggle("dark");
localStorage.setItem("darkMode", html.classList.contains("dark"));
});
// Listen for system theme changes
window
.matchMedia("(prefers-color-scheme: dark)")
.addEventListener("change", (e) => {
if (!localStorage.getItem("darkMode")) {
html.classList.toggle("dark", e.matches);
}
});
</script>
</body>
</html>