-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (58 loc) · 2.11 KB
/
Copy pathindex.html
File metadata and controls
58 lines (58 loc) · 2.11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="brain.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Brain Training</title>
<!-- Preload critical fonts -->
<link
rel="preload"
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap"
as="style"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap"
/>
<!-- Preconnect to external domains -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- Meta tags for better SEO and sharing -->
<meta name="description" content="Advanced brain training exercises including RRT, 3D MOT, and N-Back training." />
<meta name="theme-color" content="#6366f1" />
<meta property="og:title" content="Brain Training" />
<meta property="og:description" content="Advanced brain training exercises including RRT, 3D MOT, and N-Back training." />
<meta property="og:type" content="website" />
<!-- Critical CSS for initial render -->
<style>
/* Minimize content shift during load */
html, body {
margin: 0;
padding: 0;
background: var(--background);
overscroll-behavior: none; /* Prevent pull-to-refresh on mobile */
}
#root {
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* Mobile touch optimizations */
@media (max-width: 768px) {
* {
touch-action: manipulation; /* Improve touch response */
}
button {
-webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
touch-action: manipulation;
min-height: 44px; /* Ensure touch targets are large enough */
}
}
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="./src/main.jsx"></script>
</body>
</html>