File tree Expand file tree Collapse file tree 7 files changed +5
-102
lines changed Expand file tree Collapse file tree 7 files changed +5
-102
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const Header = (props) => {
52
52
< div className = "vant-doc-row" >
53
53
< div className = "vant-doc-header__top" >
54
54
< a className = "vant-doc-header__logo" >
55
- < img alt = "vant " src = { config . logo } />
55
+ < img alt = "rc-ui-lib " src = { config . logo } />
56
56
< span > { config . title } </ span >
57
57
</ a >
58
58
{ config . searchConfig && < SearchInput lang = { lang } searchConfig = { config . searchConfig } /> }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 15
15
"lint" : " rc-cli lint" ,
16
16
"build" : " rc-cli build" ,
17
17
"type" : " tsc -p tsconfig.json" ,
18
- "release" : " rc-cli release" ,
18
+ "release" : " cp ../../README.md ./ && rc-cli release && rm ./README.md " ,
19
19
"changelog" : " rc-cli changelog" ,
20
20
"build:site" : " rc-cli build-site" ,
21
21
"release:site" : " pnpm build:site && gh-pages -d site" ,
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ Toast({
72
72
73
73
Toast ({
74
74
message: ' 自定义图片' ,
75
- icon: ' https://img01.yzcdn.cn/vant/logo .png' ,
75
+ icon: ' https://rancui.github.io/rc-ui-lib/rc-ui-lib .png' ,
76
76
});
77
77
78
78
Toast .loading ({
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export default (): React.ReactNode => {
59
59
onClick = { ( ) =>
60
60
Toast ( {
61
61
message : '自定义图片' ,
62
- icon : 'https://img01.yzcdn.cn/vant/logo .png' ,
62
+ icon : 'https://rancui.github.io/rc-ui-lib/rc-ui-lib .png' ,
63
63
} )
64
64
}
65
65
/>
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export default {
15
15
'zh-CN' : {
16
16
title : 'RC-UI-LIB' ,
17
17
description : '轻量、可靠的移动端组件库' ,
18
- logo : 'https://img01.yzcdn.cn/vant/logo .png' ,
18
+ logo : '/rc-ui-lib .png' ,
19
19
langLabel : '中文' ,
20
20
links : [
21
21
{
@@ -329,51 +329,6 @@ export default {
329
329
} ,
330
330
] ,
331
331
} ,
332
- 'en-US' : {
333
- title : 'RC-UI-LIB' ,
334
- description : 'Mobile UI Components built on React' ,
335
- logo : 'https://img01.yzcdn.cn/vant/logo.png' ,
336
- langLabel : 'En' ,
337
- links : [
338
- {
339
- logo : 'https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png' ,
340
- url : 'https://github.com/rancui/rc-ui-lib' ,
341
- } ,
342
- ] ,
343
- searchConfig : {
344
- apiKey : '90067aecdaa2c85220e2783cd305caac' ,
345
- indexName : 'rc-ui-lib' ,
346
- placeholder : 'Search...' ,
347
- } ,
348
- nav : [
349
- {
350
- title : 'Essentials' ,
351
- items : [
352
- {
353
- path : 'home' ,
354
- title : 'Introduction' ,
355
- } ,
356
- {
357
- path : 'quickstart' ,
358
- title : 'Quickstart' ,
359
- } ,
360
- {
361
- path : 'theme' ,
362
- title : 'Custom Theme' ,
363
- } ,
364
- ] ,
365
- } ,
366
- {
367
- title : 'Basic Components' ,
368
- items : [
369
- {
370
- path : 'button' ,
371
- title : 'Button' ,
372
- } ,
373
- ] ,
374
- } ,
375
- ] ,
376
- } ,
377
332
} ,
378
333
} ,
379
334
} ;
You can’t perform that action at this time.
0 commit comments