perf: optimize site images

This commit is contained in:
liumangmang
2026-05-11 11:12:43 +08:00
parent 1b3e4c33a4
commit 514f3c78dc
26 changed files with 792 additions and 10 deletions
+3
View File
@@ -11,6 +11,9 @@ export default defineUserConfig({
lang: 'zh-CN',
title: '氓氓小栈',
description: '氓氓小栈',
head: [['link', { rel: 'icon', href: '/favicon.png' }]],
theme,
bundler: viteBundler({
viteOptions: {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

+2 -2
View File
@@ -39,8 +39,8 @@ export default hopeTheme(
sidebar,
// 网站logo设置
logo: 'logo/transparentLogo.png', // 亮色模式下的logo
logoDark: 'logo/transparentLogo.png', // 暗色模式下的logo
logo: 'logo/transparentLogo.webp', // 亮色模式下的logo
logoDark: 'logo/transparentLogo.webp', // 暗色模式下的logo
// 支持简写仓库名称,会解析到 GitHub 上,同时也可以是一个完整的 URL
// repo: "https://gitea.mangmang.fun/mangmang/blog",