diff --git a/src/.vuepress/navbar.ts b/src/.vuepress/navbar.ts index 03e4630715e16b051b1ac618a25c4bf7d65f131c..bb5d4d8165326f098c75467f8fd9269e1bc6dd6b 100644 --- a/src/.vuepress/navbar.ts +++ b/src/.vuepress/navbar.ts @@ -4,7 +4,7 @@ export default navbar([ "/", { text: '项目地址', - icon: "bulb", + icon: '/icons/project.svg', children: [ { text: 'gitee', icon: '/icons/gitee.svg', link: 'https://gitee.com/dromara/warm-flow.git' }, { text: 'github', icon: '/icons/github.svg', link: 'https://github.com/dromara/warm-flow.git' } @@ -17,7 +17,7 @@ export default navbar([ }, { text: '社区贡献', - icon: 'bulb', + icon: '/icons/community.svg', children: [ { text: '社区pr', link: '/guide/pr.md' }, { text: '捐赠列表', link: '/guide/donation.md' } diff --git a/src/.vuepress/public/icons/advanced.svg b/src/.vuepress/public/icons/advanced.svg new file mode 100644 index 0000000000000000000000000000000000000000..4b9846378e4a1f4a3bf370d7ca3ba08eccaa88a1 --- /dev/null +++ b/src/.vuepress/public/icons/advanced.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/.vuepress/public/icons/community.svg b/src/.vuepress/public/icons/community.svg new file mode 100644 index 0000000000000000000000000000000000000000..f6ffc58c7247dda3dba5ef95d42afeaa1da211e6 --- /dev/null +++ b/src/.vuepress/public/icons/community.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/.vuepress/public/icons/other.svg b/src/.vuepress/public/icons/other.svg new file mode 100644 index 0000000000000000000000000000000000000000..85459841cac7c82f79999092211f231c1b5c71bc --- /dev/null +++ b/src/.vuepress/public/icons/other.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/.vuepress/public/icons/project.svg b/src/.vuepress/public/icons/project.svg new file mode 100644 index 0000000000000000000000000000000000000000..8f1e0e4b5affbbd52e27472f2e24680924a15d40 --- /dev/null +++ b/src/.vuepress/public/icons/project.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/.vuepress/sidebar.ts b/src/.vuepress/sidebar.ts index 18450bc0a4487626cc9acc27a9a0663f623b80d7..a9384481a9d5f4ed2928906c3028f226de079fa5 100644 --- a/src/.vuepress/sidebar.ts +++ b/src/.vuepress/sidebar.ts @@ -18,7 +18,7 @@ export default sidebar([ }, { text: "进阶部分", - icon: "bulb", + icon: "/icons/advanced.svg", prefix: "/guide/", collapsible: false, children: [ @@ -29,7 +29,7 @@ export default sidebar([ }, { text: "其他", - icon: "bulb", + icon: "/icons/other.svg", prefix: "/guide/", collapsible: false, children: [ diff --git a/src/.vuepress/styles/index.scss b/src/.vuepress/styles/index.scss index 41628b18bbbafcd1e9f3986b5047542def027644..190c1addf133287c40f7fd990ea78778e5a2f474 100644 --- a/src/.vuepress/styles/index.scss +++ b/src/.vuepress/styles/index.scss @@ -12,6 +12,14 @@ color: var(--theme-color) !important; } } + .dropdown-title { + display: flex; + align-items: center; + .title { + display: flex; + align-items: center; + } + } } .theme-container { @@ -24,6 +32,12 @@ padding: 2.8rem 0; } +.vp-sidebar { + .vp-sidebar-header { + margin-inline: 0; + } +} + .vp-feature-title { display: flex; align-items: center;