1
- import { React } from 'https://deno.land/x/pagic/mod.ts' ;
1
+ import { React } from 'https://deno.land/x/pagic@v1.0.0 /mod.ts' ;
2
2
3
3
export default {
4
4
srcDir : '.' ,
@@ -19,27 +19,26 @@ export default {
19
19
< img src = "/assets/wechat.jpg" width = "256" style = { { marginRight : '1rem' , verticalAlign : 'top' } } />
20
20
< img src = "/assets/alipay.jpg" width = "256" style = { { verticalAlign : 'top' } } />
21
21
</ >
22
- )
22
+ ) ,
23
23
} ,
24
24
{
25
25
text : '加入微信群' ,
26
26
popover : (
27
- < >
28
- < p style = { { marginTop : 0 , marginBottom : '1rem' } } > 若二维码失效请微信联系 xcatliu 更新</ p >
29
- < img src = "/assets/join-wechat.jpg" width = "256" />
30
- </ >
31
- )
27
+ < p style = { { marginTop : 0 , width : 256 } } > 微信群已超过 200 人,如要加群,请加群主微信 xcatliu 并备注 ts</ p >
28
+ ) ,
32
29
} ,
33
30
{
34
31
text : '加入 QQ 群' ,
35
32
link : 'https://jq.qq.com/?_wv=1027&k=5nkkFCl' ,
36
33
target : '_blank' ,
37
34
popover : (
38
35
< >
39
- < p style = { { marginTop : 0 , marginBottom : '1rem' } } > 群号: 767142358</ p >
36
+ < p style = { { marginTop : 0 , marginBottom : '1rem' , width : 256 } } >
37
+ 一群(767142358)已满,请扫码加二群(706191218)
38
+ </ p >
40
39
< img src = "/assets/join-qq.jpg" width = "256" />
41
40
</ >
42
- )
41
+ ) ,
43
42
} ,
44
43
{
45
44
text : '下载本书' ,
@@ -57,8 +56,13 @@ export default {
57
56
< img src = "https://www.geekxh.com/ts/09.png?pprv" width = "256" />
58
57
</ a >
59
58
</ >
60
- )
61
- }
59
+ ) ,
60
+ } ,
61
+ {
62
+ text : '本网站使用 Pagic 构建' ,
63
+ link : 'https://github.com/xcatliu/pagic' ,
64
+ target : '_blank' ,
65
+ } ,
62
66
] ,
63
67
sidebar : {
64
68
'/' : [
@@ -67,8 +71,8 @@ export default {
67
71
children : [
68
72
'introduction/what-is-typescript.md' ,
69
73
'introduction/get-typescript.md' ,
70
- 'introduction/hello-typescript.md'
71
- ]
74
+ 'introduction/hello-typescript.md' ,
75
+ ] ,
72
76
} ,
73
77
{
74
78
link : 'basics/README.md' ,
@@ -82,8 +86,8 @@ export default {
82
86
'basics/type-of-function.md' ,
83
87
'basics/type-assertion.md' ,
84
88
'basics/declaration-files.md' ,
85
- 'basics/built-in-objects.md'
86
- ]
89
+ 'basics/built-in-objects.md' ,
90
+ ] ,
87
91
} ,
88
92
{
89
93
link : 'advanced/README.md' ,
@@ -96,19 +100,19 @@ export default {
96
100
'advanced/class-and-interfaces.md' ,
97
101
'advanced/generics.md' ,
98
102
'advanced/declaration-merging.md' ,
99
- 'advanced/further-reading.md'
100
- ]
103
+ 'advanced/further-reading.md' ,
104
+ ] ,
101
105
} ,
102
106
{
103
107
link : 'engineering/README.md' ,
104
- children : [ 'engineering/lint.md' , 'engineering/compiler-options.md' ]
108
+ children : [ 'engineering/lint.md' , 'engineering/compiler-options.md' ] ,
105
109
} ,
106
- 'thanks/README.md'
107
- ]
110
+ 'thanks/README.md' ,
111
+ ] ,
108
112
} ,
109
113
tools : {
110
114
editOnGitHub : true ,
111
- backToTop : true
115
+ backToTop : true ,
112
116
} ,
113
117
// tocAd: (
114
118
// <div
@@ -134,10 +138,10 @@ export default {
134
138
repo : 'typescript-tutorial' ,
135
139
owner : 'xcatliu' ,
136
140
admin : [ 'xcatliu' ] ,
137
- pagerDirection : 'first'
141
+ pagerDirection : 'first' ,
138
142
} ,
139
143
ga : {
140
- id : 'UA-45256157-14'
144
+ id : 'UA-45256157-14' ,
141
145
} ,
142
- port : 8001
146
+ port : 8001 ,
143
147
} ;
0 commit comments