mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-25 04:59:01 +08:00
feat(docs): 添加网站导航栏 Logo
- 在主题配置中添加 logo 属性指向 '/logo-icon.png' - 配置文件中增加 Logo 显示功能
This commit is contained in:
parent
1dc173e4df
commit
45068f304f
@ -6,6 +6,7 @@ export default defineConfig({
|
|||||||
description: "面向游戏开发场景的模块化 C# 框架",
|
description: "面向游戏开发场景的模块化 C# 框架",
|
||||||
base: "/GFramework/",
|
base: "/GFramework/",
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
|
logo: '/logo-icon.png',
|
||||||
// https://vitepress.dev/reference/default-theme-config
|
// https://vitepress.dev/reference/default-theme-config
|
||||||
nav: [
|
nav: [
|
||||||
{ text: '首页', link: '/' },
|
{ text: '首页', link: '/' },
|
||||||
|
|||||||
BIN
docs/public/logo-icon.png
Normal file
BIN
docs/public/logo-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 280 KiB |
BIN
docs/public/logo.png
Normal file
BIN
docs/public/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 MiB |
Loading…
x
Reference in New Issue
Block a user