-
Notifications
You must be signed in to change notification settings - Fork 0
/
valaxy.config.ts
105 lines (101 loc) · 2.06 KB
/
valaxy.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
95
96
97
98
99
100
101
102
103
104
105
import { defineValaxyConfig } from 'valaxy'
import type { UserThemeConfig } from 'valaxy-theme-yun'
import { addonWaline } from 'valaxy-addon-waline'
// add icons what you will need
const safelist = [
'i-ri-home-line',
'i-mdi-minecraft'
]
/**
* User Config
*/
export default defineValaxyConfig<UserThemeConfig>({
siteConfig: {
comment: {
enable: true
}
},
addons: [
addonWaline({
serverURL: 'comments.vercel.halfcooler.cn/',
emoji: true,
dark: true,
pageSize: 10,
lang: 'zh',
requiredMeta: [],
login: 'enable',
imageUploader: true,
reaction: true
})
],
theme: 'yun',
themeConfig: {
banner: {
enable: true,
title: '大半凉的小站',
cloud: {
enable: true,
},
},
bg_image: {
enable: true,
url: '/index.png',
dark: '/index_night.png',
opacity: 0.5
},
notice: {
enable: true,
content: '欢迎来访, 大半凉的小站是一个记录生活、分享技术的地方。',
hideInPages: true,
},
fireworks: {
enable: true,
colors: ['#EDE5ED', '#D6DDED', '#F9E8E4', '#C0C8E7', '#EEE6E9']
},
pages: [
{
name: '我的小伙伴们',
url: '/links/',
icon: 'i-ri-genderless-line',
color: 'dodgerblue',
},
{
name: '喜欢的女孩子',
url: '/girls/',
icon: 'i-ri-women-line',
color: 'hotpink',
},
{
name: '友情链接',
url: '/friends/',
icon: 'i-ri-links-line',
color: '#ff7f50',
},
],
footer: {
since: 2024,
icon: {
enable: true,
name: 'i-ri-heart-fill',
animated: true,
color: '#f3f3f3',
url: '/feed/',
title: '投喂我'
},
powered: true,
beian: {
enable: true,
icp: '黑ICP备2024016637号-1',
},
},
},
unocss: { safelist },
})
// say: {
// enable: true,
// api: '/youn',
// hitokoto: {
// enable: true,
// api: '/young.json',
/// = }
//}