-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
72 lines (63 loc) · 3.2 KB
/
index.html
File metadata and controls
72 lines (63 loc) · 3.2 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
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- TDK: Title, Description, Keywords -->
<title>Admin Pro - 后台管理系统</title>
<meta name="description" content="基于 React 18 + Vite 的现代化中文后台管理系统,提供完整的用户管理、权限控制、数据可视化等企业级功能" />
<meta name="keywords" content="后台管理系统,Admin,React,Vite,TypeScript,企业级,中文,管理后台,Dashboard,Admin Pro" />
<meta name="author" content="HaloLight Team" />
<!-- Favicon & Icons -->
<link rel="icon" type="image/svg+xml" href="/icons/icon.svg" />
<link rel="icon" type="image/png" sizes="32x32" href="/icons/icon-96x96.png" />
<link rel="icon" type="image/png" sizes="192x192" href="/icons/icon-192x192.png" />
<link rel="icon" type="image/png" sizes="512x512" href="/icons/icon-512x512.png" />
<link rel="apple-touch-icon" href="/icons/icon-152x152.png" />
<!-- PWA Manifest -->
<link rel="manifest" href="/manifest.json" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="apple-mobile-web-app-title" content="Admin Pro" />
<!-- Theme Color -->
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#000000" />
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:title" content="Admin Pro - 后台管理系统" />
<meta property="og:description" content="基于 React 18 + Vite 的现代化中文后台管理系统" />
<meta property="og:image" content="/screenshots/desktop.png" />
<meta property="og:locale" content="zh_CN" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Admin Pro - 后台管理系统" />
<meta name="twitter:description" content="基于 React 18 + Vite 的现代化中文后台管理系统" />
<meta name="twitter:image" content="/screenshots/desktop.png" />
<!-- SEO -->
<meta name="robots" content="index, follow" />
<link rel="canonical" href="/" />
<!-- Preconnect for performance -->
<link rel="dns-prefetch" href="//fonts.googleapis.com" />
<!-- 51.la 图片统计(无 JS 依赖,兼容性最好) -->
<img src="https://web.51.la/go?id=L1NaKSoU1jvMh9mE" alt="" width="0" height="0" style="display: none" />
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<!-- Service Worker Registration -->
<script>
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js')
.then(registration => {
console.log('SW registered:', registration.scope);
})
.catch(error => {
console.log('SW registration failed:', error);
});
});
}
</script>
</body>
</html>