Skip to content

Commit 1a90f8a

Browse files
authored
Merge pull request #6 from WangDollar/docs
fix(docs): favicon display
2 parents fe26d0b + ca0b267 commit 1a90f8a

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

docs/.vitepress/zh.ts

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,22 @@ export const zh = defineConfig({
55
lang: 'zh-CN',
66
title: "SpectrumLab",
77
description: "A pioneering unified platform designed to systematize and accelerate deep learning research in spectroscopy.",
8+
9+
head: [
10+
['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' }]
11+
// ['link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],
12+
// [
13+
// 'link',
14+
// { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }
15+
// ],
16+
// [
17+
// 'link',
18+
// { href: 'https://fonts.googleapis.com/css2?family=Roboto&display=swap', rel: 'stylesheet' }
19+
// ]
20+
],
21+
822
themeConfig: {
9-
logo: {
10-
src: './assets/logo.svg',
11-
},
23+
siteTitle: "SpectrumLab",
1224

1325
nav: [
1426
{ text: '教程', link: '/zh/tutorial' },
@@ -54,4 +66,4 @@ export const zh = defineConfig({
5466
lightModeSwitchTitle: '切换到浅色模式',
5567
darkModeSwitchTitle: '切换到深色模式',
5668
}
57-
})
69+
})

0 commit comments

Comments
 (0)