forked from ScienceOfReading/sor-quiz-vite
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (35 loc) · 1.26 KB
/
index.html
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Science of Reading Quizzes</title>
<base href="/"> <!-- Add this line -->
</head>
<body>
<div id="app"></div>
<script>
// Check for modern JS support
try {
new Function('const foo = async () => await 1; foo();')();
} catch (e) {
document.body.innerHTML = `
<div style="padding: 2rem; text-align: center; font-family: system-ui, sans-serif;">
<h1>Browser Update Needed</h1>
<p>This application requires a modern browser to run. Please update your browser to the latest version.</p>
<p>We recommend using:</p>
<ul style="list-style: none; padding: 0;">
<li>✅ Chrome (version 89 or later)</li>
<li>✅ Firefox (version 89 or later)</li>
<li>✅ Safari (version 15 or later)</li>
<li>✅ Edge (version 89 or later)</li>
</ul>
<p>If you're using a school computer, please contact your IT department for assistance.</p>
</div>
`;
}
</script>
<script type="module" src="/src/main.js"></script>
</body>
</html>