-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
708 lines (671 loc) · 38.4 KB
/
index.html
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
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Portfolio</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
poppins: ['Poppins', 'sans-serif'],
},
colors: {
'deep-purple': '#14102a',
'mid-purple': '#271b4d',
'light-purple': '#583d9c',
'accent': '#8a5cf5'
},
}
}
}
</script>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body class="bg-deep-purple text-white font-poppins">
<!-- Navigation -->
<nav class="fixed top-0 left-0 right-0 bg-deep-purple/90 backdrop-blur-sm z-50 shadow-md">
<div class="container mx-auto px-6 py-4 flex justify-between items-center">
<div class="logo text-3xl font-bold">
<span class="text-accent">Zahid</span>
</div>
<!-- Hamburger Icon (Hidden on Larger Screens) -->
<button id="menu-toggle" class="md:hidden text-accent text-3xl focus:outline-none">
<i class="fas fa-bars"></i>
</button>
<!-- Navigation Links -->
<div id="menu"
class="hidden md:flex md:space-x-8 absolute md:relative top-full left-0 w-full md:w-auto bg-deep-purple md:bg-transparent text-center md:text-left md:flex-row flex-col md:items-center shadow-md md:shadow-none">
<a href="#home" class="hover:text-accent transition-colors block md:inline py-2">Home</a>
<a href="#about" class="hover:text-accent transition-colors block md:inline py-2">About</a>
<a href="#projects" class="hover:text-accent transition-colors block md:inline py-2">Projects</a>
<a href="#lab" class="hover:text-accent transition-colors block md:inline py-2">Lab</a>
<a href="#contact" class="hover:text-accent transition-colors block md:inline py-2">Contact</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="min-h-screen flex items-center relative overflow-hidden pt-16">
<div class="absolute w-full h-full">
<div class="absolute top-1/4 left-1/3 w-64 h-64 rounded-full bg-light-purple/30 blur-3xl"></div>
<div class="absolute bottom-1/4 right-1/3 w-80 h-80 rounded-full bg-accent/20 blur-3xl"></div>
</div>
<div class="container mx-auto px-6 z-10 flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h1 class="text-5xl md:text-6xl font-bold mb-4">Hello! I am <span class="text-accent">Zahid Hasan</span>
</h1>
<h2 class="text-3xl md:text-4xl font-semibold mb-6">
Embedded Systems Developer
</h2>
<p class="text-lg mb-8 max-w-lg">
I design and develop intelligent embedded systems that bridge hardware and software,
creating innovative solutions for complex technical challenges.
</p>
<div class="flex space-x-4">
<a href="#contact"
class="bg-accent hover:bg-accent/80 text-white px-6 py-3 rounded-md transition-colors">
Get in Touch
</a>
<a href="#projects"
class="border border-accent text-accent hover:bg-accent hover:text-white px-6 py-3 rounded-md transition-colors">
View Projects
</a>
</div>
</div>
<div class="md:w-1/2 relative">
<div class="relative w-64 h-64 mx-auto">
<div class="absolute inset-0 rounded-full bg-accent/20 animate-pulse"></div>
<img src="/photos/zahid.jpg" alt="Profile" class="relative z-10 rounded-full p-2">
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-20 bg-mid-purple/50">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold mb-16 text-center">About Me</h2>
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h3 class="text-2xl font-semibold mb-4">I'm an Embedded Systems Developer</h3>
<p class="mb-4">
With 2 years of experience in embedded systems development, I specialize in creating
efficient and reliable firmware & hardware for microcontrollers and IoT devices.
</p>
<p class="mb-6">
I bridge the gap between hardware and software, designing systems that optimize performance
while meeting strict power and resource constraints.
</p>
<div class="grid grid-cols-2 gap-4">
<div>
<h4 class="text-accent font-semibold mb-2">Skills</h4>
<ul class="space-y-1">
<li>Embedded C/C++</li>
<li>Firmware Development</li>
<li>Analog/Digital Electronics</li>
<li>PCB Design</li>
</ul>
</div>
<div>
<h4 class="text-accent font-semibold mb-2">Tools</h4>
<ul class="space-y-1">
<li>ARM/AVR Microcontrollers</li>
<li>FreeRTOS</li>
<li>JTAG/SWD Debugging</li>
<li>Oscilloscopes & Logic Analyzers</li>
</ul>
</div>
</div>
</div>
<div class="md:w-1/2">
<div class="grid grid-cols-2 gap-6">
<div class="bg-deep-purple p-6 rounded-lg hover:transform hover:scale-105 transition-transform">
<div class="text-accent text-3xl mb-2">
<i class="fas fa-microchip"></i>
</div>
<h4 class="font-semibold text-xl mb-2">Firmware Development</h4>
<p>Creating efficient, reliable code for microcontrollers</p>
</div>
<div class="bg-deep-purple p-6 rounded-lg hover:transform hover:scale-105 transition-transform">
<div class="text-accent text-3xl mb-2">
<i class="fas fa-wifi"></i>
</div>
<h4 class="font-semibold text-xl mb-2">IoT Solutions</h4>
<p>Building connected devices with optimized power consumption</p>
</div>
<div class="bg-deep-purple p-6 rounded-lg hover:transform hover:scale-105 transition-transform">
<div class="text-accent text-3xl mb-2">
<i class="fas fa-code"></i>
</div>
<h4 class="font-semibold text-xl mb-2">Protocol Solutions</h4>
<p>Interfacing communication protocols for specialized applications</p>
</div>
<div class="bg-deep-purple p-6 rounded-lg hover:transform hover:scale-105 transition-transform">
<div class="text-accent text-3xl mb-2">
<i class="fas fa-cogs"></i>
</div>
<h4 class="font-semibold text-xl mb-2">Hardware Integration</h4>
<p>Interfacing with sensors, actuators and complex hardware systems</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Work Experience -->
<section id="experience" class="py-20">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold mb-16 text-center">Work Experience</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<!-- Experience Card 1 -->
<div class="bg-mid-purple/30 rounded-lg overflow-hidden group hover:bg-mid-purple/50 transition-colors">
<div class="p-6">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-accent/20 rounded-lg flex items-center justify-center mr-4">
<i class="fas fa-microchip text-accent text-xl"></i>
</div>
<div>
<h3 class="text-xl font-semibold">Embedded Engineer</h3>
<p class="text-gray-300">GizanTech</p>
</div>
</div>
<p class="mb-4">Firmware development for smart home IoT devices using ESP32
microcontrollers</p>
<div class="flex space-x-2 mb-4">
<span class="bg-deep-purple px-2 py-1 rounded text-sm">ARM</span>
<span class="bg-deep-purple px-2 py-1 rounded text-sm">FreeRTOS</span>
<span class="bg-deep-purple px-2 py-1 rounded text-sm">BLE</span>
</div>
<a href="#" class="text-accent group-hover:text-white inline-flex items-center">
Learn more
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
<!-- Experience Card 2 -->
<div class="bg-mid-purple/30 rounded-lg overflow-hidden group hover:bg-mid-purple/50 transition-colors">
<div class="p-6">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-accent/20 rounded-lg flex items-center justify-center mr-4">
<i class="fas fa-robot text-accent text-xl"></i>
</div>
<div>
<h3 class="text-xl font-semibold">Embedded Systems Developer</h3>
<p class="text-gray-300">Robotics Solutions Ltd.</p>
</div>
</div>
<p class="mb-4">Designed real-time control systems for autonomous robotics using C++ and RTOS
</p>
<div class="flex space-x-2 mb-4">
<span class="bg-deep-purple px-2 py-1 rounded text-sm">C++</span>
<span class="bg-deep-purple px-2 py-1 rounded text-sm">RTOS</span>
<span class="bg-deep-purple px-2 py-1 rounded text-sm">CAN</span>
</div>
<a href="#" class="text-accent group-hover:text-white inline-flex items-center">
Learn more
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
<!-- Experience Card 3 -->
<div class="bg-mid-purple/30 rounded-lg overflow-hidden group hover:bg-mid-purple/50 transition-colors">
<div class="p-6">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-accent/20 rounded-lg flex items-center justify-center mr-4">
<i class="fas fa-heartbeat text-accent text-xl"></i>
</div>
<div>
<h3 class="text-xl font-semibold">Firmware Engineer</h3>
<p class="text-gray-300">MedTech Innovations</p>
</div>
</div>
<p class="mb-4">Developed firmware for medical monitoring devices with strict safety
requirements</p>
<div class="flex space-x-2 mb-4">
<span class="bg-deep-purple px-2 py-1 rounded text-sm">C</span>
<span class="bg-deep-purple px-2 py-1 rounded text-sm">FDA</span>
<span class="bg-deep-purple px-2 py-1 rounded text-sm">ISO13485</span>
</div>
<a href="#" class="text-accent group-hover:text-white inline-flex items-center">
Learn more
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
<!-- Experience Card 4 -->
<div class="bg-mid-purple/30 rounded-lg overflow-hidden group hover:bg-mid-purple/50 transition-colors">
<div class="p-6">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-accent/20 rounded-lg flex items-center justify-center mr-4">
<i class="fas fa-satellite text-accent text-xl"></i>
</div>
<div>
<h3 class="text-xl font-semibold">IoT Systems Engineer</h3>
<p class="text-gray-300">ConnectedTech</p>
</div>
</div>
<p class="mb-4">Built low-power wireless sensor networks for industrial monitoring applications
</p>
<div class="flex space-x-2 mb-4">
<span class="bg-deep-purple px-2 py-1 rounded text-sm">LoRaWAN</span>
<span class="bg-deep-purple px-2 py-1 rounded text-sm">ESP32</span>
<span class="bg-deep-purple px-2 py-1 rounded text-sm">MQTT</span>
</div>
<a href="#" class="text-accent group-hover:text-white inline-flex items-center">
Learn more
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Featured Projects Section -->
<section id="projects" class="py-20 bg-mid-purple/50">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold mb-4 text-center">Featured Projects</h2>
<p class="text-center mb-16 max-w-2xl mx-auto">
A collection of my most significant embedded systems projects, showcasing firmware development,
hardware integration, and innovative solutions.
</p>
<!-- Project 1, default color: bg-deep-purple p-4 -->
<div class="flex flex-col md:flex-row mb-20 items-center">
<div class="md:w-1/2 mb-10 md:mb-0 md:pr-10">
<h3 class="text-2xl font-bold mb-2">Smart Energy Monitor</h3>
<p class="mb-4">
A low-power embedded system that monitors and optimizes energy consumption in homes and
buildings. Features real-time power measurement, data logging, and wireless connectivity.
</p>
<div class="mb-6">
<h4 class="text-accent font-semibold mb-2">Technologies Used:</h4>
<div class="flex flex-wrap gap-2">
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">STM32</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">FreeRTOS</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">BLE</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">Power Management</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">Embedded C</span>
</div>
</div>
<div class="flex space-x-4">
<a href="#" class="inline-flex items-center text-accent hover:underline">
<i class="fas fa-code mr-2"></i> View Code
</a>
<a href="#" class="inline-flex items-center text-accent hover:underline">
<i class="fas fa-external-link-alt mr-2"></i> Live Demo
</a>
</div>
</div>
<div class="md:w-1/2">
<div class="bg-blue-200 p-1 rounded-lg shadow-lg">
<img src="/photos/eng.jpg" alt="Smart Energy Monitor" class="rounded">
</div>
</div>
</div>
<!-- Project 2 -->
<div class="flex flex-col md:flex-row-reverse mb-20 items-center">
<div class="md:w-1/2 mb-10 md:mb-0 md:pl-10">
<h3 class="text-2xl font-bold mb-2">Autonomous Sensor Network</h3>
<p class="mb-4">
A distributed network of self-configuring sensors for environmental monitoring with
long battery life and robust mesh networking capabilities.
</p>
<div class="mb-6">
<h4 class="text-accent font-semibold mb-2">Technologies Used:</h4>
<div class="flex flex-wrap gap-2">
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">ESP32</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">LoRaWAN</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">I2C Sensors</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">Solar Harvesting</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">C++</span>
</div>
</div>
<div class="flex space-x-4">
<a href="#" class="inline-flex items-center text-accent hover:underline">
<i class="fas fa-code mr-2"></i> View Code
</a>
<a href="#" class="inline-flex items-center text-accent hover:underline">
<i class="fas fa-external-link-alt mr-2"></i> Live Demo
</a>
</div>
</div>
<div class="md:w-1/2">
<div class="bg-blue-200 p-1 rounded-lg shadow-lg">
<img src="/photos/gateway.png" alt="Autonomous Sensor Network" class="rounded">
</div>
</div>
</div>
<!-- Project 3 -->
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0 md:pr-10">
<h3 class="text-2xl font-bold mb-2">Real-time Motor Controller</h3>
<p class="mb-4">
High-precision motor control system for industrial automation with advanced
feedback algorithms and safety features.
</p>
<div class="mb-6">
<h4 class="text-accent font-semibold mb-2">Technologies Used:</h4>
<div class="flex flex-wrap gap-2">
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">ARM Cortex-M4</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">DSP</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">CAN Bus</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">Control Theory</span>
<span class="bg-deep-purple px-3 py-1 rounded-full text-sm">C</span>
</div>
</div>
<div class="flex space-x-4">
<a href="#" class="inline-flex items-center text-accent hover:underline">
<i class="fas fa-code mr-2"></i> View Code
</a>
<a href="#" class="inline-flex items-center text-accent hover:underline">
<i class="fas fa-external-link-alt mr-2"></i> Live Demo
</a>
</div>
</div>
<div class="md:w-1/2">
<div class="bg-blue-200 p-1 rounded-lg shadow-lg">
<img src="/photos/agritech.png" alt="Real-time Motor Controller" class="rounded">
</div>
</div>
</div>
</div>
</section>
<!-- Skills Section -->
<section id="skills" class="py-20">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold mb-4 text-center">Technical Skills</h2>
<p class="text-center mb-16 max-w-2xl mx-auto">
My expertise spans hardware interfacing, firmware development, and system optimization
for resource-constrained embedded environments.
</p>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6">
<!-- Skill icons -->
<div class="bg-mid-purple/30 p-6 rounded-lg text-center hover:bg-mid-purple transition-colors">
<div class="text-5xl mb-4 text-accent"><i class="fas fa-microchip"></i></div>
<h3 class="font-semibold">Embedded C/C++</h3>
</div>
<div class="bg-mid-purple/30 p-6 rounded-lg text-center hover:bg-mid-purple transition-colors">
<div class="text-5xl mb-4 text-accent"><i class="fas fa-cogs"></i></div>
<h3 class="font-semibold">RTOS</h3>
</div>
<div class="bg-mid-purple/30 p-6 rounded-lg text-center hover:bg-mid-purple transition-colors">
<div class="text-5xl mb-4 text-accent"><i class="fas fa-wifi"></i></div>
<h3 class="font-semibold">Wireless Protocols</h3>
</div>
<div class="bg-mid-purple/30 p-6 rounded-lg text-center hover:bg-mid-purple transition-colors">
<div class="text-5xl mb-4 text-accent"><i class="fas fa-bolt"></i></div>
<h3 class="font-semibold">Low Power Design</h3>
</div>
<div class="bg-mid-purple/30 p-6 rounded-lg text-center hover:bg-mid-purple transition-colors">
<div class="text-5xl mb-4 text-accent"><i class="fas fa-project-diagram"></i></div>
<h3 class="font-semibold">Digital Comms</h3>
</div>
<div class="bg-mid-purple/30 p-6 rounded-lg text-center hover:bg-mid-purple transition-colors">
<div class="text-5xl mb-4 text-accent"><i class="fas fa-microphone-alt"></i></div>
<h3 class="font-semibold">Sensor Integration</h3>
</div>
<div class="bg-mid-purple/30 p-6 rounded-lg text-center hover:bg-mid-purple transition-colors">
<div class="text-5xl mb-4 text-accent"><i class="fas fa-memory"></i></div>
<h3 class="font-semibold">MCU Architecture</h3>
</div>
<div class="bg-mid-purple/30 p-6 rounded-lg text-center hover:bg-mid-purple transition-colors">
<div class="text-5xl mb-4 text-accent"><i class="fas fa-shield-alt"></i></div>
<h3 class="font-semibold">Security</h3>
</div>
<div class="bg-mid-purple/30 p-6 rounded-lg text-center hover:bg-mid-purple transition-colors">
<div class="text-5xl mb-4 text-accent"><i class="fas fa-bug"></i></div>
<h3 class="font-semibold">Debugging</h3>
</div>
<div class="bg-mid-purple/30 p-6 rounded-lg text-center hover:bg-mid-purple transition-colors">
<div class="text-5xl mb-4 text-accent"><i class="fas fa-network-wired"></i></div>
<h3 class="font-semibold">Protocols</h3>
</div>
</div>
</div>
</section>
<!-- Lab Section -->
<section id="lab" class="py-20 bg-mid-purple/50">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold mb-4 text-center">My Lab</h2>
<p class="text-center mb-16 max-w-2xl mx-auto">
A glimpse of my embedded systems workbench where I prototype, test, and develop projects.
</p>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<div class="relative group overflow-hidden rounded-lg">
<img src="/photos/oscilloscope.png" alt="Oscilloscope"
class="w-full h-64 object-cover transition-transform duration-500 group-hover:scale-110">
<div class="absolute inset-0 bg-gradient-to-t from-deep-purple to-transparent opacity-80"></div>
<div class="absolute bottom-0 left-0 p-4">
<h3 class="text-xl font-semibold">Debugging Station</h3>
<p>Oscilloscope and Logic Analyzer setup</p>
</div>
</div>
<div class="relative group overflow-hidden rounded-lg">
<img src="/photos/agritech.png" alt="Development Boards"
class="w-full h-64 object-cover transition-transform duration-500 group-hover:scale-110">
<div class="absolute inset-0 bg-gradient-to-t from-deep-purple to-transparent opacity-80"></div>
<div class="absolute bottom-0 left-0 p-4">
<h3 class="text-xl font-semibold">Development Boards</h3>
<p>Collection of MCUs and SBCs</p>
</div>
</div>
<div class="relative group overflow-hidden rounded-lg">
<img src="/photos/eng.jpg" alt="Prototype"
class="w-full h-64 object-cover transition-transform duration-500 group-hover:scale-110">
<div class="absolute inset-0 bg-gradient-to-t from-deep-purple to-transparent opacity-80"></div>
<div class="absolute bottom-0 left-0 p-4">
<h3 class="text-xl font-semibold">Current Project</h3>
<p>Smart sensor prototype</p>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-20">
<div class="container mx-auto px-6">
<div class="flex flex-col md:flex-row">
<div class="md:w-1/2 mb-10 md:mb-0">
<h2 class="text-4xl font-bold mb-6">Get In Touch</h2>
<p class="mb-8 max-w-md">
I'm currently looking to join a cross-functional team that values innovation and technical
excellence.
Have a project in mind? Let's discuss how we can collaborate.
</p>
<div class="flex space-x-4 mb-8">
<a href="#"
class="w-10 h-10 rounded-full bg-mid-purple flex items-center justify-center hover:bg-accent transition-colors">
<i class="fab fa-github"></i>
</a>
<a href="#"
class="w-10 h-10 rounded-full bg-mid-purple flex items-center justify-center hover:bg-accent transition-colors">
<i class="fab fa-linkedin-in"></i>
</a>
<a href="#"
class="w-10 h-10 rounded-full bg-mid-purple flex items-center justify-center hover:bg-accent transition-colors">
<i class="fab fa-twitter"></i>
</a>
<a href="#"
class="w-10 h-10 rounded-full bg-mid-purple flex items-center justify-center hover:bg-accent transition-colors">
<i class="fas fa-envelope"></i>
</a>
</div>
<div class="space-y-4">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-mid-purple flex items-center justify-center mr-4">
<i class="fas fa-envelope text-accent"></i>
</div>
<span>email@example.com</span>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-mid-purple flex items-center justify-center mr-4">
<i class="fas fa-map-marker-alt text-accent"></i>
</div>
<span>Dhaka, Bangladesh</span>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-mid-purple flex items-center justify-center mr-4">
<i class="fas fa-phone text-accent"></i>
</div>
<span>+1 (123) 456-7890</span>
</div>
</div>
</div>
<div class="md:w-1/2">
<form class="bg-mid-purple/30 rounded-lg p-8">
<h3 class="text-2xl font-semibold mb-6">Send Me a Message</h3>
<div class="mb-6">
<label for="name" class="block mb-2 text-sm font-medium">Your Name</label>
<input type="text" id="name"
class="bg-deep-purple border border-gray-700 text-white text-sm rounded-lg block w-full p-3 focus:border-accent focus:outline-none">
</div>
<div class="mb-6">
<label for="email" class="block mb-2 text-sm font-medium">Your Email</label>
<input type="email" id="email"
class="bg-deep-purple border border-gray-700 text-white text-sm rounded-lg block w-full p-3 focus:border-accent focus:outline-none">
</div>
<div class="mb-6">
<label for="subject" class="block mb-2 text-sm font-medium">Subject</label>
<input type="text" id="subject"
class="bg-deep-purple border border-gray-700 text-white text-sm rounded-lg block w-full p-3 focus:border-accent focus:outline-none">
</div>
<div class="mb-6">
<label for="message" class="block mb-2 text-sm font-medium">Message</label>
<textarea id="message" rows="4"
class="bg-deep-purple border border-gray-700 text-white text-sm rounded-lg block w-full p-3 focus:border-accent focus:outline-none"></textarea>
</div>
<button type="submit"
class="text-white bg-accent hover:bg-accent/80 rounded-lg px-5 py-3 w-full transition-colors">Send
Message</button>
</form>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-deep-purple py-10 border-t border-gray-800">
<div class="container mx-auto px-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="logo text-3xl font-bold mb-4 md:mb-0">
<span class="text-accent">Zahid</span>
</div>
<div class="flex space-x-8 mb-4 md:mb-0">
<a href="#home" class="hover:text-accent transition-colors">Home</a>
<a href="#about" class="hover:text-accent transition-colors">About</a>
<a href="#projects" class="hover:text-accent transition-colors">Projects</a>
<a href="#lab" class="hover:text-accent transition-colors">Lab</a>
<a href="#contact" class="hover:text-accent transition-colors">Contact</a>
</div>
<div class="flex space-x-4">
<a href="#"
class="w-10 h-10 rounded-full bg-mid-purple flex items-center justify-center hover:bg-accent transition-colors">
<i class="fab fa-github"></i>
</a>
<a href="#"
class="w-10 h-10 rounded-full bg-mid-purple flex items-center justify-center hover:bg-accent transition-colors">
<i class="fab fa-linkedin-in"></i>
</a>
<a href="#"
class="w-10 h-10 rounded-full bg-mid-purple flex items-center justify-center hover:bg-accent transition-colors">
<i class="fab fa-twitter"></i>
</a>
</div>
</div>
<div class="text-center mt-8 text-gray-400">
<p>© 2025 codewithzahid. All rights reserved.</p>
</div>
</div>
</footer>
<!-- Back to top button -->
<button id="backToTop"
class="fixed bottom-8 right-8 bg-accent hover:bg-accent/80 w-12 h-12 rounded-full flex items-center justify-center text-white shadow-lg opacity-0 transition-opacity duration-300">
<i class="fas fa-arrow-up"></i>
</button>
<!-- Modal (Hidden by Default) -->
<div id="construction-modal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center hidden">
<div class="bg-white p-6 rounded-lg shadow-lg w-96 text-center">
<h2 class="text-2xl font-bold text-red-600 mb-4">🚧 Site Under Construction 🚧</h2>
<p class="text-gray-800 mb-4">Thanks for visiting my Portfolio. I am working hard to bring you something
awesome. Stay tuned!</p>
<button id="close-modal" class="bg-red-600 hover:bg-red-700 text-white px-4 py-2 rounded-md">
Close
</button>
</div>
</div>
<script>
// Show the modal when the page loads
window.addEventListener("load", function () {
document.getElementById("construction-modal").classList.remove("hidden");
});
// Close the modal when the button is clicked
document.getElementById("close-modal").addEventListener("click", function () {
document.getElementById("construction-modal").classList.add("hidden");
});
// navbar menu toggle
document.getElementById("menu-toggle").addEventListener("click", function () {
var menu = document.getElementById("menu");
menu.classList.toggle("hidden");
});
// Close menu when a menu item is clicked (for mobile view)
document.querySelectorAll("#menu a").forEach(item => {
item.addEventListener("click", function () {
var menu = document.getElementById("menu");
if (!menu.classList.contains("hidden")) {
menu.classList.add("hidden");
}
});
});
// Back to top button
const backToTopBtn = document.getElementById('backToTop');
window.addEventListener('scroll', () => {
if (window.pageYOffset > 300) {
backToTopBtn.classList.remove('opacity-0');
backToTopBtn.classList.add('opacity-100');
} else {
backToTopBtn.classList.remove('opacity-100');
backToTopBtn.classList.add('opacity-0');
}
});
backToTopBtn.addEventListener('click', () => {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const targetId = this.getAttribute('href');
const targetElement = document.querySelector(targetId);
if (targetElement) {
window.scrollTo({
top: targetElement.offsetTop - 100,
behavior: 'smooth'
});
}
});
});
// Simple animation on scroll
function animateOnScroll() {
const elements = document.querySelectorAll('.bg-mid-purple/30, .bg-mid-purple/50');
elements.forEach(element => {
const elementTop = element.getBoundingClientRect().top;
const windowHeight = window.innerHeight;
if (elementTop < windowHeight - 100) {
element.style.transition = 'transform 0.5s ease, opacity 0.5s ease';
element.style.transform = 'translateY(0)';
element.style.opacity = '1';
} else {
element.style.transform = 'translateY(20px)';
element.style.opacity = '0';
}
});
}
// Initialize animations
window.addEventListener('load', animateOnScroll);
window.addEventListener('scroll', animateOnScroll);
</script>
</body>
</html>