-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
255 lines (225 loc) · 8.17 KB
/
index.html
File metadata and controls
255 lines (225 loc) · 8.17 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
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
<!--
Copyright 2024 Pardn Ltd 帕登國際有限公司.
Created by Pardn Chiu 邱敬幃.
Email: dev@pardn.io
-->
<!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>NanoJSON - JSON 編輯器 - 邱敬幃 Pardn Chiu</title>
<meta name="title" content="NanoJSON - JSON 編輯器 - 邱敬幃 Pardn Chiu">
<meta name="description" content="NanoJSON 是一款基於純 JavaScript 與原生 APIs 的輕量級 JSON 編輯器,便於嵌入網站中做使用。">
<meta name="keywords" content="NanoJSON, json, json-editor, javascript-library, JSON 編輯器, JSON 工具, JSON 免費工具, 邱敬幃">
<meta name="author" content="邱敬幃 Pardn Chiu Pardn Chiu">
<link rel="author" href="https://pardn.io/">
<link rel="canonical" href="https://nanojson.pardn.io/">
<!-- Favicon -->
<link rel="icon" href="https://nanojson.pardn.io/static/image/logo.png" type="image/x-icon">
<!-- Open Graph -->
<meta property="og:title" content="NanoJSON - JSON 編輯器 - 邱敬幃 Pardn Chiu">
<meta property="og:description" content="NanoJSON 是一款基於純 JavaScript 與原生 APIs 的輕量級 JSON 編輯器,便於嵌入網站中做使用。">
<meta property="og:image" content="https://nanojson.pardn.io/static/image/website.jpg">
<meta property="og:url" content="https://nanojson.pardn.io/">
<meta property="og:site_name" content="NanoJSON">
<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="NanoJSON - JSON 編輯器 - 邱敬幃 Pardn Chiu">
<meta property="twitter:description" content="NanoJSON 是一款基於純 JavaScript 與原生 APIs 的輕量級 JSON 編輯器,便於嵌入網站中做使用。">
<meta property="twitter:image" content="https://nanojson.pardn.io/static/image/website.jpg">
<meta property="twitter:url" content="https://nanojson.pardn.io/">
<!-- Google Verification -->
<meta name="google-site-verification" content="example-verification-token">
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EXAMPLE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-EXAMPLE');
</script>
<!-- Preload and Preconnect -->
<link rel="preconnect" href="https://cdn.jsdelivr.net">
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css" as="style">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css">
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@pardnchiu/renderjs@2.0.1/dist/RenderJS.js" as="script">
<script src="https://cdn.jsdelivr.net/npm/@pardnchiu/renderjs@2.0.1/dist/RenderJS.js" copyright="Pardn Ltd"></script>
<!-- JSON-LD Schema -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"name": "NanoJSON - JSON 編輯器 - 邱敬幃 Pardn Chiu",
"description": "NanoJSON 是一款基於純 JavaScript 與原生 APIs 的輕量級 JSON 編輯器,便於嵌入網站中做使用。",
"url": [
"https://nanojson.pardn.io/page/live.html"
],
"creator": {
"@type": "Person",
"name": [
{
"@language": "zh-TW",
"@value": "邱敬幃"
},
{
"@language": "en",
"@value": "Pardn Chiu"
}
],
"url": "https://pardn.io/",
"sameAs": [
"https://github.com/pardnchiu"
],
"email": "dev@pardn.io"
},
"image": "https://nanojson.pardn.io/static/image/website.jpg"
}
</script>
<style>
html {
width: 100vw;
height: 100vh;
}
* {
flex-shrink: 0;
margin: 0;
padding: 0;
font-family: sans-serif;
box-sizing: border-box;
}
body {
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
header {
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
gap: 0rem 1rem;
}
header>section {
display: flex;
justify-content: center;
align-items: center;
flex-flow: column;
}
header>section>h1 {
width: 100%;
line-height: 3.5rem;
text-align: center;
font-size: 3rem;
}
header>section>h2 {
width: 100%;
line-height: 2rem;
text-align: center;
font-size: 1.5rem;
}
header>img {
width: 128px;
height: 128px;
}
section {
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
}
section>a {
display: flex;
justify-content: center;
align-items: center;
gap: 0.5rem;
text-decoration: none;
}
section>a:not(:has(img)) {
padding: 0 1rem;
line-height: 2.5rem;
border-radius: 0.5rem;
}
footer {
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
gap: 0.5rem;
margin: 5rem 0 0;
color: #00000080;
}
@media screen and (min-width: 480px) {
header {
flex-flow: row;
}
header>section>h1,
header>section>h2 {
text-align: left;
}
}
</style>
</head>
<body id="app" class="md" data-md="1" :display="flex" :flex-flow="column" :justify-content="center" :align-items="center" :width="100%" :height="100%">
<header>
<img src="/static/image/logo.svg" alt="">
<section>
<h1>NanoJSON</h1>
<h2>輕量化 JSON 編輯器</h2>
</section>
</header>
<section :margin="1rem 0 0">
<img src="https://img.shields.io/badge/tag-JavaScript%20Library-bb4444" alt="">
<img src="https://img.shields.io/github/size/pardnchiu/NanoJSON/dist%2FNanoJSON.js" alt="">
</section>
<section :margin="0.5rem 0 0">
<a href="https://www.npmjs.com/package/@pardnchiu/nanojson" target="_blank">
<img src="https://img.shields.io/npm/v/@pardnchiu/nanojson" alt="npm版本">
</a>
<a href="https://www.jsdelivr.com/package/npm/@pardnchiu/nanojson" target="_blank">
<img src="https://img.shields.io/jsdelivr/npm/hm/@pardnchiu/nanojson" alt="npm版本">
</a>
</section>
<section :margin="2rem 0 0" :gap="1rem">
<a href="https://github.com/pardnchiu/NanoJSON" target="_blank" :background-color="#000" :color="#fff">
<i class="fa-brands fa-github"></i>
GitHub
</a>
<a href="https://www.npmjs.com/package/@pardnchiu/nanojson" target="_blank" :background-color="#BA311C" :color="#fff" :border="1px solid #BA311C">
<i class="fa-brands fa-npm"></i>
npm
</a>
</section>
<section>
<a href="/page/agreement.html" :margin-top="0.5rem" :color="#000">
<i class="fa-solid fa-scale-balanced"></i>
LICENSE
</a>
</section>
<section>
<a href="/page/live.html" :color="#000">
<i class="fa-solid fa-table-columns"></i>
Online
</a>
</section>
<footer>
<p>Created by <a href="mailto:dev@pardn.io" :color="#000">邱敬幃</a></p>
<p><a href="https://github.com/pardnchiu/NanoJSON" target="_blank" :color="#000" :text-decoration="underline">NanoJSON</a> on GitHub</p>
<p>© 2025</p>
</footer>
<script>
document.addEventListener("DOMContentLoaded", _ => {
const app = "app".RJS();
});
</script>
</body>
</html>