-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
174 lines (152 loc) · 7.22 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
<!--
Copyright 2023 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>網站前端範例合輯 - 邱敬幃 Pardn Chiu</title>
<meta name="title" content="網站前端範例合輯 - 邱敬幃 Pardn Chiu">
<meta name="description" content="網站前端範例合輯 - 邱敬幃 Pardn Chiu">
<meta name="keywords" content="Website範例, 邱敬幃, Pardn Chiu">
<meta name="author" content="邱敬幃 Pardn Chiu">
<link rel="author" href="https://pardn.io">
<link rel="canonical" href="https://pardn.io/web-template/">
<!-- Favicon -->
<link rel="icon" href="https://pardn.io/image/head.png" type="image/x-icon">
<!-- Open Graph -->
<meta property="og:title" content="網站前端範例合輯 - 邱敬幃 Pardn Chiu">
<meta property="og:description" content="網站前端範例合輯 - 邱敬幃 Pardn Chiu">
<meta property="og:image" content="https://pardn.io/web-template/image/website.jpg">
<meta property="og:url" content="https://pardn.io/web-template/">
<meta property="og:site_name" content="Pardn Chiu">
<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="網站前端範例合輯 - 邱敬幃 Pardn Chiu">
<meta property="og:description" content="網站前端範例合輯 - 邱敬幃 Pardn Chiu">
<meta property="twitter:image" content="https://pardn.io/web-template/image/website.jpg">
<meta property="twitter:url" content="https://pardn.io/web-template/">
<!-- 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://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap" as="style">
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
<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/pdmarkdownkit@1.6.0/dist/PDMarkdownKit.module.js" as="script">
<script src="https://cdn.jsdelivr.net/npm/pdrenderkit@1.5.2/dist/PDRenderKit.js" copyright="Pardn Ltd"></script>
<!-- Local Resources -->
<link rel="preload" href="./css/index.css" as="style">
<link rel="stylesheet" href="./css/index.css">
<!-- JSON-LD Schema -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"datePublished": "2023-03-02",
"dateModified": "2024-12-22",
"inLanguage": "zh-TW",
"name": {
"@language": "zh-TW",
"@value": "網站前端範例合輯 - 邱敬幃 Pardn Chiu"
},
"alternateName": {
"@language": "en",
"@value": "Web Examples - 邱敬幃 Pardn Chiu"
},
"description": {
"@language": "zh-TW",
"@value": "網站前端範例合輯 - 邱敬幃 Pardn Chiu"
},
"alternateDescription": {
"@language": "en",
"@value": "Web Examples - 邱敬幃 Pardn Chiu"
},
"url": "https://pardn.io/web-template/",
"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://pardn.io/web-template/image/website.jpg"
}
</script>
</head>
<body id="app" class="md">
<nav id="nav" style="max-width: 1024px;" :test="test {{ CALC(num * 2) }}">
<a class="dom-temp" href="https://github.com/pardnchiu" target="_blank">
<i class="fa-brands fa-github"></i>
</a>
<img class="head dom-temp" src="https://avatars.githubusercontent.com/u/25631760" alt="邱敬幃 Pardn Chiu" onclick="location.href='https://pardn.io'">
<a class="dom-temp" href="mailto:dev@pardn.io">
<i class="fa-regular fa-envelope"></i>
</a>
</nav>
<script type="module">
import { viewer } from "https://cdn.jsdelivr.net/npm/pdmarkdownkit@1.6.0/dist/PDMarkdownKit.module.js";
document.addEventListener("DOMContentLoaded", async _ => {
let pre = "";
await fetch('./README.md')
.then(response => response.text())
.then(data => {
pre = data;
})
.catch(error => {
console.error(error);
});
const app = new PD({
id: "app",
next: _ => {
const dom = new viewer({
id: "PDMDViewer",
delay: 50,
pre: pre
});
document.body._child([
dom.body._style({
maxWidth: 1024 + "px"
})._scroll(e => {
const _this = e.target;
"nav".$.$$_class(_this.scrollTop > 0, "min");
})
]);
dom.init();
}
});
});
</script>
</body>
</html>