-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
94 lines (82 loc) · 1.54 KB
/
config.ts
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
import { faFigma, faGithub, faReddit } from '@fortawesome/free-brands-svg-icons';
import { faBlog, faBook, faEnvelope, faPenRuler, IconDefinition } from '@fortawesome/free-solid-svg-icons';
export interface ILink {
icon?: IconDefinition,
title?: string,
uri: string,
shape?: 'rect' | 'circle',
}
export interface IConfig {
title: string,
subTitle?: string,
user: {
avater: string,
name?: string,
social?: Array<ILink>
},
site?: Array<ILink>
footer?: {
year: number,
copyRight?: string,
icp?: string,
gunan?: string,
}
}
const config: IConfig = {
title: 'Qiubitの修行路',
subTitle: '路漫漫其修远兮,吾将上下而求索!',
user: {
avater: '/img/head.jpg',
name: 'pangxiaoli',
social: [
{
icon: faGithub,
uri: 'http://github.com/pangxiaoli',
shape: 'circle',
title: 'github'
},
{
icon: faEnvelope,
uri: 'mailto:[email protected]',
title: 'mailto'
},
{
icon: faFigma,
uri: 'https://figma.com/',
title: 'figma'
},
{
icon: faReddit,
uri: 'https://reddit.com/',
title: 'reddit'
}
]
},
site: [
{
icon: faBook,
uri: 'http://ref.qiubit.cc',
title: 'ref',
shape: 'rect',
},
{
icon: faPenRuler,
uri: 'https://draw.qiubit.cc',
title: 'draw',
shape: 'rect',
},
{
icon: faBlog,
uri: 'https://blog.pangxiaoli.com',
title: 'blog',
shape: 'rect',
},
],
footer: {
year: 2023,
copyRight: 'pangxiaoli',
icp: '京ICP备2021012262号-2',
gunan: '京公网安备11010802035180'
}
};
export default config;