feat: 更新网站图标和个人头像配置

将默认的网络图标替换为本地 favicon.webp 文件,并更新个人头像配置使用同一图标
This commit is contained in:
afoim
2025-08-10 23:35:03 +08:00
parent 8fdf9f49f8
commit 1b10452adb
2 changed files with 2 additions and 2 deletions

BIN
public/favicon.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View File

@@ -48,7 +48,7 @@ export const siteConfig: SiteConfig = {
favicon: [
// Leave this array empty to use the default favicon
{
src: "https://q2.qlogo.cn/headimg_dl?dst_uin=2726730791&spec=5", // Path of the favicon, relative to the /public directory
src: "./favicon.webp", // Path of the favicon, relative to the /public directory
// theme: 'light', // (Optional) Either 'light' or 'dark', set only if you have different favicons for light and dark mode
// sizes: '32x32', // (Optional) Size of the favicon, set only if you have favicons of different sizes
},
@@ -84,7 +84,7 @@ export const navBarConfig: NavBarConfig = {
};
export const profileConfig: ProfileConfig = {
avatar: "https://q2.qlogo.cn/headimg_dl?dst_uin=2726730791&spec=5", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
avatar: "/favicon.webp", // Relative to the /src directory. Relative to the /public directory if it starts with '/'
name: "二叉树树",
bio: "爱你所爱~ ❤",
links: [