新增:《关于笔者》
This commit is contained in:
@@ -11,11 +11,14 @@
|
||||
"serve": "vitepress serve repos"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitepress": "^1.0.0-alpha.4",
|
||||
"vue": "^3.2.37"
|
||||
"vitepress": "^1.0.0-alpha.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons-vue": "^6.1.0",
|
||||
"@element-plus/icons-vue": "^2.0.6",
|
||||
"ant-design-vue": "^3.2.10",
|
||||
"element-plus": "^2.2.9",
|
||||
"fast-glob": "^3.2.11",
|
||||
"element-plus": "^2.2.9"
|
||||
"vue": "^3.2.37"
|
||||
}
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import type { DefaultTheme } from 'vitepress'
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
|
||||
export const nav: DefaultTheme.Config['nav'] = [
|
||||
{
|
||||
@@ -12,8 +12,11 @@ export const nav: DefaultTheme.Config['nav'] = [
|
||||
activeMatch: '/fragments/'
|
||||
},
|
||||
{
|
||||
text: '关于知识库',
|
||||
link: '/about/index',
|
||||
activeMatch: '/about/',
|
||||
text: '关于',
|
||||
items: [
|
||||
{ text: '关于知识库', link: '/about/index' },
|
||||
{ text: '关于笔者', link: '/about/me' }
|
||||
],
|
||||
activeMatch: '/about/'
|
||||
}
|
||||
]
|
@@ -1,16 +1,9 @@
|
||||
import type { DefaultTheme } from 'vitepress'
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import { sync } from "fast-glob"
|
||||
|
||||
export const sidebar: DefaultTheme.Config['sidebar'] = {
|
||||
'/issues/': getItems("issues"),
|
||||
'/fragments/': getItems("fragments"),
|
||||
'/about/': [
|
||||
{
|
||||
items: [
|
||||
{ text: '关于笔者', link: '/about/me' }
|
||||
]
|
||||
}
|
||||
]
|
||||
'/fragments/': getItems("fragments")
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import type { DefaultTheme } from 'vitepress'
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import { nav } from './nav'
|
||||
import { sidebar } from './sidebar'
|
||||
|
||||
|
@@ -1,9 +1,29 @@
|
||||
import DefaultTheme from 'vitepress/theme'
|
||||
import ElementPlus from 'element-plus'
|
||||
import "element-plus/dist/index.css"
|
||||
import * as ElIcons from '@element-plus/icons-vue'
|
||||
import Antd from 'ant-design-vue'
|
||||
import 'ant-design-vue/dist/antd.css'
|
||||
import * as AntdIcons from '@ant-design/icons-vue'
|
||||
|
||||
|
||||
import './custom.css'
|
||||
|
||||
export default {
|
||||
...DefaultTheme,
|
||||
enhanceApp({ app }) {
|
||||
// register global components
|
||||
// 全局注册ElementPlus的所有图标
|
||||
for (const [key, elIcon] of Object.entries(ElIcons)) {
|
||||
app.component(key, elIcon)
|
||||
}
|
||||
// 全局注册ElementPlus
|
||||
app.use(ElementPlus)
|
||||
|
||||
// 全局注册Ant Design of Vue的所有图标
|
||||
for (const [key, antdIcon] of Object.entries(AntdIcons)) {
|
||||
app.component(key, antdIcon)
|
||||
}
|
||||
// 全局注册Ant Design of Vue
|
||||
app.use(Antd)
|
||||
}
|
||||
}
|
@@ -1,6 +1,7 @@
|
||||
---
|
||||
editLink: false
|
||||
lastUpdated: false
|
||||
aside: false
|
||||
---
|
||||
|
||||
# 关于知识库
|
||||
|
@@ -1,21 +1,45 @@
|
||||
---
|
||||
editLink: false
|
||||
lastUpdated: false
|
||||
aside: false
|
||||
---
|
||||
|
||||
# 关于笔者
|
||||
|
||||
::: warning 笔者说
|
||||
<br>
|
||||
|
||||
待续
|
||||
<div>
|
||||
<a href="https://blog.charles7c.top/" target="_blank" style="display: inline-block;">
|
||||
<img src="https://img.shields.io/badge/知识库-查尔斯-lightblue?logo=blogger&logoColor=lightblue" alt="个人主页" />
|
||||
</a>
|
||||
<a href="https://github.com/Charles7c" target="_blank" style="display: inline-block;">
|
||||
<img src="https://img.shields.io/badge/GitHub-%E6%AC%A2%E8%BF%8E%E5%85%B3%E6%B3%A8-brightgreen.svg?style=social&logo=github" alt="GitHub个人主页" />
|
||||
</a>
|
||||
<a href="https://gitee.com/Charles7c" target="_blank" style="display: inline-block;">
|
||||
<img src="https://img.shields.io/badge/码云-Charles7c-C71D23?logo=gitee&logoColor=C71D23" alt="码云个人主页" />
|
||||
</a>
|
||||
<a href="https://blog.csdn.net/Charles_7c" target="_blank" style="display: inline-block;">
|
||||
<img src="https://img.shields.io/badge/CSDN-查尔斯-FC5531?logo=C&logoColor=FC5531" alt="CSDN个人主页" />
|
||||
</a>
|
||||
<a href="https://www.yuque.com/charles7c" target="_blank" style="display: inline-block;">
|
||||
<img src="https://img.shields.io/badge/语雀-查尔斯-38D27D" alt="语雀个人主页" />
|
||||
</a>
|
||||
<a href="https://juejin.cn/user/685744115170142" target="_blank" style="display: inline-block;">
|
||||
<img src="https://img.shields.io/badge/掘金-查尔斯-1E80FF" alt="掘金个人主页" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
:::
|
||||
|
||||
| 平台 | 昵称 | 个人主页 |
|
||||
| ------ | ---------------- | -------------------------------------- |
|
||||
| GitHub | Charles7c | https://github.com/Charles7c |
|
||||
| 码云 | Charles7c | https://gitee.com/Charles7c |
|
||||
| CSDN | 查尔斯-BUG万象集 | https://blog.csdn.net/Charles_7c |
|
||||
| 语雀 | 查尔斯 | https://www.yuque.com/charles7c |
|
||||
| 掘金 | | https://juejin.cn/user/685744115170142 |
|
||||
---
|
||||
- 👋 Hi, I’m Charles7c
|
||||
- 🔭 I’m currently working on Java backend development
|
||||
- 📫 How to reach me: [charles7c@126.com](mailto:charles7c@126.com)
|
||||
- 📖 My motto: “东隅已逝,桑榆非晚。”
|
||||
---
|
||||
|
||||
<div>
|
||||
<img src="https://metrics.lecoq.io/charles7c?template=classic&base.activity=0&base.community=0&base.repositories=0&base.metadata=0&isocalendar=1&languages=1&lines=1&isocalendar.duration=half-year&languages.ignored=html&languages.colors=github&languages.threshold=0%25&config.timezone=Asia%2FShanghai" width="95%" />
|
||||
<img src="https://github-readme-stats.vercel.app/api?username=charles7c&show_icons=true&hide_border=true" width="95%" />
|
||||
<img src="https://github-readme-streak-stats.herokuapp.com/?user=charles7c&theme=white&hide_border=true" width="95%" />
|
||||
<img src="https://activity-graph.herokuapp.com/graph?username=Charles7c&theme=xcode&bg_color=FF000000" width="95%" />
|
||||
<img src="https://github-profile-trophy.vercel.app/?username=charles7c&theme=gruvbox&row=1&column=6&no-frame=true&no-bg=true" width="95%" />
|
||||
</div>
|
@@ -1,6 +1,7 @@
|
||||
---
|
||||
editLink: false
|
||||
lastUpdated: false
|
||||
aside: false
|
||||
---
|
||||
|
||||
# "杂碎"逆袭史
|
||||
|
@@ -1,6 +1,7 @@
|
||||
---
|
||||
editLink: false
|
||||
lastUpdated: false
|
||||
aside: false
|
||||
---
|
||||
|
||||
# Bug万象集
|
||||
|
Reference in New Issue
Block a user