Skip to content

Commit b3e51f7

Browse files
committed
feat(icon): logo icon
1 parent c1f45cd commit b3e51f7

6 files changed

Lines changed: 51 additions & 0 deletions

File tree

docs/.vitepress/theme/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@
1818
background-clip: text;
1919
-webkit-background-clip: text;
2020
-webkit-text-fill-color: transparent;
21+
}
22+
23+
.VPNavBarTitle .VPImage {
24+
width: 40px !important;
25+
height: 40px !important;
2126
}

docs/.vitepress/zh.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ export const zh = defineConfig({
66
title: "SpectrumLab",
77
description: "一个为系统评估和加速谱学深度学习的平台",
88
themeConfig: {
9+
logo: {
10+
src: './assets/logo.svg',
11+
},
12+
913
nav: [
1014
{ text: '教程', link: '/zh/tutorial' },
1115
{ text: 'API', link: '/zh/api' },
1216
{ text: '基准测试', link: '/zh/benchmark' },
1317
{ text: '排行榜', link: 'https://huggingface.co/spaces/SpectrumWorld/SpectrumLeaderboard' },
1418
],
19+
1520
sidebar: {
1621
'/': [
1722
{

docs/assets/lab.svg

Lines changed: 11 additions & 0 deletions
Loading

docs/assets/leaderboard.svg

Lines changed: 11 additions & 0 deletions
Loading

docs/assets/logo.svg

Lines changed: 9 additions & 0 deletions
Loading

docs/assets/world.svg

Lines changed: 10 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)