Skip to content

Commit

Permalink
增加友链界面
Browse files Browse the repository at this point in the history
  • Loading branch information
Paper-Dragon committed Nov 3, 2023
1 parent b45121f commit 44c4a27
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/.vuepress/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ export default navbar([
icon: "history",
link: "/timeline"
},
{
text: "友链",
icon: "link",
link: "/友链/友链.md",
ariaLabel: "友链"
},
{
text: "实时访客",
icon: "chart-simple",
Expand Down
1 change: 1 addition & 0 deletions src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export default hopeTheme({
mdEnhance: {
align: true,
attrs: true,
card: true,
chart: false,
codetabs: true,
demo: true,
Expand Down
45 changes: 45 additions & 0 deletions src/友链/友链.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# 友链

## 官方文档

```card
title: VuePress
desc: Vue 驱动的静态网站生成器
logo: https://v2.vuepress.vuejs.org/images/hero.png
link: https://v2.vuepress.vuejs.org/zh/
color: rgb(193 197 210)
```


```card
title: Markdown 增强
desc: 为 VuePress2 提供更多 Markdown 增强功能
logo: https://plugin-md-enhance.vuejs.press/logo.svg
link: https://plugin-md-enhance.vuejs.press/zh/
color: rgb(193 197 210)
```


```card
title: vuepress-plugin-comment2
desc: 评论与阅读量插件
logo: https://plugin-comment2.vuejs.press/logo.svg
link: https://plugin-comment2.vuejs.press/zh/
color: rgb(193 197 210)
```

```card
title: vuepress-plugin-components
desc: 面向 VuePress2 的常用组件
logo: https://plugin-components.vuejs.press/logo.svg
link: https://plugin-components.vuejs.press/zh/
color: rgb(193 197 210)
```

```card
title: fontawesome
desc: 开源图标库
logo: https://fontawesome.com/images/favicon/icon.svg
link: https://fontawesome.com/
color: rgb(193 197 210)
```

0 comments on commit 44c4a27

Please sign in to comment.