-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
107 lines (107 loc) · 3.11 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta name="keywords" content="gitalk,duoshuo,多说,评论组件,凹凸实验室,aotulabs,comment,plugin,github,issue,react,preact,component">
<meta name="description" content="A modern comment component based on Github Issue and Preact.凹凸实验室出品的一款基于 Github Issue 和 Preact 开发的评论插件">
<title>赵兴刚的博客</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<style type="text/css">
* {
margin: 0;
padding: 0;
}
.container {
margin: 0 auto;
padding-bottom: 60px;
max-width: 720px;
color: #6190E8;
font-family: "PingFang SC", Helvetica, "Microsoft YaHei", Arial, sans-serif;
}
.hero {
margin: 80px 0;
text-align: center;
}
.logo {
display: inline-block;
text-decoration: none;
height: 50px;
line-height: 50px;
vertical-align: middle;
}
.hero h1 {
margin-left: 16px;
display: inline-block;
font-size: 32px;
font-weight: 500;
vertical-align: bottom;
}
.hero-intro {
margin: 28px 0;
font-size: 20px;
font-weight: 300;
}
.hero-buttons a {
display: inline-block;
text-decoration: none;
height: 36px;
line-height: 36px;
border-radius: 36px;
}
.btn-begin {
padding: 0 20px;
min-width: 80px;
color: white;
background-color: #6190E8;
}
.btn-github {
margin-left: 36px;
width: 120px;
color: #6190E8;
border: 1px solid #6190E8;
}
.demo-title {
text-align: center;
}
.demo-title span {
display: inline-block;
padding-bottom: 10px;
font-size: 20px;
border-bottom: 1px dashed #6190E8;
width: 120px;
}
@media (max-width: 720px) {
.container {
width: 90%;
}
}
</style>
<link rel="stylesheet" href="https://unpkg.com/gitalk@latest/dist/gitalk.css">
</head>
<body>
<div>
赵兴刚的博客
</div>
<div class="container">
<div id="gitalk-container"></div>
</div>
<script src="https://unpkg.com/gitalk@latest/dist/gitalk.min.js"></script>
<script type="text/javascript">
var gitalk = new Gitalk({
clientID: '7f85d876209b6dc27f8c',
clientSecret: '9e2cc4b22837f522dd126657974e422bb10c8594',
repo: 'Github1208.github.io',
owner: 'Github1208',
admin: ['Github1208'],
id: 'Demo',
language:'zh',
distractionFreeMode: true,
proxy: "https://netnr-proxy.cloudno.de/https://github.com/login/oauth/access_token"
});
gitalk.render('gitalk-container');
</script>
</body>
</html>