-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
303 lines (280 loc) · 13.4 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
<!--
Copyright 2024 Pardn Ltd 帕登國際有限公司.
Created by Pardn Chiu 邱敬幃.
Email: [email protected]
-->
<!DOCTYPE html>
<html lang="zh-Hans-TW">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta name="theme-color" content="#ffffff">
<meta name="robots" content="index, follow">
<!-- SEO 標題與描述 -->
<title>QuickUI - 輕量化網站前端框架 - 邱敬幃 Pardn Chiu</title>
<meta name="title" content="QuickUI - 輕量化網站前端框架 - 邱敬幃 Pardn Chiu">
<meta name="description" content="QuickUI 是一款基於純 JavaScript 搭配原生 APIs 的輕量化網站前端框架,支援虛擬 DOM、高效數據監控與自動更新,專注於簡化開發流程並提升渲染效能。">
<meta name="keywords" content="QuickUI, JavaScript, Frontend Rendering Framework, Virtual DOM, Efficient Rendering, Auto Update, UI Tools, Lightweight, Rapid Development, Pardn Chiu, 前端渲染框架, 虛擬 DOM, 高效渲染, 自動更新, UI工具, 輕量化, 快速開發, 邱敬幃">
<meta name="author" content="邱敬幃 Pardn Chiu">
<link rel="author" href="https://pardn.io">
<link rel="canonical" href="https://quickui.pardn.io/">
<!-- Favicon -->
<link rel="icon" href="https://quickui.pardn.io/static/image/logo.png" type="image/x-icon">
<!-- Open Graph -->
<meta property="og:title" content="QuickUI - 輕量化網站前端框架 - 邱敬幃 Pardn Chiu">
<meta property="og:description" content="QuickUI 是一款基於純 JavaScript 搭配原生 APIs 的輕量化網站前端框架,支援虛擬 DOM、高效數據監控與自動更新,專注於簡化開發流程並提升渲染效能。">
<meta property="og:image" content="https://quickui.pardn.io/static/image/website.jpg">
<meta property="og:url" content="https://quickui.pardn.io/">
<meta property="og:site_name" content="QuickUI">
<meta property="og:type" content="website">
<meta property="og:locale" content="zh_TW">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="QuickUI - 輕量化網站前端框架 - 邱敬幃 Pardn Chiu">
<meta property="twitter:description" content="QuickUI 是一款基於純 JavaScript 搭配原生 APIs 的輕量化網站前端框架,支援虛擬 DOM、高效數據監控與自動更新,專注於簡化開發流程並提升渲染效能。">
<meta property="twitter:image" content="https://quickui.pardn.io/static/image/website.jpg">
<meta property="twitter:url" content="https://quickui.pardn.io/">
<!-- Google Verification -->
<meta name="google-site-verification" content="YQQ2f6AchR8dcb55Az2BYd_mw4TrP0J1RApD-v2v65Y">
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-L5VYEZPVXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-L5VYEZPVXX');
</script>
<!-- Preload and Preconnect -->
<link rel="preconnect" href="https://cdn.jsdelivr.net">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css" as="style">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css">
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Jura:[email protected]&display=swap" as="style">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Jura:[email protected]&display=swap">
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@pardnchiu/quickui@latest/dist/QuickUI.js" as="script">
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@pardnchiu/nanomd@latest/dist/NanoMD.js" as="script">
<!-- Local Resources -->
<link rel="stylesheet" href="/static/css/index.css">
<script src="/dist/QuickUI.js"></script>
<!-- JSON-LD Schema -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"datePublished": "2024-11-29",
"dateModified": "2024-12-20",
"inLanguage": "zh-TW",
"name": {
"@language": "zh-TW",
"@value": "QuickUI - 輕量化網站前端框架 - 邱敬幃 Pardn Chiu"
},
"alternateName": {
"@language": "en",
"@value": "QuickUI - Lightweight Frontend Framework - Pardn Chiu"
},
"description": {
"@language": "zh-TW",
"@value": "QuickUI 是一款基於純 JavaScript 搭配原生 APIs 的輕量化網站前端框架,支援虛擬 DOM、高效數據監控與自動更新,專注於簡化開發流程並提升渲染效能。"
},
"alternateDescription": {
"@language": "en",
"@value": "QuickUI is a lightweight JavaScript framework with native APIs, featuring virtual DOM, efficient data monitoring, and automatic updates to streamline development and boost performance."
},
"url": [
"https://quickui.pardn.io/",
"https://quickui.pardn.io/?lang=zh",
"https://quickui.pardn.io/?lang=en"
],
"creator": {
"@type": "Person",
"name": [
{
"@language": "zh-TW",
"@value": "邱敬幃"
},
{
"@language": "en",
"@value": "Pardn Chiu"
}
],
"url": "https://pardn.io/",
"sameAs": [
"https://github.com/pardnchiu"
],
"email": "[email protected]"
},
"image": "https://quickui.pardn.io/static/image/website.jpg"
}
</script>
</head>
<body id="app" :animation="fade-in">
<!-- -->
<section class="left" data-index="0">
<a :href="/index.html?lang={{ lang }}">
<i class="fa-solid fa-house"></i>
</a>
<a :href="/page/doc.html?lang={{ lang }}">
<i class="fa-brands fa-readme"></i>
</a>
<a href="https://github.com/pardnchiu/QuickUI/releases" target="_blank">
<i class="fa-solid fa-code-branch"></i>
</a>
</section>
<!-- -->
<section class="right">
<!-- -->
<section class="logo">
<img src="/static/image/logo.svg" alt="">
<section>
<h1><span>Quick</span><span>UI</span></h1>
<span>{{ i18n.title }}</span>
</section>
</section>
<section :display="flex" :gap="0.5rem">
<img src="https://img.shields.io/badge/tag-JavaScript%20Library-bb4444" alt="">
<img src="https://img.shields.io/github/size/pardnchiu/QuickUI/dist%2FQuickUI.js" alt="">
</section>
<section :display="flex" :margin-top="-1rem" :gap="0.5rem">
<a href="https://www.npmjs.com/package/@pardnchiu/quickui" target="_blank" :text-decoration="none">
<img src="https://img.shields.io/npm/v/@pardnchiu/quickui" alt="npm版本">
</a>
<a href="https://www.jsdelivr.com/package/npm/@pardnchiu/quickui" target="_blank" :text-decoration="none">
<img src="https://img.shields.io/jsdelivr/npm/hm/@pardnchiu/quickui" alt="npm版本">
</a>
</section>
<!-- -->
<section class="button">
<a href="https://github.com/pardnchiu/QuickUI" title="GitHub" target="_blank">
<i class="fa-brands fa-github"></i>
GitHub
</a>
<a href="https://www.npmjs.com/package/@pardnchiu/quickui" title="npm" target="_blank">
<i class="fa-brands fa-npm"></i>
npm
</a>
<span></span>
<a :href="/page/agreement.html?lang={{ lang }}">
<i class="fa-solid fa-scale-balanced"></i>
LICENSE
</a>
</section>
<!-- -->
<section class="intro" data-index="0">
<div>
<button @click="changeIntro">
<p>01</p>
<strong>{{ i18n.block_0_button }}</strong>
</button>
<section>
<strong>{{ i18n.block_0_title }}</strong>
<p :html="i18n.block_0_content"></p>
</section>
</div>
<div>
<button @click="changeIntro">
<p>02</p>
<strong>{{ i18n.block_1_button }}</strong>
</button>
<section>
<strong>{{ i18n.block_1_title }}</strong>
<p :html="i18n.block_1_content"></p>
</section>
</div>
<div>
<button @click="changeIntro">
<p>03</p>
<strong>{{ i18n.block_2_button }}</strong>
</button>
<section>
<strong>{{ i18n.block_2_title }}</strong>
<p :html="i18n.block_2_content"></p>
</section>
</div>
<div>
<button @click="changeIntro">
<p>04</p>
<strong>{{ i18n.block_3_button }}</strong>
</button>
<section>
<strong>{{ i18n.block_3_title }}</strong>
<p :html="i18n.block_3_content"></p>
</section>
</div>
</section>
<!-- -->
<section class="block">
<h2>{{ i18n.feature }}</h2>
<div>
<strong>{{ i18n.subblock_0_title }}</strong>
<p :html="i18n.subblock_0_content"></p>
</div>
<div>
<strong>{{ i18n.subblock_1_title }}</strong>
<p :html="i18n.subblock_1_content"></p>
</div>
<div>
<strong>{{ i18n.subblock_2_title }}</strong>
<p :html="i18n.subblock_2_content"></p>
</div>
<div>
<strong>{{ i18n.subblock_3_title }}</strong>
<p :html="i18n.subblock_3_content"></p>
</div>
<div>
<strong>{{ i18n.subblock_4_title }}</strong>
<p :html="i18n.subblock_4_content"></p>
</div>
<div>
<strong>{{ i18n.subblock_5_title }}</strong>
<p :html="i18n.subblock_5_content"></p>
</div>
</section>
<!-- -->
<footer>
<p>Created by <a href="https://github.com/pardnchiu" target="_blank">邱敬幃</a></p>
<p><a href="https://github.com/pardnchiu/QuickUI" target="_blank">QuickUI</a> on GitHub</p>
<p>© 2024</p>
</footer>
</section>
<!-- -->
<a :href="/index.html?lang={{ change }}" class="lang">
<i class="fa-solid fa-globe"></i>
<span>{{ change }}</span>
</a>
<!-- -->
<script>
document.addEventListener("DOMContentLoaded", _ => {
const url = new URL(location.href);
const currentLanguage = navigator.language || navigator.userLanguage;
let lang = url.searchParams.get("lang");
let isZh = /^zh/i.test(currentLanguage);
if (lang != null) {
isZh = /^zh/i.test(lang);
};
lang = isZh ? "zh" : "en";
const app = new QUI({
id: "app",
i18n: {
zh: "/static/i18n/index/zh.json",
en: "/static/i18n/index/en.json",
},
i18nLang: lang,
data: {
lang: lang,
change: isZh ? "en" : "zh"
},
event: {
changeIntro: e => {
const _this = e.target;
const parent = _this.parentElement.parentElement;
const index = Array.prototype.indexOf.call(parent.children, _this.parentElement);
parent.dataset.index = index;
}
}
})
})
</script>
</body>
</html>