-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (31 loc) · 1.08 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
<!DOCTYPE html>
<html lang='zh-Hant-TW'>
<head>
<meta charset='utf-8'>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta content='text/html' http-equiv='Content-Type'>
<meta http-equiv='Content-Language' lang='zh-hant-tw' />
<meta content='width=device-width,initial-scale=1.0,maximum-scale=5.0,minimum-scale=1.0' name='viewport'>
<meta content='strict-origin-when-cross-origin' name='referrer'>
<link href='/favicon.ico?v=2' rel='icon'>
<title>CCES Client</title>
</head>
<body>
<noscript>
<strong>
We're sorry but CCES client doesn't work properly without JavaScript enabled.
Please enable it to continue.
</strong>
</noscript>
<div id="app"></div>
<script>
(function() {
const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
const setting = localStorage.getItem('color-schema') || 'auto'
if (setting === 'dark' || (prefersDark && setting !== 'light'))
document.documentElement.classList.toggle('dark', true)
})()
</script>
<script type="module" src="/src/main.ts"></script>
</body>
</html>