feat(图标): 添加本地SVG图标支持并更新相关配置

- 在astro配置中添加iconDir指定本地图标目录
- 移除@iconify-json/simple-icons生产依赖,改为开发依赖
- 添加多个本地SVG图标文件(creative-commons, qq, telegram等)
- 更新配置文件使用本地图标替代Font Awesome图标
- 在Profile组件中添加文章数和字数统计功能
This commit is contained in:
二叉树树
2026-01-22 01:01:56 +08:00
parent 086e16a56d
commit 9f5932622c
12 changed files with 53 additions and 15 deletions

1
public/icons/folo.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill="currentColor" d="M5.382 0h13.236A5.37 5.37 0 0 1 24 5.383v13.235A5.37 5.37 0 0 1 18.618 24H5.382A5.37 5.37 0 0 1 0 18.618V5.383A5.37 5.37 0 0 1 5.382.001Zm7.887 17.31a1.813 1.813 0 1 0-3.626.002a1.813 1.813 0 0 0 3.626-.002m-.535-6.527H7.213a1.813 1.813 0 1 0 0 3.624h5.521a1.813 1.813 0 1 0 0-3.624m4.417-4.712H8.87a1.813 1.813 0 1 0 0 3.625h8.283a1.813 1.813 0 1 0 0-3.624z"/></svg>

After

Width:  |  Height:  |  Size: 479 B