docs: 调整首页样式

This commit is contained in:
ZiuChen 2022-08-19 21:47:17 +08:00
parent 2b9890d4e5
commit 236bf1b8a5
3 changed files with 27 additions and 31 deletions

View File

@ -44,13 +44,6 @@ module.exports = {
{ {
text: '个人介绍', text: '个人介绍',
link: '/self/', link: '/self/',
items: [
{
text: '关于我',
link: '/self/'
},
{
text: '更多信息',
items: [ items: [
{ {
text: '技术栈', text: '技术栈',
@ -66,8 +59,6 @@ module.exports = {
} }
] ]
} }
]
}
], ],
displayAllHeaders: true, displayAllHeaders: true,
logo: '/logo.png', logo: '/logo.png',
@ -75,6 +66,7 @@ module.exports = {
editLinks: true, editLinks: true,
docsBranch: 'main', docsBranch: 'main',
docsDir: 'docs', docsDir: 'docs',
lastUpdated: 'Last Updated' lastUpdated: 'Last Updated',
smoothScroll: true
} }
} }

View File

@ -0,0 +1,5 @@
.theme-container.home-page-class {
.page-edit {
display: none;
}
}

View File

@ -1,14 +1,13 @@
--- ---
home: true pageClass: home-page-class
heroImage: /logo.png
heroText: ZiuChen
tagline: Unlimited Progress.
features:
- title: 开源作品
details: Vue3+TypeScript后台管理系统, A-SOUL浏览器宠物, 北交大课程平台功能增强, uTools超级粘贴, 稀土掘金助手...
- title: 技术栈
details: Javascript, Typescript, C/C++, Python, Vue, React, Node,js, MySQL, Git, ...
- title: 相关链接
details: 哔哩哔哩, 稀土掘金, CSDN, Github, Gitee...
footer: ZiuChen
--- ---
<div align="center">
<img src="./.vuepress/public/logo.png" />
<h1>ZiuChen</h1>
<i>Infinite Progress</i>
<p class="action">
<a href="/works/">💖 开源作品 | Works</a>
<a href="/self/">😉 个人介绍 | About</a>
</p>
</div>