forked from doocs/md
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
102 lines (97 loc) · 3.04 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
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="keywords" content="md,markdown,markdown-editor,wechat,official-account" />
<meta name="description" content="MD Intelligence编辑器,支持微信多平台,AI生成,自动发文" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<title>MD Intelligence编辑器</title>
<link rel="shortcut icon" href="./src/assets/images/favicon.png" />
<link rel="apple-touch-icon" sizes="120x120" href="./src/assets/images/favicon.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="./src/assets/images/favicon.png" />
<style>
.loading {
position: absolute;
top: 0;
left: 0;
z-index: 99999;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
font-size: 18px;
}
.loading.dark {
color: #ffffff;
background-color: #141414;
}
.loading .loading-hint {
position: absolute;
bottom: 10%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.loading .loading-hint .txt::after {
content: '...';
animation: dots 1.5s steps(4, end) infinite;
}
.loading .loading-hint p {
margin-top: 10px;
margin-bottom: 10px;
}
@keyframes dots {
0% {
content: ' ';
}
25% {
content: '.';
}
50% {
content: '..';
}
75% {
content: '...';
}
}
</style>
</head>
<body>
<noscript>
<strong>Please enable JavaScript to continue.</strong>
</noscript>
<div id="app">
<div class="loading">
<img src="./src/assets/images/favicon.png" alt="logo" />
<div class="loading-hint">
<strong>更智能的 Markdown 编辑器</strong>
<p>智能生成 | 多平台 | 自动发布</p>
<p class="txt">正在加载编辑器</p>
</div>
</div>
</div>
<script>
const theme = localStorage.getItem('vueuse-color-scheme')
if (theme === 'dark' || (theme === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.querySelector('.loading').classList.add('dark')
}
</script>
<script>
MathJax = {
loader: { load: ['[tex]/ams'] },
tex: { packages: { '[+]': ['ams'] }, tags: 'ams' },
svg: { fontCache: 'none' },
}
</script>
<script id="MathJax-script" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
<script type="module" src="/src/main.ts"></script>
</body>
<!-- <script src="https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/wechatsync/article-syncjs@latest/dist/main.js"></script> -->
</html>