Skip to content

Commit

Permalink
chore: 添加dev:win & 添加友链
Browse files Browse the repository at this point in the history
  • Loading branch information
xugaoyi committed Jan 12, 2024
1 parent 26fbc5a commit e8fd9c7
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 24 deletions.
51 changes: 28 additions & 23 deletions docs/04.更多/99.友情链接.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,44 +13,46 @@ author:
普通卡片列表容器,可用于友情链接、项目推荐、古诗词展示等。
cardList 后面可跟随一个数字表示每行最多显示多少个,选值范围1~4,默认3。在小屏时会根据屏幕宽度减少每行显示数量。
-->

::: cardList

```yaml
- name: 麋鹿鲁哟
desc: 大道至简,知易行难
avatar: https://jsd.cdn.zzko.cn/gh/xugaoyi/image_store/blog/20200122153807.jpg # 可选
link: https://www.cnblogs.com/miluluyo/ # 可选
bgColor: '#CBEAFA' # 可选,默认var(--bodyBg)。颜色值有#号时请添加单引号
textColor: '#6854A1' # 可选,默认var(--textColor)
bgColor: "#CBEAFA" # 可选,默认var(--bodyBg)。颜色值有#号时请添加单引号
textColor: "#6854A1" # 可选,默认var(--textColor)
- name: XAOXUU
desc: '#IOS #Volantis主题作者'
desc: "#IOS #Volantis主题作者"
avatar: https://jsd.cdn.zzko.cn/gh/xaoxuu/assets@master/avatar/avatar.png
link: https://xaoxuu.com
bgColor: '#B9D59C'
textColor: '#3B551F'
bgColor: "#B9D59C"
textColor: "#3B551F"
- name: 平凡的你我
desc: 理想成为大牛的<br/>小陈同学
avatar: https://qiniu.reinness.com/avatar.png
link: https://reinness.com
bgColor: '#FFE5B4'
textColor: '#A05F2C'
bgColor: "#FFE5B4"
textColor: "#A05F2C"
- name: znote
desc: 荷尽已无擎雨盖,<br/>菊残犹有傲霜枝。
avatar: https://zpj80231.gitee.io/znote/vuepress/head-fish.jpg
link: https://zpj80231.gitee.io/znote/
bgColor: '#FCE5BF'
textColor: '#7B2532'
bgColor: "#FCE5BF"
textColor: "#7B2532"
- name: 全栈软件开发直通车
desc: 全栈软件开发技术博客,<br/>从小白到大神!
avatar: https://cdn.jsdelivr.net/gh/wangshibiaoFlytiger/blog_picBed1/images/shuaige.jpg
link: https://sofineday.com
bgColor: '#FBEBEC'
textColor: '#603420'
bgColor: "#FBEBEC"
textColor: "#603420"
- name: 易良同学的博客
desc: 正在努力!
avatar: https://yiliang.site/assets/images/avatar.jpg
link: https://yiliang.site
bgColor: '#FFEFE2'
textColor: '#A05F2C'
bgColor: "#FFEFE2"
textColor: "#A05F2C"
- name: 永远的救赎者
desc: 知者减半,省者全无。
avatar: https://i.loli.net/2020/08/10/PkQMGL6pATW1vBg.jpg
Expand Down Expand Up @@ -107,7 +109,7 @@ cardList 后面可跟随一个数字表示每行最多显示多少个,选值
desc: 流水不争先,争的是滔滔不绝。
avatar: https://joy1412.cn/img/dudu.jpeg
link: https://joy1412.cn
- name: '@小右_'
- name: "@小右_"
desc: 学而不厌 不耻下问
avatar: https://lordblog.cn/upload/2021/05/logo%20(4)-742f1f7e15db44a1b3140035104ea239.png
link: https://lordblog.cn/
Expand All @@ -130,11 +132,11 @@ cardList 后面可跟随一个数字表示每行最多显示多少个,选值
- name: 二丫讲梵 # 昵称
desc: 💻学习📝记录🔗分享 # 介绍
avatar: https://wiki.eryajf.net/img/logo.png # 头像
link: https://wiki.eryajf.net/ # 链接
- name: YoungKbt World # 昵称
desc: 故事由我书写,旅程由你见证,传奇由她聆听 # 介绍
avatar: https://jsd.cdn.zzko.cn/gh/Kele-Bingtang/static/user/avatar2.png # 头像
link: https://notes.youngkbt.cn/ # 链接
link: https://wiki.eryajf.net/ # 链接
- name: YoungKbt World # 昵称
desc: 故事由我书写,旅程由你见证,传奇由她聆听 # 介绍
avatar: https://jsd.cdn.zzko.cn/gh/Kele-Bingtang/static/user/avatar2.png # 头像
link: https://notes.youngkbt.cn/ # 链接
# - name: XuHuaian,s Blog # 昵称
# desc: 记录自己的工作学习心得,争取当一条有梦想的咸鱼 # 介绍
# avatar: https://dbsecurity.com.cn/images/logo.jpg # 头像
Expand Down Expand Up @@ -166,7 +168,7 @@ cardList 后面可跟随一个数字表示每行最多显示多少个,选值
- name: Gahing's blog # 昵称
desc: 生活之珍爱,余缀于技术之间。 # 介绍
avatar: https://www.gahing.top/img/avatar.jpeg # 头像
link: https://www.gahing.top/ # 链接
link: https://www.gahing.top/ # 链接
- name: Howietron # 昵称
desc: Java全站技术博客,积跬步以至千里,致敬每个爱学习的你。 # 介绍
avatar: https://wiki.howie.top/img/logo.png # 头像
Expand All @@ -175,20 +177,23 @@ cardList 后面可跟随一个数字表示每行最多显示多少个,选值
desc: 前端学习笔记分享、小白都能看懂的笔记 # 介绍
avatar: https://note.noxussj.top/logo.png # 头像
link: https://note.noxussj.top/?s=y3 # 链接
- name: 坚持住 # 昵称
desc: 一个毕业于临床医学专业的挚爱IT技术的喜欢研究英语的人族选手 # 介绍
avatar: https://hanginthere.space/wp-content/uploads/2023/08/cropped-logo.png # 头像
link: Https://hanginthere.space # 链接
```
:::
:::
### 友链申请
与我[ 联系 ](/about/#联系)或者 在本页面评论区留言您的友链信息,格式:(点击代码块右上角一键复制)
```yaml
- name: Evan's blog # 昵称
desc: Web前端技术博客,积跬步以至千里 # 介绍
avatar: https://jsd.cdn.zzko.cn/gh/xugaoyi/image_store/blog/20200103123203.jpg # 头像
link: https://xugaoyi.com/ # 链接
link: https://xugaoyi.com/ # 链接
```
申请前记得先添加本站哦~
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"scripts": {
"dev": "export NODE_OPTIONS=--openssl-legacy-provider && node --max_old_space_size=4096 ./node_modules/vuepress/cli.js dev docs",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && node --max_old_space_size=4096 ./node_modules/vuepress/cli.js build docs",
"dev:win": "set NODE_OPTIONS=--openssl-legacy-provider && node --max_old_space_size=4096 ./node_modules/vuepress/cli.js dev docs",
"build:win": "set NODE_OPTIONS=--openssl-legacy-provider && node --max_old_space_size=4096 ./node_modules/vuepress/cli.js build docs",
"predev": "node utils/check.js dev && vdoing",
"prebuild": "node utils/check.js build && vdoing",
"deploy": "bash deploy.sh",
Expand Down
2 changes: 1 addition & 1 deletion utils/check.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (isWin) {

const warnFn = (type) => {
console.log(fRed,
`\n[vdoing] 提示:因为您使用的是 windows 系统,请手动将 package.json 文件中的 ${type} 脚本内的 export 改为 set,否则运行失败。 \n`
`\n[vdoing] 提示:由于您使用的是 windows 系统,请使用 ${type}:win 运行,否则运行失败。 \n`
)
process.exit(1)
}
Expand Down

1 comment on commit e8fd9c7

@vercel
Copy link

@vercel vercel bot commented on e8fd9c7 Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.