-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
853 lines (752 loc) · 26.8 KB
/
index.html
File metadata and controls
853 lines (752 loc) · 26.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Games and Game Development Portfolio</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<style>
:root {
--bg-primary: #0a0a0a;
--bg-secondary: #1a1a1a;
--bg-tertiary: #2a2a2a;
--text-primary: #ffffff;
--text-secondary: #b0b0b0;
--accent-primary: #646cff;
--accent-secondary: #535bf2;
--success: #4ade80;
--warning: #fbbf24;
--error: #ef4444;
--gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
--gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
--gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
--shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.3);
--border-radius: 12px;
--transition-fast: 0.2s ease;
--transition-normal: 0.3s ease;
--transition-slow: 0.5s ease;
}
[data-theme="light"] {
--bg-primary: #ffffff;
--bg-secondary: #f8fafc;
--bg-tertiary: #e2e8f0;
--text-primary: #1a202c;
--text-secondary: #4a5568;
--accent-primary: #3182ce;
--accent-secondary: #2c5282;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: var(--bg-primary);
color: var(--text-primary);
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.6;
overflow-x: hidden;
transition: all var(--transition-normal);
}
/* Animated Background */
.bg-animation {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.05;
}
.floating-shapes {
position: absolute;
width: 100%;
height: 100%;
}
.shape {
position: absolute;
background: var(--gradient-1);
border-radius: 50%;
animation: float 20s infinite linear;
}
.shape:nth-child(2) {
background: var(--gradient-2);
animation-delay: -5s;
animation-duration: 25s;
}
.shape:nth-child(3) {
background: var(--gradient-3);
animation-delay: -10s;
animation-duration: 30s;
}
@keyframes float {
0%, 100% { transform: translateY(100vh) rotate(0deg); }
50% { transform: translateY(-20vh) rotate(180deg); }
}
/* Header */
header {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(26, 26, 26, 0.95);
backdrop-filter: blur(10px);
z-index: 1000;
padding: 1rem 2rem;
border-bottom: 1px solid var(--bg-tertiary);
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
background: var(--gradient-1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.nav-links {
display: flex;
gap: 2rem;
list-style: none;
}
.nav-links a {
color: var(--text-secondary);
text-decoration: none;
transition: color var(--transition-fast);
position: relative;
}
.nav-links a:hover {
color: var(--accent-primary);
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--accent-primary);
transition: width var(--transition-fast);
}
.nav-links a:hover::after {
width: 100%;
}
.theme-toggle {
background: none;
border: 2px solid var(--accent-primary);
color: var(--accent-primary);
padding: 0.5rem;
border-radius: 50%;
cursor: pointer;
transition: all var(--transition-fast);
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.theme-toggle:hover {
background: var(--accent-primary);
color: var(--bg-primary);
transform: rotate(180deg);
}
/* Main Content */
main {
margin-top: 80px;
padding: 2rem;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
h1 {
font-size: clamp(2rem, 5vw, 4rem);
text-align: center;
margin-bottom: 2rem;
background: var(--gradient-1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: slideInUp 1s ease-out;
}
h2 {
font-size: 2rem;
margin-bottom: 1.5rem;
position: relative;
padding-left: 1rem;
}
h2::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 2rem;
background: var(--gradient-1);
border-radius: 2px;
}
.section {
background: var(--bg-secondary);
border-radius: var(--border-radius);
padding: 2rem;
margin: 2rem 0;
box-shadow: var(--shadow-light);
border: 1px solid var(--bg-tertiary);
transition: all var(--transition-normal);
opacity: 0;
transform: translateY(30px);
animation: slideInUp 0.8s ease-out forwards;
}
.section:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-heavy);
}
.section:nth-child(even) {
animation-delay: 0.2s;
}
.section:nth-child(odd) {
animation-delay: 0.4s;
}
/* Grid Layouts */
.grid {
display: grid;
gap: 1.5rem;
}
.grid-2 {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid-3 {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
/* Cards */
.card {
background: var(--bg-tertiary);
border-radius: var(--border-radius);
padding: 1.5rem;
transition: all var(--transition-normal);
border: 1px solid transparent;
position: relative;
overflow: hidden;
}
.card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
transition: left 0.5s;
}
.card:hover::before {
left: 100%;
}
.card:hover {
border-color: var(--accent-primary);
transform: translateY(-5px);
box-shadow: var(--shadow-heavy);
}
/* Links */
.link {
color: var(--accent-primary);
text-decoration: none;
transition: all var(--transition-fast);
position: relative;
display: inline-block;
}
.link:hover {
color: var(--accent-secondary);
}
/* Search */
.search-container {
position: relative;
margin-bottom: 2rem;
}
.search-input {
width: 100%;
padding: 1rem 1rem 1rem 3rem;
background: var(--bg-tertiary);
border: 2px solid transparent;
border-radius: var(--border-radius);
color: var(--text-primary);
font-size: 1rem;
transition: all var(--transition-fast);
}
.search-input:focus {
outline: none;
border-color: var(--accent-primary);
box-shadow: 0 0 0 3px rgba(100, 108, 255, 0.1);
}
.search-icon {
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
color: var(--text-secondary);
}
/* Repository Grid */
.repo-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 1.5rem;
}
.repo-card {
background: var(--bg-tertiary);
border-radius: var(--border-radius);
padding: 1.5rem;
transition: all var(--transition-normal);
border: 1px solid transparent;
position: relative;
overflow: hidden;
}
.repo-card:hover {
border-color: var(--accent-primary);
transform: translateY(-5px);
box-shadow: var(--shadow-heavy);
}
.repo-title {
font-size: 1.25rem;
font-weight: bold;
margin-bottom: 0.5rem;
color: var(--accent-primary);
}
.repo-description {
color: var(--text-secondary);
margin-bottom: 1rem;
min-height: 3rem;
}
.repo-stats {
display: flex;
gap: 1rem;
font-size: 0.875rem;
color: var(--text-secondary);
}
.repo-stat {
display: flex;
align-items: center;
gap: 0.25rem;
}
/* Skills Section */
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 1rem;
}
.skill-card {
background: var(--bg-tertiary);
border-radius: var(--border-radius);
padding: 1rem;
text-align: center;
transition: all var(--transition-normal);
border: 2px solid transparent;
}
.skill-card:hover {
border-color: var(--accent-primary);
transform: scale(1.05);
}
.skill-icon {
font-size: 2rem;
margin-bottom: 0.5rem;
color: var(--accent-primary);
}
/* Contact */
button[type="submit"] {
background: var(--accent-primary);
color: white;
border: none;
padding: 0.75rem 1.5rem;
border-radius: var(--border-radius);
cursor: pointer;
font-size: 1rem;
transition: all var(--transition-fast);
}
/* Loading States */
.skeleton {
background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
.loading-message {
text-align: center;
color: var(--text-secondary);
padding: 2rem;
}
/* Animations */
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
/* Responsive Design */
@media (max-width: 610px) {
.nav-links {
display: none;
}
main {
padding: 1rem;
margin-top: 70px;
}
.section {
padding: 1.5rem;
}
.widgets-grid {
grid-template-columns: 1fr;
}
.dice-controls {
flex-direction: column;
}
.social-links {
gap: 1rem;
}
.social-link {
width: 50px;
height: 50px;
}
}
/* Accessibility */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* Focus styles */
*:focus {
outline: 2px solid var(--accent-primary);
outline-offset: 2px;
}
button:focus, input:focus, select:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(100, 108, 255, 0.3);
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Error states */
.error {
color: var(--error);
background: rgba(239, 68, 68, 0.1);
padding: 1rem;
border-radius: var(--border-radius);
border-left: 4px solid var(--error);
margin: 1rem 0;
}
.success {
color: var(--success);
background: rgba(74, 222, 128, 0.1);
padding: 1rem;
border-radius: var(--border-radius);
border-left: 4px solid var(--success);
margin: 1rem 0;
}
</style>
</head>
<body>
<div class="bg-animation">
<div class="floating-shapes">
<div class="shape" style="width: 100px; height: 100px; left: 10%; top: 20%;"></div>
<div class="shape" style="width: 150px; height: 150px; left: 80%; top: 60%;"></div>
<div class="shape" style="width: 80px; height: 80px; left: 50%; top: 80%;"></div>
</div>
</div>
<header>
<nav>
<div class="logo">Slothscript</div>
<ul class="nav-links">
<li><a href="#games">Games</a></li>
<li><a href="#skills">Skills</a></li>
<li><a href="#repos">Repositories</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<button class="theme-toggle" id="themeToggle" aria-label="Toggle theme">
<i class="fas fa-moon"></i>
</button>
</nav>
</header>
<main>
<h1>Games & Game Development</h1>
<section class="section" id="games">
<h2>Featured Games</h2>
<div class="grid grid-2">
<div class="card">
<h3>ShuffleBorn</h3>
<p>An innovative card-based strategy game with dynamic gameplay mechanics.</p>
<a href="/shuffleborn.html" class="link">Play Game <i class="fas fa-external-link-alt"></i></a>
</div>
<div class="card">
<h3>Formula Factory</h3>
<p>A puzzle game where players create mathematical formulas to solve challenges.</p>
<a href="/formulafactory.html" class="link">Play Game <i class="fas fa-external-link-alt"></i></a>
</div>
</div>
</section>
<section class="section" id="skills">
<h2>Tech Stack & Skills</h2>
<div class="skills-grid">
<div class="skill-card">
<div class="skill-icon"><i class="fab fa-js-square"></i></div>
<div>JavaScript</div>
</div>
<div class="skill-card">
<div class="skill-icon"><i class="fab fa-react"></i></div>
<div>React</div>
</div>
<div class="skill-card">
<div class="skill-icon"><i class="fab fa-python"></i></div>
<div>Python</div>
</div>
<div class="skill-card">
<div class="skill-icon"><i class="fab fa-node-js"></i></div>
<div>Node.js</div>
</div>
<div class="skill-card">
<div class="skill-icon"><i class="fas fa-gamepad"></i></div>
<div>Game Dev</div>
</div>
<div class="skill-card">
<div class="skill-icon"><i class="fas fa-cube"></i></div>
<div>3D Graphics</div>
</div>
<div class="skill-card">
<div class="skill-icon"><i class="fab fa-html5"></i></div>
<div>HTML5</div>
</div>
<div class="skill-card">
<div class="skill-icon"><i class="fab fa-css3-alt"></i></div>
<div>CSS3</div>
</div>
</div>
</section>
<section class="section" id="repos">
<h2>GitHub Repositories</h2>
<div class="search-container">
<i class="fas fa-search search-icon"></i>
<input type="text" class="search-input" id="repoSearch" placeholder="Search repositories...">
</div>
<div class="repo-grid" id="repoGrid">
<div class="loading-message">
<i class="fas fa-spinner fa-spin"></i> Loading repositories...
</div>
</div>
</section>
<section class="section" id="contact">
<h2>Connect With Me</h2>
<!-- Contact Form -->
<div class="card" style="max-width: 600px; margin: 2rem auto;">
<h3>Send a Message</h3>
<form id="contactForm">
<div style="display: grid; gap: 1rem;">
<input type="text" name="name" class="search-input" placeholder="Your Name" required>
<input type="email" name="email" class="search-input" placeholder="Your Email" required>
<textarea name="message" class="search-input" placeholder="Your Message" rows="5" required style="resize: vertical;"></textarea>
<button type="submit" class="button">
<i class="fas fa-paper-plane"></i> Send Message
</button>
</div>
</form>
</div>
</section>
</main>
<script>
// Theme Management
const themeToggle = document.getElementById('themeToggle');
const body = document.body;
let currentTheme = 'dark';
// Check for saved theme preference or default to dark
const savedTheme = sessionStorage.getItem('theme') || 'dark';
body.setAttribute('data-theme', savedTheme);
currentTheme = savedTheme;
updateThemeIcon();
themeToggle.addEventListener('click', () => {
currentTheme = currentTheme === 'dark' ? 'light' : 'dark';
body.setAttribute('data-theme', currentTheme);
sessionStorage.setItem('theme', currentTheme);
updateThemeIcon();
});
function updateThemeIcon() {
const icon = themeToggle.querySelector('i');
icon.className = currentTheme === 'dark' ? 'fas fa-sun' : 'fas fa-moon';
}
// Smooth scrolling for navigation
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
const target = document.querySelector(this.getAttribute('href'));
if (target) {
target.scrollIntoView({
behavior: 'smooth',
block: 'start'
});
}
});
});
// Repository Management
const repoGrid = document.getElementById('repoGrid');
const repoSearch = document.getElementById('repoSearch');
let allRepos = [];
async function fetchRepos() {
try {
const response = await fetch('https://api.github.com/users/Slothscript/repos?sort=updated&per_page=50');
if (!response.ok) throw new Error('Failed to fetch repositories');
allRepos = await response.json();
displayRepos(allRepos);
} catch (error) {
console.error('Error fetching repos:', error);
repoGrid.innerHTML = `
<div class="error">
<i class="fas fa-exclamation-triangle"></i>
Error loading repositories. Please try again later.
</div>
`;
}
}
function displayRepos(repos) {
if (repos.length === 0) {
repoGrid.innerHTML = '<div class="loading-message">No repositories found</div>';
return;
}
repoGrid.innerHTML = repos.map(repo => `
<div class="repo-card">
<div class="repo-title">
<a href="${repo.html_url}" target="_blank" class="link">${repo.name}</a>
</div>
<div class="repo-description">
${repo.description || 'No description available'}
</div>
<div class="repo-stats">
<div class="repo-stat">
<i class="fas fa-star"></i>
<span>${repo.stargazers_count}</span>
</div>
<div class="repo-stat">
<i class="fas fa-code-branch"></i>
<span>${repo.forks_count}</span>
</div>
${repo.language ? `
<div class="repo-stat">
<i class="fas fa-code"></i>
<span>${repo.language}</span>
</div>
` : ''}
<div class="repo-stat">
<i class="fas fa-calendar"></i>
<span>${new Date(repo.updated_at).toLocaleDateString()}</span>
</div>
</div>
</div>
`).join('');
}
// Repository search
repoSearch.addEventListener('input', (e) => {
const searchTerm = e.target.value.toLowerCase();
const filteredRepos = allRepos.filter(repo =>
repo.name.toLowerCase().includes(searchTerm) ||
(repo.description && repo.description.toLowerCase().includes(searchTerm)) ||
(repo.language && repo.language.toLowerCase().includes(searchTerm))
);
displayRepos(filteredRepos);
});
// Contact Form
const contactForm = document.getElementById('contactForm');
contactForm.addEventListener('submit', async (e) => {
e.preventDefault();
const formData = new FormData(contactForm);
const name = formData.get('name').trim();
const email = formData.get('email').trim();
const message = formData.get('message').trim();
// Basic validation
if (!name || !email || !message) {
alert('Please fill in all fields');
return;
}
// Email validation
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
if (!emailRegex.test(email)) {
alert('Please enter a valid email address');
return;
}
// Sanitize message content
const sanitizedMessage = message
.replace(/[<>]/g, '') // Remove HTML tags
.replace(/(\r\n|\n|\r)/gm, ' '); // Replace newlines
try {
const mailtoUrl = `mailto:nathanielhenrycole@icloud.com?subject=Portfolio Contact: ${encodeURIComponent(name)}&body=${encodeURIComponent(sanitizedMessage)}%0D%0A%0D%0AFrom: ${encodeURIComponent(name)}%0D%0AEmail: ${encodeURIComponent(email)}`;
window.location.href = mailtoUrl;
contactForm.reset();
} catch (err) {
alert('There was an error sending your message. Please try again.');
}
});
// Intersection Observer for animations
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -50px 0px'
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}
});
}, observerOptions);
// Observe all sections
document.querySelectorAll('.section').forEach(section => {
observer.observe(section);
});
// Keyboard shortcuts
document.addEventListener('keydown', (e) => {
// Alt + T for theme toggle
if (e.altKey && e.key === 't') {
e.preventDefault();
themeToggle.click();
}
});
// Error handling for images and external resources
document.addEventListener('error', (e) => {
if (e.target.tagName === 'IMG') {
e.target.src = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><rect width="200" height="200" fill="%23333"/><text x="100" y="100" text-anchor="middle" fill="white" font-family="Arial">QR Code</text></svg>';
}
}, true);
// Performance monitoring
if ('performance' in window) {
window.addEventListener('load', () => {
setTimeout(() => {
const perfData = performance.getEntriesByType('navigation')[0];
console.log(`Page loaded in ${Math.round(perfData.loadEventEnd - perfData.loadEventStart)}ms`);
}, 0);
});
}
</script>
</body>
</html>