-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathindex.html
More file actions
75 lines (65 loc) · 2.27 KB
/
index.html
File metadata and controls
75 lines (65 loc) · 2.27 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover, user-scalable=no" />
<!-- PWA Meta -->
<meta name="theme-color" content="#6B5CE7" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Magic English Buddy" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<!-- SEO Meta -->
<meta name="description" content="Magic English Buddy - 你的魔法英语伙伴,专为儿童设计的离线英语学习应用" />
<meta name="keywords" content="英语学习,儿童教育,离线学习,PWA" />
<title>Magic English Buddy</title>
<!-- Preconnect -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap" rel="stylesheet" />
<style>
/* 初始加载样式 */
html, body {
margin: 0;
padding: 0;
background-color: #1A1A2E;
}
#root {
min-height: 100vh;
min-height: 100dvh;
}
/* 初始加载动画 */
.initial-loader {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background-color: #1A1A2E;
z-index: 9999;
}
.initial-loader .spinner {
width: 48px;
height: 48px;
border: 4px solid rgba(107, 92, 231, 0.2);
border-top-color: #6B5CE7;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div id="root">
<!-- 初始加载动画 -->
<div class="initial-loader">
<div class="spinner"></div>
</div>
</div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>