-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1061 lines (970 loc) · 50.7 KB
/
index.html
File metadata and controls
1061 lines (970 loc) · 50.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
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
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO Meta Tags -->
<title>Khalil Charfi | Full-Stack Engineer Portfolio</title>
<meta name="description" content="Explore the projects and experience of Khalil Charfi, a specialist in scalable and user-centric web and mobile applications.">
<meta name="keywords" content="Khalil Charfi, Full-Stack Engineer, React Developer, TypeScript, Node.js, Web Development, Software Engineer, Cloud Architecture, Portfolio">
<meta name="author" content="Khalil Charfi">
<!-- Canonical URL -->
<link rel="canonical" href="https://khalilcharfi.github.io/">
<!-- Hreflang Tags for Multilingual SEO -->
<link rel="alternate" hreflang="en" href="https://khalilcharfi.github.io/?lang=en">
<link rel="alternate" hreflang="de" href="https://khalilcharfi.github.io/?lang=de">
<link rel="alternate" hreflang="fr" href="https://khalilcharfi.github.io/?lang=fr">
<link rel="alternate" hreflang="ar" href="https://khalilcharfi.github.io/?lang=ar">
<link rel="alternate" hreflang="x-default" href="https://khalilcharfi.github.io/">
<link rel="icon" type="image/svg+xml" href="/icons/icon-192x192.svg" />
<!-- Structured Data (Schema.org JSON-LD) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Person",
"name": "Khalil Charfi",
"url": "https://khalilcharfi.github.io/",
"image": "https://khalilcharfi.github.io/asset/profile/profile-photo.jpg",
"sameAs": [
"https://github.com/khalil-charfi",
"https://www.linkedin.com/in/khalil-charfi/"
],
"jobTitle": "Full-Stack Engineer",
"worksFor": {
"@type": "Organization",
"name": "Independent"
},
"description": "Full-stack engineer with extensive experience delivering scalable web and mobile applications. Skilled in front-end development with Vue.js and Angular, back-end with Laravel and Laminas, and mobile apps using Flutter and Ionic. Passionate about clean architecture, offline-first capabilities, and DevOps-driven deployment. Experienced in cross-functional teams across Tunisia and Germany.",
"knowsAbout": [
"Vue.js",
"Angular",
"JavaScript/TypeScript",
"HTML5",
"CSS3 (Sass/LESS)",
"Bootstrap",
"PHP (Laravel, Laminas)",
"Java (Spring Boot)"
],
"inLanguage": [
"en",
"de",
"fr",
"ar"
],
"alumniOf": {
"@type": "EducationalOrganization",
"name": "Higher Institute of Informatics and Multimedia of Sfax"
}
}
</script>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://khalilcharfi.github.io/">
<meta property="og:title" content="Khalil Charfi | Full-Stack Engineer Portfolio">
<meta property="og:description" content="Explore the projects and experience of Khalil Charfi, a specialist in scalable and user-centric web and mobile applications.">
<meta property="og:image" content="https://khalilcharfi.github.io/asset/profile/profile-photo.jpg">
<meta property="og:image:alt" content="Khalil Charfi - Full-Stack Engineer">
<meta property="og:site_name" content="Khalil Charfi Portfolio">
<meta property="og:locale" content="en_US">
<meta property="og:locale:alternate" content="de_DE">
<meta property="og:locale:alternate" content="fr_FR">
<meta property="og:locale:alternate" content="ar_SA">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://khalilcharfi.github.io/">
<meta property="twitter:title" content="Khalil Charfi | Full-Stack Engineer Portfolio">
<meta property="twitter:description" content="Explore the projects and experience of Khalil Charfi, a specialist in scalable and user-centric web and mobile applications.">
<meta property="twitter:image" content="https://khalilcharfi.github.io/asset/profile/profile-photo.jpg">
<meta property="twitter:image:alt" content="Khalil Charfi - Full-Stack Engineer">
<!-- PWA Manifest and Theme Color -->
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#0d1117" media="(prefers-color-scheme: dark)">
<meta name="theme-color" content="#f1f5f9" media="(prefers-color-scheme: light)">
<meta name="color-scheme" content="dark light">
<!-- JS Detection & Theme Script - Only runs when JS is enabled -->
<script>
(function() {
// Remove no-js class immediately if JS is working
document.documentElement.classList.remove('no-js');
// Get stored theme or use system preference
const storedTheme = localStorage.getItem('theme');
const systemPrefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
const theme = storedTheme || (systemPrefersDark ? 'dark' : 'light');
// Apply theme immediately to prevent flash
document.documentElement.setAttribute('data-theme', theme);
document.documentElement.style.colorScheme = theme;
// Update meta theme-color dynamically
const metaThemeColor = document.querySelector('meta[name="theme-color"]');
if (metaThemeColor) {
metaThemeColor.setAttribute('content', theme === 'light' ? '#f1f5f9' : '#0d1117');
}
})();
</script>
<!-- Resource Hints for Performance -->
<link rel="dns-prefetch" href="https://fonts.googleapis.com">
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
<link rel="dns-prefetch" href="https://esm.sh">
<link rel="dns-prefetch" href="https://www.google-analytics.com">
<link rel="dns-prefetch" href="https://www.googletagmanager.com">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://esm.sh" crossorigin>
<link rel="preconnect" href="https://www.google-analytics.com">
<link rel="preconnect" href="https://www.googletagmanager.com">
<!-- Preload critical resources -->
<!-- Note: Vite handles modulepreload automatically in production builds -->
<link rel="preload" href="/asset/profile/profile-photo.jpg" as="image" type="image/jpeg" fetchpriority="high">
<!-- Critical CSS - inline for faster initial render -->
<style>
/* Critical above-the-fold styles */
:root {
--accent-color: #00A6FF;
--accent-glow: rgba(0, 166, 255, 0.4);
--accent-hover-color: #52C5FF;
--primary-bg-raw: 13, 17, 23;
--primary-bg: rgb(var(--primary-bg-raw));
--glass-bg: rgba(34, 41, 51, 0.6);
--glass-border-color: rgba(255, 255, 255, 0.1);
--primary-text: #c9d1d9;
--secondary-text: #8b949e;
--nav-height: 90px;
--fallback-bg: #fff3cd;
--fallback-fg: #452700;
--fallback-border: #ffecb5;
--border-radius-main: 16px;
--border-radius-small: 8px;
--shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.2);
/* Scrollbar variables - Optimized for better UX */
--scrollbar-width: 10px;
--scrollbar-width-thin: 8px;
--scrollbar-width-mobile: 6px;
--scrollbar-width-hover: 12px;
--scrollbar-track-bg: rgba(0, 0, 0, 0.2);
--scrollbar-thumb-bg: rgba(0, 166, 255, 0.5);
--scrollbar-thumb-bg-hover: rgba(0, 100, 200, 0.9);
--scrollbar-thumb-bg-active: rgba(0, 80, 160, 1);
--scrollbar-thumb-bg-selected: rgba(0, 120, 220, 0.8);
--scrollbar-thumb-border: rgba(0, 166, 255, 0.3);
--scrollbar-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--scrollbar-fade-in: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
--scrollbar-fade-out: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
--scrollbar-hover-transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
--scrollbar-opacity-hidden: 0;
--scrollbar-opacity-visible: 1;
--scrollbar-opacity-hover: 0.95;
--scrollbar-opacity-minimal: 0.3;
}
html[data-theme="light"] {
--accent-color: #4F46E5;
--accent-glow: rgba(79, 70, 229, 0.3);
--accent-hover-color: #7C3AED;
--primary-bg-raw: 241, 245, 249;
--primary-bg: rgb(var(--primary-bg-raw));
--glass-bg: rgba(255, 255, 255, 0.65);
--glass-border-color: rgba(79, 70, 229, 0.15);
--primary-text: #1e293b;
--secondary-text: #475569;
/* Light theme scrollbar variables */
--scrollbar-track-bg: rgba(0, 0, 0, 0.1);
--scrollbar-thumb-bg: rgba(79, 70, 229, 0.5);
--scrollbar-thumb-bg-hover: rgba(55, 48, 163, 0.9);
--scrollbar-thumb-bg-active: rgba(37, 29, 128, 1);
--scrollbar-thumb-bg-selected: rgba(67, 56, 202, 0.8);
--scrollbar-thumb-border: rgba(79, 70, 229, 0.3);
--scrollbar-hover-transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
--scrollbar-opacity-minimal: 0.3;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/* Smooth scrolling optimization */
html {
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}
body {
font-family: 'Roboto', 'SF Pro Text', system-ui, -apple-system, sans-serif;
background: var(--primary-bg);
color: var(--primary-text);
min-height: 100vh;
overflow-x: hidden;
line-height: 1.6;
display: flex;
flex-direction: column;
/* Touch scrolling optimization */
-webkit-overflow-scrolling: touch;
overscroll-behavior-y: none;
}
/* Global scrollbar optimization - Enhanced UX */
* {
scrollbar-width: thin;
scrollbar-color: var(--scrollbar-thumb-bg) var(--scrollbar-track-bg);
transition: scrollbar-color var(--scrollbar-transition);
}
*:hover {
scrollbar-width: auto;
scrollbar-color: var(--scrollbar-thumb-bg-hover) var(--scrollbar-track-bg);
}
/* WebKit scrollbar styling - Enhanced UX */
*::-webkit-scrollbar {
width: var(--scrollbar-width);
height: var(--scrollbar-width);
transition: width var(--scrollbar-hover-transition), height var(--scrollbar-hover-transition);
}
*:hover::-webkit-scrollbar {
width: var(--scrollbar-width-hover);
height: var(--scrollbar-width-hover);
}
*::-webkit-scrollbar-track {
background: var(--scrollbar-track-bg);
border-radius: 6px;
transition: background var(--scrollbar-hover-transition);
}
*:hover::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
}
*::-webkit-scrollbar-thumb {
background: var(--scrollbar-thumb-bg);
border-radius: 8px;
border: 2px solid transparent;
background-clip: content-box;
transition: var(--scrollbar-transition);
opacity: var(--scrollbar-opacity-minimal);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
min-height: 20px;
min-width: 20px;
}
*:hover::-webkit-scrollbar-thumb,
*:active::-webkit-scrollbar-thumb,
*:focus::-webkit-scrollbar-thumb {
opacity: var(--scrollbar-opacity-visible);
background: var(--scrollbar-thumb-bg-hover);
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
transform: scale(1.02);
border-color: var(--scrollbar-thumb-bg-hover);
transition: var(--scrollbar-hover-transition);
}
*::-webkit-scrollbar-thumb:hover {
background: var(--scrollbar-thumb-bg-hover);
opacity: var(--scrollbar-opacity-hover);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
transform: scale(1.05);
border-color: var(--scrollbar-thumb-bg-hover);
transition: var(--scrollbar-hover-transition);
}
*::-webkit-scrollbar-thumb:active {
background: var(--scrollbar-thumb-bg-active);
opacity: var(--scrollbar-opacity-visible);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
transform: scale(1.01);
border-color: var(--scrollbar-thumb-bg-active);
transition: var(--scrollbar-hover-transition);
}
*::-webkit-scrollbar-thumb:focus {
background: var(--scrollbar-thumb-bg-selected);
opacity: var(--scrollbar-opacity-visible);
box-shadow: 0 0 0 3px var(--scrollbar-thumb-bg-hover), 0 3px 8px rgba(0, 0, 0, 0.25);
outline: 3px solid var(--scrollbar-thumb-bg-hover);
outline-offset: 2px;
border-color: var(--scrollbar-thumb-bg-selected);
transition: var(--scrollbar-hover-transition);
}
/* Scrollbar corner enhancement */
*::-webkit-scrollbar-corner {
background: var(--scrollbar-track-bg);
transition: background var(--scrollbar-hover-transition);
}
*:hover::-webkit-scrollbar-corner {
background: rgba(0, 0, 0, 0.1);
}
/* Scroll performance optimization */
[data-scroll-container] {
will-change: scroll-position;
contain: layout style paint;
}
/* No-JS Fallback Banner */
.no-js-banner {
display: none;
padding: 1rem 1.5rem;
text-align: center;
background: var(--fallback-bg);
color: var(--fallback-fg);
border-bottom: 2px solid var(--fallback-border);
font-size: clamp(0.9rem, 2vw, 1rem);
line-height: 1.5;
z-index: 10000;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.no-js .no-js-banner { display: block; }
.js-load-error .no-js-banner { display: block; }
/* Initial Loading Screen */
#initial-loading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--primary-bg);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 9999;
}
.no-js #initial-loading, .js-load-error #initial-loading { display: none; }
.loading-spinner {
width: 50px;
height: 50px;
border: 3px solid rgba(0, 166, 255, 0.1);
border-top-color: var(--accent-color);
border-radius: 50%;
animation: spin 1s linear infinite;
}
.loading-text {
margin-top: 1rem;
color: var(--secondary-text);
font-size: 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Static Fallback Content */
.static-content {
display: none;
flex: 1;
max-width: 1100px;
margin: 0 auto;
padding: 2rem 1rem;
line-height: 1.7;
width: 100%;
}
.no-js .static-content, .js-load-error .static-content { display: flex; flex-direction: column; }
/* Typography */
.static-content h1 {
font-family: 'Poppins', 'SF Pro Display', sans-serif;
font-size: clamp(2.5rem, 6vw, 3.5rem);
margin-bottom: 0.5rem;
font-weight: 700;
color: var(--primary-text);
line-height: 1.2;
}
.static-content h2 {
font-family: 'Poppins', 'SF Pro Display', sans-serif;
font-size: clamp(1.75rem, 4vw, 2.25rem);
margin-top: 3rem;
margin-bottom: 1.5rem;
font-weight: 600;
color: var(--primary-text);
border-bottom: 2px solid var(--accent-color);
padding-bottom: 0.5rem;
}
.static-content h3 {
font-family: 'Poppins', 'SF Pro Display', sans-serif;
font-size: clamp(1.25rem, 3vw, 1.5rem);
margin-top: 2rem;
margin-bottom: 1rem;
font-weight: 600;
color: var(--accent-color);
}
.static-content p {
margin-bottom: 1rem;
color: var(--primary-text);
font-size: 1.05rem;
}
.static-content ul {
margin-left: 1.5rem;
margin-bottom: 1.5rem;
}
.static-content li {
margin-bottom: 0.75rem;
color: var(--primary-text);
line-height: 1.8;
}
.static-content a {
color: var(--accent-color);
text-decoration: none;
transition: color 0.3s ease;
}
.static-content a:hover {
color: var(--accent-hover-color);
text-decoration: underline;
}
/* Contact Links */
.contact-links {
display: flex;
gap: 1rem;
flex-wrap: wrap;
margin-top: 1.5rem;
}
.contact-links a {
padding: 0.875rem 2rem;
background: var(--accent-color);
color: white;
border-radius: var(--border-radius-small);
font-weight: 600;
font-size: 1rem;
transition: all 0.3s ease;
box-shadow: var(--shadow-soft);
border: none;
}
.contact-links a:hover {
background: var(--accent-hover-color);
box-shadow: var(--shadow-hover);
transform: translateY(-2px);
text-decoration: none;
}
/* Progress Bars */
progress {
width: 100%;
height: 24px;
border-radius: 12px;
border: 1px solid var(--glass-border-color);
margin: 0.5rem 0 1rem 0;
background: var(--glass-bg);
}
progress::-webkit-progress-bar {
background: rgba(128, 128, 128, 0.2);
border-radius: 12px;
}
progress::-webkit-progress-value {
background: linear-gradient(90deg, var(--accent-color), var(--accent-hover-color));
border-radius: 12px;
box-shadow: 0 0 10px var(--accent-glow);
}
progress::-moz-progress-bar {
background: linear-gradient(90deg, var(--accent-color), var(--accent-hover-color));
border-radius: 12px;
box-shadow: 0 0 10px var(--accent-glow);
}
/* Details/Summary */
details {
position: relative;
}
summary {
cursor: pointer;
user-select: none;
transition: color 0.3s ease;
}
summary:hover {
color: var(--accent-hover-color);
}
summary::-webkit-details-marker { display: none; }
/* Skip Link */
.skip-link {
position: absolute;
top: -40px;
left: 0;
background: var(--accent-color);
color: white;
padding: 0.75rem 1.5rem;
text-decoration: none;
z-index: 100;
border-radius: 0 0 var(--border-radius-small) 0;
font-weight: 600;
}
.skip-link:focus {
top: 0;
outline: 3px solid var(--accent-glow);
}
/* Sections */
section {
margin-bottom: 4rem;
scroll-margin-top: 2rem;
}
/* Section Titles */
.static-content section > h2:first-child {
text-align: center;
margin-bottom: 3rem;
position: relative;
padding-bottom: 1rem;
}
.static-content section > h2:first-child::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 3px;
background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
border-radius: 2px;
box-shadow: 0 0 10px var(--accent-glow);
}
/* Articles/Cards */
article {
margin-bottom: 2rem;
padding: 2rem;
background: var(--glass-bg);
border: 1px solid var(--glass-border-color);
border-radius: var(--border-radius-main);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
position: relative;
overflow: hidden;
box-shadow: 0 4px 15px var(--shadow-soft-color), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}
article::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
opacity: 0;
transition: opacity 0.3s ease;
}
article:hover {
transform: translateY(-4px);
box-shadow: 0 8px 30px var(--shadow-hover-color), 0 0 20px -5px var(--accent-glow);
border-color: rgba(0, 166, 255, 0.3);
}
article:hover::before {
opacity: 1;
}
/* Figure (Profile) */
figure {
position: relative;
}
figure img {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
figure:hover img {
transform: scale(1.05);
box-shadow: 0 0 30px var(--accent-glow);
}
/* Navigation Enhancements */
nav[aria-label="Quick Navigation"] {
background: var(--glass-bg);
border: 1px solid var(--glass-border-color);
backdrop-filter: blur(16px);
box-shadow: 0 4px 15px var(--shadow-soft-color);
}
nav[aria-label="Quick Navigation"] a {
transition: color 0.3s ease, transform 0.2s ease;
display: inline-block;
}
nav[aria-label="Quick Navigation"] a:hover {
color: var(--accent-hover-color);
transform: translateY(-1px);
}
/* Language Switcher Menu */
menu {
animation: slideDown 0.3s ease;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Definition List Styling */
dl {
background: var(--glass-bg);
border: 1px solid var(--glass-border-color);
backdrop-filter: blur(16px);
box-shadow: 0 4px 15px var(--shadow-soft-color);
}
/* Time Elements */
time {
display: inline-block;
transition: color 0.3s ease;
}
time:hover {
color: var(--accent-color);
}
/* Enhanced Footer */
footer {
margin-top: auto;
padding: 3rem 0 0 0;
border-top: 1px solid var(--glass-border-color);
background: linear-gradient(180deg, transparent, var(--glass-bg));
}
/* Responsive Design */
@media (max-width: 768px) {
.static-content {
padding: 1.5rem 1rem;
}
article {
padding: 1.5rem;
}
.static-content h1 {
font-size: clamp(2rem, 8vw, 2.5rem);
}
.static-content h2 {
font-size: clamp(1.5rem, 6vw, 1.75rem);
}
.contact-links {
flex-direction: column;
}
.contact-links a {
width: 100%;
text-align: center;
}
}
/* Screen Reader Only */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
/* Smooth Animations */
@media (prefers-reduced-motion: no-preference) {
.static-content {
animation: fadeIn 0.6s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
}
</style>
<!-- Preload critical fonts with font-display swap -->
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@300;400;500&family=Tajawal:wght@400;500;700&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Roboto:wght@300;400;500&family=Tajawal:wght@400;500;700&display=swap"></noscript>
<!-- Defer non-critical CSS -->
<link rel="preload" href="index.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="index.css"></noscript>
<!-- Accessibility Styles -->
<link rel="preload" href="src/styles/accessibility.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
<noscript><link rel="stylesheet" href="src/styles/accessibility.css"></noscript>
<script type="module" src="index.tsx" defer onerror="document.documentElement.classList.add('js-load-error')"></script>
</head>
<body>
<!-- No-JS / JS-Error Fallback Banner -->
<div class="no-js-banner" role="status" aria-live="polite">
<svg aria-hidden="true" width="20" height="20" style="display: inline-block; vertical-align: middle; margin-right: 8px;" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z"></path>
<line x1="12" y1="9" x2="12" y2="13"></line>
<line x1="12" y1="17" x2="12.01" y2="17"></line>
</svg>
<strong></strong>
</div>
<!-- Initial Loading Screen (Hidden when JS disabled/failed) -->
<div id="initial-loading">
<div class="loading-spinner"></div>
<div class="loading-text">Loading...</div>
</div>
<!-- Static Fallback Content (Shown only when JS disabled/failed) - SEO Optimized -->
<main id="main-content" class="static-content" itemscope itemtype="https://schema.org/Person">
<header>
<figure style="margin: 0 0 1.5rem 0; text-align: center;">
<img src="https://khalilcharfi.github.io/asset/profile/profile-photo.jpg"
alt="Khalil Charfi"
itemprop="image"
width="150"
height="150"
style="border-radius: 50%; border: 3px solid var(--accent-color); object-fit: cover;">
<figcaption style="margin-top: 1rem;">
<h1 itemprop="name" style="margin: 0;">Khalil Charfi</h1>
<p itemprop="jobTitle" style="font-size: 1.25rem; margin: 0.5rem 0; font-weight: 500;">
Full-Stack Engineer | Software Developer | Digital Solutions Architect
</p>
<p style="color: var(--secondary-text); margin: 0;">
<data value="Frankfurt, Germany">Frankfurt, Germany</data> • <mark style="background: transparent; color: var(--accent-color); font-weight: 500;">Available for Remote & On-site Opportunities</mark>
</p>
</figcaption>
</figure>
</header>
<!-- Language Switcher (No-JS) - HTML5 Native -->
<nav aria-label="Language Switcher" style="text-align: right; margin-bottom: 1rem; padding: 0.5rem; border-bottom: 1px solid rgba(128, 128, 128, 0.2);">
<details style="display: inline-block;">
<summary style="cursor: pointer; color: var(--accent-color); font-weight: 500; list-style: none;">
🌐 EN ▼
</summary>
<menu style="position: absolute; background: var(--primary-bg); border: 1px solid rgba(128, 128, 128, 0.3); border-radius: 4px; padding: 0.5rem; margin: 0.25rem 0; list-style: none; box-shadow: 0 2px 8px rgba(0,0,0,0.2); z-index: 100;">
<li style="margin: 0.25rem 0;"><a href="index.html" style="color: var(--accent-color); text-decoration: none; font-weight: bold;" hreflang="en">🇬🇧 English</a></li>
<li style="margin: 0.25rem 0;"><a href="index.de.html" style="color: var(--accent-color); text-decoration: none; " hreflang="de">🇩🇪 Deutsch</a></li>
<li style="margin: 0.25rem 0;"><a href="index.fr.html" style="color: var(--accent-color); text-decoration: none; " hreflang="fr">🇫🇷 Français</a></li>
<li style="margin: 0.25rem 0;"><a href="index.ar.html" style="color: var(--accent-color); text-decoration: none; " hreflang="ar">🇸🇦 العربية</a></li>
</menu>
</details>
</nav>
<!-- Section Navigation - HTML5 Native -->
<nav aria-label="Quick Navigation" style="margin-bottom: 2rem; padding: 1rem; background: rgba(128, 128, 128, 0.1); border-radius: 8px;">
<strong>Jump to:</strong>
<menu style="display: inline; list-style: none; padding: 0; margin: 0;">
<li style="display: inline;"><a href="#about-section">About</a> |</li>
<li style="display: inline;"><a href="#skills-section">Skills</a> |</li>
<li style="display: inline;"><a href="#experience-section">Experience</a> |</li>
<li style="display: inline;"><a href="#education-section">Education</a> |</li>
<li style="display: inline;"><a href="#projects-section">Projects</a> |</li>
<li style="display: inline;"><a href="#contact-section">Contact</a></li>
</menu>
</nav>
<article id="about-article">
<section id="about-section">
<h2>About Me</h2>
<p itemprop="description" style="font-size: 1.05rem; line-height: 1.8;">
Full-stack engineer with extensive experience delivering scalable web and mobile applications. Skilled in front-end development with Vue.js and Angular, back-end with Laravel and Laminas, and mobile apps using Flutter and Ionic. Passionate about clean architecture, offline-first capabilities, and DevOps-driven deployment. Experienced in cross-functional teams across Tunisia and Germany.
</p>
<h3 style="margin-top: 1.5rem; font-size: 1.2rem;">Professional Summary</h3>
<p>I design and build exceptional digital products. As a Full-Stack Engineer, I specialize in creating intuitive, high-performance web and mobile applications that are both scalable and user-centric.</p>
<p>My journey into tech started with a fascination for solving complex problems with elegant code. I thrive on turning ideas into reality, from conceptualization to deployment, and I'm passionate about creating seamless user interfaces that are both beautiful and highly functional.</p>
<h3 style="margin-top: 1.5rem; font-size: 1.2rem;">Languages</h3>
<ul style="list-style: none; margin-left: 0;">
<li>🌐 <strong>Arabic:</strong> Native</li>
<li>🌐 <strong>English:</strong> Fluent</li>
<li>🌐 <strong>French:</strong> Fluent</li>
</ul>
</section>
</article>
<article id="skills-article">
<section id="skills-section" style="margin-top: 2.5rem;">
<h2>Core Technical Skill</h2>
<article>
<h3 style="color: var(--accent-color); font-size: 1.1rem;">Front-End</h3>
<p><strong>Technologies:</strong> Vue.js, Angular, JavaScript/TypeScript, HTML5, CSS3 (Sass/LESS), Bootstrap</p>
<p><strong>Expertise:</strong> Component-based architecture, state management, responsive design, progressive web apps (PWA), accessibility (WCAG 2.1)</p>
<label for="frontend-skill" style="display: block; margin-top: 0.5rem;">Proficiency Level:</label>
<progress id="frontend-skill" max="100" value="95" style="width: 100%; height: 20px; margin-top: 0.25rem;">95%</progress>
</article>
<article>
<h3 style="color: var(--accent-color); font-size: 1.1rem;">Back-End</h3>
<p><strong>Technologies:</strong> PHP (Laravel, Laminas), Java (Spring Boot)</p>
<p><strong>Expertise:</strong> Microservices architecture, API design, authentication & authorization, database optimization</p>
<label for="backend-skill" style="display: block; margin-top: 0.5rem;">Proficiency Level:</label>
<progress id="backend-skill" max="100" value="90" style="width: 100%; height: 20px; margin-top: 0.25rem;">90%</progress>
</article>
<article>
<h3 style="color: var(--accent-color); font-size: 1.1rem;">Mobile Development</h3>
<p><strong>Technologies:</strong> Flutter, Ionic, Android (Java)</p>
<p><strong>Expertise:</strong> Offline-first applications, cross-platform development, native integrations, Bluetooth/IoT</p>
<label for="mobile-skill" style="display: block; margin-top: 0.5rem;">Proficiency Level:</label>
<progress id="mobile-skill" max="100" value="85" style="width: 100%; height: 20px; margin-top: 0.25rem;">85%</progress>
</article>
<article>
<h3 style="color: var(--accent-color); font-size: 1.1rem;">Databases & APIs</h3>
<p><strong>Technologies:</strong> MySQL, MongoDB, SQLite, CouchDB, GraphQL (Apollo Client)</p>
<p><strong>Expertise:</strong> Data synchronization, database design, query optimization, API integration</p>
<label for="databases-skill" style="display: block; margin-top: 0.5rem;">Proficiency Level:</label>
<progress id="databases-skill" max="100" value="88" style="width: 100%; height: 20px; margin-top: 0.25rem;">88%</progress>
</article>
<article>
<h3 style="color: var(--accent-color); font-size: 1.1rem;">DevOps & CI/CD</h3>
<p><strong>Technologies:</strong> Git, Docker, Jenkins, GitLab CI/CD, Bitrise, Puppet</p>
<p><strong>Expertise:</strong> Continuous integration/deployment, containerization, infrastructure as code, monitoring</p>
<label for="devops-skill" style="display: block; margin-top: 0.5rem;">Proficiency Level:</label>
<progress id="devops-skill" max="100" value="82" style="width: 100%; height: 20px; margin-top: 0.25rem;">82%</progress>
</article>
<article>
<h3 style="color: var(--accent-color); font-size: 1.1rem;">Others & Tools</h3>
<p><strong>Technologies:</strong> Drupal, Keycloak, Firebase, Mapbox GL, WSO2 CEP, JHipster, TestCafe, Cucumber, Grafana, Kibana</p>
<p><strong>Expertise:</strong> CMS development, authentication systems, real-time mapping, testing automation, monitoring</p>
<label for="tools-skill" style="display: block; margin-top: 0.5rem;">Proficiency Level:</label>
<progress id="tools-skill" max="100" value="90" style="width: 100%; height: 20px; margin-top: 0.25rem;">90%</progress>
</article>
</section>
</article>
<article id="experience-article">
<section id="experience-section" style="margin-top: 2.5rem;">
<h2>Experience</h2>
<article style="margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(128, 128, 128, 0.2);" itemscope itemtype="https://schema.org/WorkExperience">
<header>
<h3 style="font-size: 1.15rem; margin-bottom: 0.5rem;" itemprop="jobTitle">Software Engineer – Fullstack Developer</h3>
<p style="color: var(--accent-color); font-weight: 500; margin-bottom: 0.5rem;">
<span itemprop="hiringOrganization">CHECK24 Vergleichsportal GmbH</span> | <span itemprop="jobLocation">Frankfurt, Germany</span>
</p>
<p style="color: var(--secondary-text); margin-bottom: 1rem;">
<time datetime="Aug 2022 – Present" itemprop="datePublished"><em>Aug 2022 – Present</em></time>
</p>
</header>
<ul itemprop="description">
<li>Improved front-end performance and user interaction on Germany's top comparison platform using Vue.js and Laminas.</li>
<li>Enhanced the bicycle insurance (Fahrradversicherung) product with advanced features and REST API integration.</li>
<li>Contributed to the redesign of Drupal components and embedded analytics tracking.</li>
<li>Applied caching and optimized database queries for faster loading and smoother user flow.</li>
</ul>
</article>
<article style="margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(128, 128, 128, 0.2);" itemscope itemtype="https://schema.org/WorkExperience">
<header>
<h3 style="font-size: 1.15rem; margin-bottom: 0.5rem;" itemprop="jobTitle">Software Engineer – Full-Stack Developer</h3>
<p style="color: var(--accent-color); font-weight: 500; margin-bottom: 0.5rem;">
<span itemprop="hiringOrganization">ASM - All Soft Multimedia</span> | <span itemprop="jobLocation">Sfax, Tunisia</span>
</p>
<p style="color: var(--secondary-text); margin-bottom: 1rem;">
<time datetime="Jan 2019 – Aug 2022" itemprop="datePublished"><em>Jan 2019 – Aug 2022</em></time>
</p>
</header>
<ul itemprop="description">
<li>Led development of web and mobile apps across sectors including retail, restaurants, and inventory management.</li>
<li>Built hybrid mobile apps with Flutter and Ionic, featuring offline sync via CouchDB/PouchDB.</li>
<li>Delivered projects such as: Cover 3D Mobile (field sales tool), 3andi & 3andi Partner (loyalty apps), ProInventory & ProCaisse Mobility (inventory/sales tracking).</li>
<li>Ensured secure access and authentication with Keycloak.</li>
</ul>
</article>
<article style="margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(128, 128, 128, 0.2);" itemscope itemtype="https://schema.org/WorkExperience">
<header>
<h3 style="font-size: 1.15rem; margin-bottom: 0.5rem;" itemprop="jobTitle">Software Engineer – Mobile Developer</h3>
<p style="color: var(--accent-color); font-weight: 500; margin-bottom: 0.5rem;">
<span itemprop="hiringOrganization">MyBus – Monkey Factory</span> | <span itemprop="jobLocation">Sfax, Tunisia</span>
</p>
<p style="color: var(--secondary-text); margin-bottom: 1rem;">
<time datetime="Mar 2020 – Nov 2020" itemprop="datePublished"><em>Mar 2020 – Nov 2020</em></time>
</p>
</header>
<ul itemprop="description">
<li>Built a real-time public transportation app using Ionic, Angular, and Mapbox GL.</li>
<li>Integrated GraphQL with Apollo Client for efficient data updates.</li>
<li>Enabled CI/CD with Docker and GitLab for faster iterations.</li>
</ul>
</article>
<article style="margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(128, 128, 128, 0.2);" itemscope itemtype="https://schema.org/WorkExperience">
<header>
<h3 style="font-size: 1.15rem; margin-bottom: 0.5rem;" itemprop="jobTitle">Front-End Developer</h3>
<p style="color: var(--accent-color); font-weight: 500; margin-bottom: 0.5rem;">
<span itemprop="hiringOrganization">Softtodo IT Solutions</span> | <span itemprop="jobLocation">Sfax, Tunisia</span>
</p>
<p style="color: var(--secondary-text); margin-bottom: 1rem;">
<time datetime="May 2018 – Dec 2018" itemprop="datePublished"><em>May 2018 – Dec 2018</em></time>
</p>
</header>
<ul itemprop="description">
<li>Modernized IRIDION's e-commerce UI using Bootstrap and responsive design.</li>
<li>Implemented dynamic JSP components and A/B testing tools.</li>
</ul>
</article>
<article style="margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(128, 128, 128, 0.2);" itemscope itemtype="https://schema.org/WorkExperience">
<header>
<h3 style="font-size: 1.15rem; margin-bottom: 0.5rem;" itemprop="jobTitle">Android Developer</h3>
<p style="color: var(--accent-color); font-weight: 500; margin-bottom: 0.5rem;">
<span itemprop="hiringOrganization">ASM - All Soft Multimedia</span> | <span itemprop="jobLocation">Sfax, Tunisia</span>
</p>
<p style="color: var(--secondary-text); margin-bottom: 1rem;">
<time datetime="Mar 2017 – May 2018" itemprop="datePublished"><em>Mar 2017 – May 2018</em></time>
</p>
</header>
<ul itemprop="description">
<li>Delivered business-critical Android apps with offline capabilities and secure sync via SQLite and Laravel.</li>
<li>Built custom tools like DUX Mobile (ERP companion), FastQueue (queue system via Bluetooth), and ProCaisse Mobile.</li>
</ul>
</article>
<article style="margin-bottom: 2rem; padding-bottom: 1.5rem; " itemscope itemtype="https://schema.org/WorkExperience">
<header>
<h3 style="font-size: 1.15rem; margin-bottom: 0.5rem;" itemprop="jobTitle">Researcher – THERALYTICS Project</h3>
<p style="color: var(--accent-color); font-weight: 500; margin-bottom: 0.5rem;">
<span itemprop="hiringOrganization">University of Marburg / Digital Research Centre of Sfax</span> | <span itemprop="jobLocation">Germany & Tunisia</span>
</p>
<p style="color: var(--secondary-text); margin-bottom: 1rem;">
<time datetime="Oct 2016 – Feb 2017" itemprop="datePublished"><em>Oct 2016 – Feb 2017</em></time>
</p>
</header>
<ul itemprop="description">
<li>Developed a cardiac monitoring prototype using IoT sensors and Complex Event Processing (WSO2 CEP).</li>
<li>Designed real-time alert systems and data pipelines with Spring Boot, MongoDB, and JHipster.</li>
<li>Collaborated in international research for early detection of cardiac anomalies.</li>
</ul>
</article>
</section>
</article>
<article id="education-article">
<section id="education-section" style="margin-top: 2.5rem;">
<h2>Education</h2>
<article style="margin-bottom: 1.5rem;" itemscope itemtype="https://schema.org/EducationalOccupationalCredential">
<header>
<h3 style="font-size: 1.15rem; margin-bottom: 0.5rem;" itemprop="credentialCategory">Master of Science, Enterprise Systems Engineering</h3>
<p style="color: var(--accent-color); font-weight: 500;">
<span itemprop="educationalLevel">Higher Institute of Informatics and Multimedia of Sfax</span>
</p>
<p style="color: var(--secondary-text);">
<time datetime="Sep 2014 – Feb 2017" itemprop="validFrom"><em>Sep 2014 – Feb 2017</em></time>
</p>
</header>
</article>
<article style="margin-bottom: 1.5rem;" itemscope itemtype="https://schema.org/EducationalOccupationalCredential">
<header>
<h3 style="font-size: 1.15rem; margin-bottom: 0.5rem;" itemprop="credentialCategory">Bachelor's Degree, Computer Science</h3>
<p style="color: var(--accent-color); font-weight: 500;">
<span itemprop="educationalLevel">Higher Institute of Informatics and Multimedia of Sfax</span>
</p>
<p style="color: var(--secondary-text);">
<time datetime="Sep 2011 – Jun 2014" itemprop="validFrom"><em>Sep 2011 – Jun 2014</em></time>
</p>
</header>
</article>
</section>
</article>
<article id="projects-article">
<section id="projects-section" style="margin-top: 2.5rem;">
<h2>My Project</h2>
truetruetruefalse</section>
</article>
<aside id="contact-aside">
<section id="contact-section" style="margin-top: 2.5rem;">
<h2>Let's Build Something Great</h2>
<p style="margin-bottom: 1.5rem;">
</p>
<!-- HTML5 Native Contact Links -->
<nav class="contact-links" aria-label="Social Media Links">
<a href="https://www.linkedin.com/in/khalil-charfi/"
target="_blank"
rel="noopener noreferrer"