-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
108 lines (93 loc) · 3.04 KB
/
index.html
File metadata and controls
108 lines (93 loc) · 3.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- SEO Meta Tags -->
<title>MRLEEMURRAY</title>
<meta name="description" content="The portfolio of MRLEEMURRAY." />
<meta name="keywords" content="portfolio, ux design, prototyping, ux engineering, web development, vue, typescript, frontend, projects" />
<meta name="author" content="MRLEEMURRAY" />
<!-- Favicon -->
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
<!-- Apple Touch Icon -->
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png" />
<!-- Preconnect to external domains for performance -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<!-- Theme Color - Responsive to light/dark mode -->
<meta name="theme-color" content="#fefeff" media="(prefers-color-scheme: light)" />
<meta name="theme-color" content="#020202" media="(prefers-color-scheme: dark)" />
<!-- PWA Meta -->
<!-- <link rel="manifest" href="/manifest.json" /> -->
<!-- Prevent FOUC (Flash of Unstyled Content) -->
<style>
/* Minimal critical CSS to prevent layout shift */
html {
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: #fafafa;
color: #171717;
}
[data-theme="dark"] body {
background-color: #171717;
color: #fafafa;
}
#app {
min-height: 100vh;
}
/* Loading state */
.loading-spinner {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
border: 3px solid #e5e5e5;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: translate(-50%, -50%) rotate(0deg); }
100% { transform: translate(-50%, -50%) rotate(360deg); }
}
</style>
<!-- Single Page App for GitHub Pages -->
<script>
// Single Page Apps for GitHub Pages
// https://github.com/rafgraph/spa-github-pages
(function(l) {
if (l.search[1] === '/' ) {
var decoded = l.search.slice(1).split('&').map(function(s) {
return s.replace(/~and~/g, '&')
}).join('?');
window.history.replaceState(null, null,
l.pathname.slice(0, -1) + decoded + l.hash
);
}
}(window.location))
</script>
</head>
<body>
<div id="app">
<!-- Loading spinner shown while app loads -->
<div class="loading-spinner" aria-hidden="true"></div>
</div>
<script type="module" src="./src/main.ts"></script>
<!-- Non-essential scripts -->
<script>
// Remove loading spinner when app mounts
window.addEventListener('DOMContentLoaded', () => {
setTimeout(() => {
const spinner = document.querySelector('.loading-spinner');
if (spinner) {
spinner.remove();
}
}, 100);
});
</script>
</body>
</html>