1
1
import { defineConfig } from 'dumi' ;
2
2
3
- import { homepage , name } from './package.json' ;
3
+ import { description , homepage , name } from './package.json' ;
4
4
5
5
const isProduction = process . env . NODE_ENV === 'production' ;
6
6
const isWin = process . platform === 'win32' ;
@@ -13,7 +13,7 @@ const themeConfig = {
13
13
text : 'Github' ,
14
14
} ,
15
15
{
16
- link : '/components/baichuan ' ,
16
+ link : '/components/ai21 ' ,
17
17
text : 'View all icons' ,
18
18
type : 'primary' ,
19
19
} ,
@@ -24,11 +24,11 @@ const themeConfig = {
24
24
pkg : name ,
25
25
sourceUrl : `{github}/tree/master/src/{atomId}/index.tsx` ,
26
26
} ,
27
- description : 'Lobe UI is an open-source UI component library for building AIGC web apps' ,
27
+ description : description ,
28
28
footer : 'Made with 🤯 by LobeHub' ,
29
29
name : 'Icons' ,
30
30
nav : [
31
- { link : '/components/baichuan ' , title : 'Icons' } ,
31
+ { link : '/components/ai21 ' , title : 'Icons' } ,
32
32
{ link : '/changelog' , title : 'Changelog' } ,
33
33
] ,
34
34
socialLinks : {
@@ -45,7 +45,13 @@ export default defineConfig({
45
45
'process.env' : process . env ,
46
46
} ,
47
47
extraBabelPlugins : [ 'babel-plugin-antd-style' ] ,
48
- favicons : [ 'https://npm.elemecdn.com/@lobehub/assets-favicons/assets/favicon.ico' ] ,
48
+ favicons : [ 'https://lobehub.com/favicon.ico' ] ,
49
+ giscus : {
50
+ category : 'Q&A' ,
51
+ categoryId : 'DIC_kwDOLLYRIs4Cin-i' ,
52
+ repo : 'lobehub/lobe-icons' ,
53
+ repoId : 'R_kgDOLLYRIg' ,
54
+ } ,
49
55
locales : [ { id : 'en-US' , name : 'English' } ] ,
50
56
mfsu : isWin ? undefined : { } ,
51
57
npmClient : 'pnpm' ,
@@ -55,6 +61,9 @@ export default defineConfig({
55
61
entryFile : './src/index.ts' ,
56
62
}
57
63
: undefined ,
64
+ sitemap : {
65
+ hostname : 'https://icons.lobehub.com' ,
66
+ } ,
58
67
styles : [
59
68
`html, body { background: transparent; }
60
69
0 commit comments