-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
542 lines (491 loc) · 31.7 KB
/
index.html
File metadata and controls
542 lines (491 loc) · 31.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Suk Gu | Senior QA Architect & AI Automation Expert</title>
<meta name="description" content="QA Architect with 12+ years of experience specializing in AI automation, Docker, and enterprise testing frameworks.">
<style>
/* --- CSS VARIABLES & RESET --- */
:root {
--primary: #3b82f6; /* Blue */
--primary-dark: #2563eb;
--accent: #8b5cf6; /* Violet/Purple for AI */
--dark-bg: #0f172a;
--card-bg: #1e293b;
--text-main: #f8fafc;
--text-muted: #94a3b8;
--gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
--transition: all 0.3s ease;
--font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: var(--font-main);
background-color: var(--dark-bg);
color: var(--text-main);
line-height: 1.6;
overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
/* --- LAYOUT UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.grid { display: grid; gap: 2rem; }
/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 {
font-size: clamp(2.5rem, 5vw, 4rem);
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 1.5rem;
position: relative; z-index: 2;
}
h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
display: inline-block;
position: relative;
}
h2::after {
content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
width: 60px; height: 4px; background: var(--gradient); border-radius: 2px;
}
p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 1.1rem; position: relative; z-index: 2; }
/* --- BUTTONS --- */
.btn {
display: inline-block; padding: 12px 30px; border-radius: 50px;
font-weight: 600; cursor: pointer; transition: var(--transition);
border: none; font-size: 1rem; position: relative; z-index: 2;
}
.btn-primary {
background: var(--gradient); color: white;
box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6); }
.btn-outline {
background: transparent; border: 2px solid var(--primary); color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }
/* --- HEADER --- */
header {
position: fixed; top: 0; width: 100%; z-index: 1000;
background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 15px 0;
}
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: white; }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-main); transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; z-index: 1002; }
/* --- HERO SECTION --- */
#hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 80px; overflow: hidden; }
.ai-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%); }
.node { position: absolute; background: rgba(59, 130, 246, 0.5); border-radius: 50%; animation: pulse 4s infinite ease-in-out; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.5); opacity: 0.2; } 100% { transform: scale(1); opacity: 0.5; } }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-text span { color: var(--accent); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 0.9rem; display: block; margin-bottom: 1rem; }
.hero-stats { display: flex; gap: 40px; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.stat-item h4 { font-size: 2rem; margin-bottom: 0; color: var(--primary); }
.stat-item p { font-size: 0.9rem; margin-bottom: 0; }
.hero-image { position: relative; display: flex; justify-content: center; }
.hero-img-wrapper { width: 100%; max-width: 500px; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); position: relative; z-index: 2; }
.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.glow-blob { position: absolute; width: 300px; height: 300px; background: var(--accent); border-radius: 50%; filter: blur(80px); opacity: 0.2; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); }
/* --- TECH STACK (Icons) --- */
#tech-stack { background: #162032; }
.tools-container {
display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; margin-top: 3rem;
}
.tool-item {
display: flex; flex-direction: column; align-items: center;
gap: 10px; color: var(--text-muted); font-size: 0.9rem;
transition: var(--transition); width: 80px;
}
.tool-item:hover { transform: translateY(-5px); color: var(--primary); }
.tool-icon {
width: 60px; height: 60px;
background: var(--card-bg);
border-radius: 12px;
display: flex; align-items: center; justify-content: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
border: 1px solid rgba(255,255,255,0.05);
}
.tool-icon svg { width: 40px; height: 40px; fill: currentColor; }
/* --- GITHUB PROJECTS --- */
.github-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 3rem;
}
.github-card {
background: var(--card-bg); border-radius: 12px; padding: 1.5rem;
border: 1px solid rgba(255,255,255,0.05); transition: var(--transition);
}
.github-card:hover { border-color: var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.3); transform: translateY(-5px); }
.gh-header { display: flex; justify-content: space-between; margin-bottom: 1rem; align-items: flex-start; }
.gh-title { font-size: 1.2rem; color: var(--primary); font-weight: 700; word-break: break-all; }
.gh-desc { font-size: 0.9rem; margin-bottom: 1.5rem; min-height: 40px; }
.gh-meta { display: flex; gap: 15px; font-size: 0.85rem; color: var(--text-muted); align-items: center; }
.gh-star { color: #fbbf24; display: flex; align-items: center; gap: 5px; }
.gh-fork { color: #94a3b8; display: flex; align-items: center; gap: 5px; }
.gh-badge { background: rgba(16, 185, 129, 0.1); color: #10b981; padding: 2px 8px; border-radius: 10px; font-size: 0.75rem; border: 1px solid rgba(16, 185, 129, 0.2); white-space: nowrap; }
.lang-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 5px; }
#loading-projects { text-align: center; color: var(--accent); font-size: 1.2rem; margin-top: 2rem; }
/* --- CONTACT --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
.contact-info-item { display: flex; align-items: center; margin-bottom: 1.5rem; }
.contact-icon { width: 45px; height: 45px; background: var(--card-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; color: var(--accent); }
.contact-form { background: var(--card-bg); padding: 2.5rem; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.05); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }
.form-control { width: 100%; padding: 12px 15px; background: var(--dark-bg); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: white; font-family: inherit; transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 120px; }
/* --- NOTIFICATIONS --- */
#toast { visibility: hidden; min-width: 300px; background-color: #10b981; color: white; text-align: center; border-radius: 8px; padding: 16px; position: fixed; z-index: 1001; bottom: 30px; right: 30px; font-size: 1rem; box-shadow: 0 4px 12px rgba(0,0,0,0.3); transform: translateY(20px); opacity: 0; transition: all 0.3s; }
#toast.show { visibility: visible; transform: translateY(0); opacity: 1; }
.spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: white; animation: spin 1s ease-in-out infinite; margin-left: 10px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
footer { padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; color: var(--text-muted); font-size: 0.9rem; }
/* --- RESPONSIVE --- */
@media (max-width: 968px) {
.hero-content { grid-template-columns: 1fr; text-align: center; }
.hero-text { order: 2; }
.hero-image { order: 1; margin: 0 auto; }
.hero-stats { justify-content: center; }
.contact-wrapper { grid-template-columns: 1fr; }
h2::after { left: 50%; transform: translateX(-50%); }
}
@media (max-width: 768px) {
.nav-links { display: none; }
.mobile-menu-btn { display: block; }
h1 { font-size: 2.5rem; }
}
</style>
</head>
<body>
<!-- Background Animation -->
<div class="ai-bg">
<div class="node" style="top: 20%; left: 10%; width: 5px; height: 5px;"></div>
<div class="node" style="top: 60%; left: 80%; width: 8px; height: 8px; animation-delay: 1s;"></div>
<div class="node" style="top: 80%; left: 20%; width: 4px; height: 4px; animation-delay: 2s;"></div>
</div>
<!-- Notification -->
<div id="toast">Message sent successfully! I will contact you shortly.</div>
<!-- Header -->
<header>
<div class="container">
<nav>
<div class="logo">Suk<span>Gu</span></div>
<div class="nav-links">
<a href="#hero">Home</a>
<a href="#tech-stack">Tech Stack</a>
<a href="#github">Projects</a>
<a href="#contact">Contact</a>
</div>
<button class="mobile-menu-btn">☰</button>
</nav>
</div>
</header>
<main>
<!-- Hero -->
<section id="hero">
<div class="container">
<div class="hero-content">
<div class="hero-text">
<span>QA Architect & Automation Expert</span>
<h1>Sushil Gupta</h1>
<p>12+ years of experience in Quality Assurance Testing. I specialize in AI-driven automation frameworks, Docker, and QA DevOps to ensure secure, reliable software solutions.</p>
<div class="cta-group">
<a href="#contact" class="btn btn-primary">Hire Me</a>
<a href="#github" class="btn btn-outline" style="margin-left: 10px;">View GitHub</a>
</div>
<div class="hero-stats">
<div class="stat-item"><h4>12+</h4><p>Years Exp.</p></div>
<div class="stat-item"><h4>7</h4><p>Team Managed</p></div>
<div class="stat-item"><h4>20%</h4><p>Test Cycle Reduced</p></div>
</div>
</div>
<div class="hero-image">
<div class="glow-blob"></div>
<div class="hero-img-wrapper">
<img src="https://picsum.photos/seed/sushilgupta/600/450" alt="Sushil Gupta QA Consultant" width="600" height="450">
</div>
</div>
</div>
</div>
</section>
<!-- Tools Stack Section (LOGOS FIXED HERE) -->
<section id="tech-stack" class="section-padding">
<div class="container">
<div class="text-center">
<h2>Tech Stack & Tools</h2>
<p>A showcase of the major Testing, DevOps, and Automation tools I utilize daily.</p>
</div>
<div class="tools-container">
<!-- Selenium -->
<div class="tool-item">
<div class="tool-icon">
<img src="images/selenium-logo.svg" alt="Selenium Logo" style="width:40px;height:40px;object-fit:contain;" />
</div>
<span>Selenium</span>
</div>
<!-- Rest Assured -->
<div class="tool-item">
<div class="tool-icon">
<img src="images/rest-assured-logo.png" alt="Rest Assured Logo" style="width:40px;height:40px;object-fit:contain;background:#fff;border-radius:8px;" />
</div>
<span>Rest Assured</span>
</div>
<!-- Requests -->
<div class="tool-item">
<div class="tool-icon">
<img src="images/requests-logo.svg" alt="Requests Logo" style="width:40px;height:40px;object-fit:contain;background:#fff;border-radius:8px;" />
</div>
<span>Requests</span>
</div>
<!-- JMeter -->
<div class="tool-item">
<div class="tool-icon">
<img src="https://jmeter.apache.org/images/jmeter_square.svg" alt="JMeter Logo" style="width:40px;height:40px;object-fit:contain;" />
</div>
<span>JMeter</span>
</div>
<!-- Appium -->
<div class="tool-item">
<div class="tool-icon">
<img src="images/appium-logo.svg" alt="Appium Logo" style="width:40px;height:40px;object-fit:contain;" />
</div>
<span>Appium</span>
</div>
<!-- Jenkins -->
<div class="tool-item">
<div class="tool-icon">
<img src="https://www.jenkins.io/images/logos/jenkins/jenkins.svg" alt="Jenkins Logo" style="width:40px;height:40px;object-fit:contain;" />
</div>
<span>Jenkins</span>
</div>
<!-- Playwright -->
<div class="tool-item">
<div class="tool-icon">
<img src="https://playwright.dev/img/playwright-logo.svg" alt="Playwright Logo" style="width:40px;height:40px;object-fit:contain;" />
</div>
<span>Playwright</span>
</div>
<!-- Robot Framework -->
<div class="tool-item">
<div class="tool-icon">
<img src="images/robot-framework-logo.svg" alt="Robot Framework Logo" style="width:40px;height:40px;object-fit:contain;" />
</div>
<span>Robot Framework</span>
</div>
<!-- PyTest -->
<div class="tool-item">
<div class="tool-icon">
<img src="images/pytest-logo.png" alt="PyTest Logo" style="width:40px;height:40px;object-fit:contain;background:#fff;border-radius:8px;" />
</div>
<span>PyTest</span>
</div>
<!-- Cucumber -->
<div class="tool-item">
<div class="tool-icon">
<img src="images/cucumber-logo.svg" alt="Cucumber Logo" style="width:40px;height:40px;object-fit:contain;" />
</div>
<span>Cucumber</span>
</div>
<!-- Docker -->
<div class="tool-item"><div class="tool-icon" style="color: #2496ed;"><svg viewBox="0 0 24 24"><path d="M13.983 11.078h2.119a.186.186 0 0 0 .186-.185V9.006a.186.186 0 0 0-.186-.186h-2.119a.186.186 0 0 0-.185.185v1.888c0 .102.083.185.185.185m-2.954-5.43h2.118a.186.186 0 0 0 .186-.186V3.574a.186.186 0 0 0-.186-.185h-2.118a.186.186 0 0 0-.185.185v1.888c0 .102.082.185.185.186m0 2.716h2.118a.187.187 0 0 0 .186-.186V6.29a.186.186 0 0 0-.186-.185h-2.118a.186.186 0 0 0-.185.185v1.887c0 .102.082.185.185.186m-2.93 0h2.12a.186.186 0 0 0 .184-.186V6.29a.185.185 0 0 0-.185-.185H8.1a.185.185 0 0 0-.185.185v1.887c0 .102.083.185.185.186m-2.964 0h2.119a.186.186 0 0 0 .185-.186V6.29a.186.186 0 0 0-.185-.185H5.136a.186.186 0 0 0-.186.185v1.887c0 .102.084.185.186.186m5.893 2.715h2.118a.186.186 0 0 0 .186-.185V9.006a.186.186 0 0 0-.186-.186h-2.118a.186.186 0 0 0-.185.185v1.888c0 .102.082.185.185.185m-2.93 0h2.12a.185.185 0 0 0 .184-.185V9.006a.185.185 0 0 0-.184-.186H8.1a.185.185 0 0 0-.185.185v1.888c0 .102.083.185.185.185m-2.964 0h2.119a.185.185 0 0 0 .185-.185V9.006a.185.185 0 0 0-.185-.186H5.136a.185.185 0 0 0-.186.185v1.888c0 .102.084.185.186.185m-2.92 0h2.12a.185.185 0 0 0 .184-.185V9.006a.185.185 0 0 0-.184-.186h-2.12a.186.186 0 0 0-.185.185v1.888c0 .102.084.185.185.185M23.763 9.89c-.065-.051-.672-.51-1.954-.51-.338.001-.676.03-1.01.087-.248-1.7-1.653-2.53-1.716-2.566l-.344-.199-.226.327c-.284.438-.49.922-.612 1.43-.23.97-.09 1.882.403 2.661-.595.332-1.55.413-1.744.42H.751a.751.751 0 0 0-.75.748 11.376 11.376 0 0 0 .692 4.062c.545 1.428 1.355 2.48 2.41 3.124 1.18.723 3.1 1.137 5.275 1.137.983.003 1.963-.086 2.93-.266a12.248 12.248 0 0 0 3.823-1.389c.98-.567 1.86-1.288 2.61-2.136 1.252-1.418 1.998-2.997 2.553-4.4h.221c1.372 0 2.215-.549 2.68-1.009.309-.293.55-.65.707-1.046l.098-.288z"/></svg></div><span>Docker</span></div>
<!-- GitHub -->
<div class="tool-item"><div class="tool-icon" style="color: white;"><svg viewBox="0 0 24 24"><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></div><span>GitHub</span></div>
<!-- Azure DevOps -->
<div class="tool-item"><div class="tool-icon" style="color: #0078D7;"><svg viewBox="0 0 24 24"><path d="M11.4 24H0V12.6h11.4V24zm0-12.6H0V0h11.4v11.4zM24 24H12.6V12.6H24V24zm0-12.6H12.6V0H24v11.4z"/></svg></div><span>Azure DevOps</span></div>
<!-- Python -->
<div class="tool-item"><div class="tool-icon" style="color: #3776AB;"><svg viewBox="0 0 24 24"><path d="M12 0C5.9 0 6 2.68 6 2.68V6h6v1H4c-3.6 0-4 2.3-4 5v3c0 2.1.8 4.7 3.5 4.7h1.7v-3.2c0-2.1 2.1-2.3 3.1-2.3h4.6c1.9 0 3.1-1.3 3.1-3.1V6.5c0-2-1.6-3.5-4-3.5L12 0zm-2.7 1.6c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1zM18 7v3.5c0 2.2-2.2 2.3-3.1 2.3H10.3c-1.9 0-3.1 1.3-3.1 3.1v4.6c0 2 1.6 3.5 4 3.5H12c5.5 0 5-3.8 5-3.8V18h-6v-1h8c3.6 0 4-2.3 4-5v-3c0-2.1-.8-4.7-3.5-4.7l-3.5.2V7z"/></svg></div><span>Python</span></div>
</div>
</div>
</section>
<!-- GitHub Projects Section -->
<section id="github" class="section-padding" style="background: #162032;">
<div class="container">
<div class="text-center">
<h2>Open Source Contributions</h2>
<p>High-impact automation frameworks and tools available on my GitHub.</p>
</div>
<!-- Loading Indicator -->
<div id="loading-projects">Fetching repositories from GitHub...</div>
<!-- Grid container where JS will inject cards -->
<div class="github-grid" id="github-repos-container"></div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="section-padding">
<div class="container">
<div class="text-center">
<h2>Get In Touch</h2>
<p>Ready to transform your testing strategy? Fill out the form below.</p>
</div>
<div class="contact-wrapper">
<div class="contact-info">
<div class="contact-info-item">
<div class="contact-icon">📧</div>
<div><h4>Email Me</h4><p style="margin-bottom:0; color:white;">sushilgupta.dac@gmail.com</p></div>
</div>
<div class="contact-info-item">
<div class="contact-icon">📱</div>
<div><h4>Phone</h4><p style="margin-bottom:0; color:white;">+91 8379865576</p></div>
</div>
<div class="contact-info-item">
<div class="contact-icon">🔗</div>
<div><h4>LinkedIn</h4><p style="margin-bottom:0; color:white;">linkedin.com/in/sukgu</p></div>
</div>
<div class="contact-info-item">
<div class="contact-icon">🐙</div>
<div><h4>GitHub</h4><p style="margin-bottom:0; color:white;">github.com/sukgu</p></div>
</div>
</div>
<form class="contact-form" id="contactForm" action="https://formspree.io/f/xykkgdkv" method="POST">
<div class="form-group"><label for="name">Your Name</label><input type="text" id="name" name="name" class="form-control" placeholder="John Doe" required></div>
<div class="form-group"><label for="email">Business Email</label><input type="email" id="email" name="email" class="form-control" placeholder="john@company.com" required></div>
<div class="form-group"><label for="service">Interested Service</label><select id="service" name="service" class="form-control"><option value="automation">Automation Strategy</option><option value="devops">QA DevOps & CI/CD</option><option value="consulting">General Consulting</option></select></div>
<div class="form-group"><label for="message">Project Details</label><textarea id="message" name="message" class="form-control" placeholder="Tell me about your requirements..." required></textarea></div>
<button type="submit" class="btn btn-primary" style="width: 100%; display: flex; align-items: center; justify-content: center;"><span>Send Message</span><div class="spinner" id="loadingSpinner"></div></button>
</form>
</div>
</div>
</section>
</main>
<footer>
<div class="container"><p>© 2026 Sushil Gupta. All rights reserved.</p></div>
</footer>
<script>
// --- GITHUB API FETCH ---
document.addEventListener('DOMContentLoaded', () => {
fetchGitHubRepos();
});
async function fetchGitHubRepos() {
const container = document.getElementById('github-repos-container');
const loader = document.getElementById('loading-projects');
try {
// Fetching data from public API
const response = await fetch('https://api.github.com/users/sukgu/repos?sort=updated&per_page=6');
const repos = await response.json();
// Hide loader
loader.style.display = 'none';
if (repos.length === 0) {
container.innerHTML = '<p class="text-center" style="grid-column: 1/-1;">No repositories found.</p>';
return;
}
repos.forEach(repo => {
// Create Card Element
const card = document.createElement('div');
card.className = 'github-card';
// Handle Language Colors (Simplified Map)
let langColor = '#94a3b8'; // Default gray
if(repo.language) {
const lowerLang = repo.language.toLowerCase();
if(lowerLang.includes('java')) langColor = '#b07219';
else if(lowerLang.includes('python')) langColor = '#3572A5';
else if(lowerLang.includes('javascript')) langColor = '#f1e05a';
else if(lowerLang.includes('typescript')) langColor = '#2b7489';
else if(lowerLang.includes('html')) langColor = '#e34c26';
else if(lowerLang.includes('shell')) langColor = '#89e051';
}
// HTML Template for Card
card.innerHTML = `
<div class="gh-header">
<div class="gh-title"><a href="${repo.html_url}" target="_blank" style="color:inherit; text-decoration:none;">${repo.name}</a></div>
<div class="gh-badge">Public</div>
</div>
<p class="gh-desc">${repo.description ? repo.description : 'No description provided.'}</p>
<div class="gh-meta">
<div class="gh-star">
<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>
${repo.stargazers_count}
</div>
<div class="gh-fork">
<svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor"><path d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"/></svg>
${repo.forks_count}
</div>
<div style="margin-left: auto; display: flex; align-items: center;">
${repo.language ? `<span class="lang-dot" style="background: ${langColor};"></span>${repo.language}` : ''}
</div>
</div>
<div style="margin-top: 10px; display: flex; gap: 10px; align-items: center;">
<!-- Note: 'Used By' isn't available on standard public API without a personal access token, so this is a placeholder for design -->
<span style="color: #10b981; font-size: 0.8rem;">✓ Updated ${new Date(repo.updated_at).toLocaleDateString()}</span>
</div>
`;
container.appendChild(card);
});
} catch (error) {
console.error('Error fetching GitHub repos:', error);
loader.innerText = "Error loading repositories. Please check your internet connection or GitHub API limits.";
loader.style.color = "#ef4444";
}
}
// --- CONTACT FORM ---
const form = document.getElementById('contactForm');
const toast = document.getElementById('toast');
const spinner = document.getElementById('loadingSpinner');
const btnText = form.querySelector('button span');
form.addEventListener('submit', function(e) {
e.preventDefault();
const btn = form.querySelector('button');
btn.disabled = true;
btnText.innerText = 'Sending...';
spinner.style.display = 'inline-block';
const formData = new FormData(form);
fetch(form.action, {
method: 'POST',
body: formData,
headers: {
'Accept': 'application/json'
}
})
.then(response => {
if (response.ok) {
btnText.innerText = 'Sent!';
spinner.style.display = 'none';
toast.className = 'show';
form.reset();
setTimeout(() => { toast.className = toast.className.replace('show', ''); }, 3000);
} else {
return response.json().then(data => { throw new Error(data.error || 'Form submission failed'); });
}
})
.catch(error => {
btnText.innerText = 'Error!';
spinner.style.display = 'none';
toast.className = 'show';
toast.innerText = 'Submission failed. Please try again.';
setTimeout(() => { toast.className = toast.className.replace('show', ''); toast.innerText = '' }, 4000);
})
.finally(() => {
btn.disabled = false;
btnText.innerText = 'Send Message';
});
});
// --- MOBILE MENU ---
const menuBtn = document.querySelector('.mobile-menu-btn');
const navLinks = document.querySelector('.nav-links');
menuBtn.addEventListener('click', () => {
const isHidden = window.getComputedStyle(navLinks).display === 'none';
if(isHidden) {
navLinks.style.display = 'flex';
navLinks.style.flexDirection = 'column';
navLinks.style.position = 'absolute';
navLinks.style.top = '70px'; navLinks.style.left = '0';
navLinks.style.width = '100%';
navLinks.style.background = '#0f172a';
navLinks.style.padding = '20px';
navLinks.style.borderBottom = '1px solid rgba(255,255,255,0.1)';
} else { navLinks.style.display = ''; }
});
</script>
</body>
</html>