Skip to content

Commit e5f36e5

Browse files
author
Ewall555
committed
feat: 添加白皮书logo并更新icon,logo,页脚
1 parent 3d47ef9 commit e5f36e5

2 files changed

Lines changed: 21 additions & 14 deletions

File tree

‎docs/public/whitepaper/logo.png‎

15.9 KB
Loading

‎docs/theme.config.tsx‎

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,33 @@ import React from 'react'
22
import { DocsThemeConfig } from 'nextra-theme-docs'
33

44
const config: DocsThemeConfig = {
5+
head: (
6+
<>
7+
<title>JumpServer 技术白皮书</title>
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9+
<link rel="icon" href="/whitepaper/logo.png" />
10+
</>
11+
),
512
logo: (
6-
<span style={{ fontWeight: 600 }}>
7-
JumpServer Whitepaper
8-
</span>
13+
<>
14+
<img
15+
src="/whitepaper/logo.png"
16+
alt="JumpServer 技术白皮书"
17+
style={{ height: 24, marginRight: 8 }}
18+
/>
19+
<span style={{ fontWeight: 600 }}>JumpServer 技术白皮书</span>
20+
</>
921
),
10-
// Omit repo links to avoid invalid URL parsing in dev
11-
// project: { link: 'https://example.com/repo' },
12-
// docsRepositoryBase: 'https://example.com/repo/tree/main/docs',
1322
footer: {
14-
content: 'JumpServer Whitepaper — Nextra'
23+
content: (
24+
<span>
25+
2014-2025 版权所有© 杭州飞致云信息科技有限公司
26+
</span>
27+
)
1528
},
1629
sidebar: {
1730
defaultMenuCollapseLevel: 1
18-
},
19-
head: (
20-
<>
21-
<title>JumpServer Whitepaper</title>
22-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
23-
</>
24-
)
31+
}
2532
}
2633

2734
export default config

0 commit comments

Comments
 (0)