docs: add ways of social links

This commit is contained in:
rand777 2025-03-08 04:08:16 +08:00
parent c9a422254c
commit f8b4735de0
2 changed files with 64 additions and 20 deletions

View File

@ -93,7 +93,7 @@ list:
link: https://github.com/db1-bot
- icon: qq
link: https://qm.qq.com/q/8gljLYs8Mg
- icon: {svg: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="-2 -2 24 24"><path fill="currentColor" d="M13.593 19.96c3.48 0 6.307-2.836 6.327-6.297l.039-5.095l-.059-.278l-.167-.348l-.283-.22c-.367-.287-2.228.02-2.729-.435c-.355-.324-.41-.91-.518-1.706c-.2-1.54-.326-1.62-.568-2.142C14.76 1.585 12.382.193 10.75 0H6.325C2.845 0 0 2.839 0 6.307v7.356c0 3.461 2.845 6.296 6.325 6.296h7.268zM6.406 5.151h3.507c.67 0 1.212.544 1.212 1.205c0 .657-.542 1.206-1.212 1.206H6.406c-.67 0-1.21-.549-1.21-1.206c0-.661.54-1.205 1.21-1.205m-1.21 8.418c0-.66.54-1.2 1.21-1.2h7.127c.665 0 1.205.54 1.205 1.2c0 .652-.54 1.2-1.205 1.2H6.406a1.21 1.21 0 0 1-1.21-1.2"/></svg>'}
- icon: {svg: '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2m-5.15 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56M14.34 14H9.66c-.1-.66-.16-1.32-.16-2s.06-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2M12 19.96c-.83-1.2-1.5-2.53-1.91-3.96h3.82c-.41 1.43-1.08 2.76-1.91 3.96M8 8H5.08A7.92 7.92 0 0 1 9.4 4.44C8.8 5.55 8.35 6.75 8 8m-2.92 8H8c.35 1.25.8 2.45 1.4 3.56A8 8 0 0 1 5.08 16m-.82-2C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2M12 4.03c.83 1.2 1.5 2.54 1.91 3.97h-3.82c.41-1.43 1.08-2.77 1.91-3.97M18.92 8h-2.95a15.7 15.7 0 0 0-1.38-3.56c1.84.63 3.37 1.9 4.33 3.56M12 2C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2"/></svg>'}
link: https://medseek.site/colibri-wp/members/
backgroundColor:
color:
@ -230,6 +230,8 @@ list:
location: 中国,重庆沙坪坝
organization: 哈尔滨工业大学
socials:
- icon: qq
link:
backgroundColor:
color:
nameColor:
@ -269,7 +271,7 @@ list:
- name: Lily
link:
avatar: /avatar/lwj.jpg
desc: 悠哉哉
desc: 【一段用于描述或激励自己的话,比如:不忘初心,方得始终。】
location: 中国,重庆合川
organization: 项导工作室
socials:
@ -285,7 +287,7 @@ list:
location: 中国,重庆九龙坡
organization: 重庆医科大学医学信息学院教授
socials:
- qq:
- icon: qq
link:
backgroundColor:
color:
@ -293,9 +295,9 @@ list:
- name: Steven-Zhangyuchen
link: https://github.com/Steven-Zhangyuchen
avatar: /avatar/zyc.jpg
desc: ·
desc: 【一段用于描述或激励自己的话,比如:不忘初心,方得始终。】
location: 中国,四川成都
organization: ·
organization: UnKnown
socials:
- icon: github
link: https://github.com/Steven-Zhangyuchen
@ -323,7 +325,7 @@ list:
- name: 陆小曼
link:
avatar: /avatar/hlt.jpg
desc: 😊
desc: 【一段用于描述或激励自己的话,比如:不忘初心,方得始终。】
location: 中国,重庆万州
organization: 重庆医科大学
socials:

View File

@ -11,18 +11,21 @@ createTime: 2025/03/06 16:40:46
下面的表格解释了友情链接中[个人信息社会链接](/friends/persons/)的图标含义。
:::
| 图标 | 含义 |
|----------------------------|------------|
| :[mingcute:qq-fill]: | 添加QQ好友 |
| :[akar-icons:github-fill]: | 个人github主页 |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| 图标 | 含义 |
|---------------------------------|-----------------------------------------------------------------------------------|
| :[mingcute:qq-fill]: | 添加QQ好友点击即可添加 |
| :[akar-icons:github-fill]: | 个人github主页 |
| :[bxl:blogger]: | 个人博客页 |
| :[mdi:web]: | 门户网站页,多为子页面 |
| :[mingcute:bilibili-line]: | 个人B站主页[Bilibili](https://www.bilibili.com/) |
| :[fxemoji:email]: | 电子邮箱,点击即可联系 |
| :[/orcid.svg]: | ORCID[什么是ORCID](https://info.orcid.org/zh-CN/%E4%BB%80%E4%B9%88%E6%98%AF-orcid/) |
| :[academicons:google-scholar]: | [谷歌学术](https://scholar.google.com/)个人主页 |
| :[prime:twitter]: | [X社交平台](https://x.com/)原twitter |
| :[vscode-icons:file-type-pdf2]: | 个人PDF简历 |
| :[mdi:linkedin]: | [领英](https://www.linkedin.com/)个人主页 |
| :[mdi:facebook]: | [Facebook](https://www.facebook.com/)个人主页 |
| :[mdi:wechat]: | 个人微信(暂未接入点击添加) |
[//]: # (| 图标 | :[mingcute:qq-fill]: | | | | | | | | |)
@ -30,8 +33,47 @@ createTime: 2025/03/06 16:40:46
[//]: # (| 含义 | 添加QQ好友 | | | | | | | | |)
## 我该怎样添加社会链接
## QQ
:::info 不同的添加方式
- 管理员/开发人员收到你的社交链接后,会根据你的需求添加到友情链接中。
- 前往github仓库的[friends文件夹](https://github.com/MultipledMe/PGuide-Docs/edit/master/docs/notes/friends-persons.md)
自行编辑提交PR即可。
:::
:::tip 目前可编辑的字段
| 字段 | 含义 |
|----------------|-----------------------------------|
| name | 您的呢称 |
| link | 您的个人主页或网站链接 |
| avatar | 您的头像路径或URL |
| desc | 一段简短的描述或格言 |
| location | 地理位置 |
| organization | 所属组织或机构,可多种 |
| socials | 社交网络或联系方式,可多种 |
| backgroundColor| 好友卡片的背景颜色 |
| color | 好友卡片的文字颜色 |
| nameColor | 好友卡片的姓名颜色 |
示例:
```yaml
- name: rand777
link: https://www.rand777.space
avatar: https://www.rand777.space/avatar.png
desc: 一个热爱开源的学生
location: 中国
organization: 中国原神大学
socials:
- icon: bxl-github
link:
- icon: bxl-blogger
link:
```
:::
### QQ
QQ添加好友链接的方式如下