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' ;
22
33export default {
44 srcDir : '.' ,
@@ -19,27 +19,26 @@ export default {
1919 < img src = "/assets/wechat.jpg" width = "256" style = { { marginRight : '1rem' , verticalAlign : 'top' } } />
2020 < img src = "/assets/alipay.jpg" width = "256" style = { { verticalAlign : 'top' } } />
2121 </ >
22- )
22+ ) ,
2323 } ,
2424 {
2525 text : '加入微信群' ,
2626 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+ ) ,
3229 } ,
3330 {
3431 text : '加入 QQ 群' ,
3532 link : 'https://jq.qq.com/?_wv=1027&k=5nkkFCl' ,
3633 target : '_blank' ,
3734 popover : (
3835 < >
39- < p style = { { marginTop : 0 , marginBottom : '1rem' } } > 群号: 767142358</ p >
36+ < p style = { { marginTop : 0 , marginBottom : '1rem' , width : 256 } } >
37+ 一群(767142358)已满,请扫码加二群(706191218)
38+ </ p >
4039 < img src = "/assets/join-qq.jpg" width = "256" />
4140 </ >
42- )
41+ ) ,
4342 } ,
4443 {
4544 text : '下载本书' ,
@@ -57,8 +56,13 @@ export default {
5756 < img src = "https://www.geekxh.com/ts/09.png?pprv" width = "256" />
5857 </ a >
5958 </ >
60- )
61- }
59+ ) ,
60+ } ,
61+ {
62+ text : '本网站使用 Pagic 构建' ,
63+ link : 'https://github.com/xcatliu/pagic' ,
64+ target : '_blank' ,
65+ } ,
6266 ] ,
6367 sidebar : {
6468 '/' : [
@@ -67,8 +71,8 @@ export default {
6771 children : [
6872 'introduction/what-is-typescript.md' ,
6973 'introduction/get-typescript.md' ,
70- 'introduction/hello-typescript.md'
71- ]
74+ 'introduction/hello-typescript.md' ,
75+ ] ,
7276 } ,
7377 {
7478 link : 'basics/README.md' ,
@@ -82,8 +86,8 @@ export default {
8286 'basics/type-of-function.md' ,
8387 'basics/type-assertion.md' ,
8488 'basics/declaration-files.md' ,
85- 'basics/built-in-objects.md'
86- ]
89+ 'basics/built-in-objects.md' ,
90+ ] ,
8791 } ,
8892 {
8993 link : 'advanced/README.md' ,
@@ -96,19 +100,19 @@ export default {
96100 'advanced/class-and-interfaces.md' ,
97101 'advanced/generics.md' ,
98102 'advanced/declaration-merging.md' ,
99- 'advanced/further-reading.md'
100- ]
103+ 'advanced/further-reading.md' ,
104+ ] ,
101105 } ,
102106 {
103107 link : 'engineering/README.md' ,
104- children : [ 'engineering/lint.md' , 'engineering/compiler-options.md' ]
108+ children : [ 'engineering/lint.md' , 'engineering/compiler-options.md' ] ,
105109 } ,
106- 'thanks/README.md'
107- ]
110+ 'thanks/README.md' ,
111+ ] ,
108112 } ,
109113 tools : {
110114 editOnGitHub : true ,
111- backToTop : true
115+ backToTop : true ,
112116 } ,
113117 // tocAd: (
114118 // <div
@@ -134,10 +138,10 @@ export default {
134138 repo : 'typescript-tutorial' ,
135139 owner : 'xcatliu' ,
136140 admin : [ 'xcatliu' ] ,
137- pagerDirection : 'first'
141+ pagerDirection : 'first' ,
138142 } ,
139143 ga : {
140- id : 'UA-45256157-14'
144+ id : 'UA-45256157-14' ,
141145 } ,
142- port : 8001
146+ port : 8001 ,
143147} ;
0 commit comments