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",
+2 -2
View File
@@ -8,8 +8,8 @@ tagline: ''
#heroImage: logo/transparentLogo.png
#heroImageDark: logo/transparentLogo.png
#heroAlt: 可爱小熊猫
bgImage: bg/bgImage.jpg
bgImageDark: bg/bgImage.jpg
bgImage: bg/bgImage.webp
bgImageDark: bg/bgImage.webp
heroFullScreen: true
icon: house
@@ -94,7 +94,7 @@ WebSocket与HTTP是相辅相成的关系,而非替代关系。WebSocket通过H
## 5. 案例(服务端)
### 5.1 项目结构
![1746684922168.png](../../../../tools/assets/20210721105228.png)
![1746684922168.png](../../../../tools/assets/20210721105228.webp)
### 5.2 依赖配置
```xml
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

+3 -3
View File
@@ -83,7 +83,7 @@ ssh-ed25519 AAAA***5B Gitee SSH Key
5. 输入Gitee账户密码进行验证
6. 点击「添加」按钮完成操作
![添加账户SSH公钥](./assets/sshkeys_create-8409f453e6780ca1a8db3ce33c74240b.png "添加用户SSH公钥")
![添加账户SSH公钥](./assets/sshkeys_create-8409f453e6780ca1a8db3ce33c74240b.webp "添加用户SSH公钥")
### 4. 验证SSH连接
@@ -109,9 +109,9 @@ Hi USERNAME! You've successfully authenticated, but GITEE.COM does not provide s
2. 查看公钥详情:点击具体的公钥可以查看其详细信息
3. 删除公钥:当某个SSH公钥不再需要时,可以直接删除它
![浏览SSH Key](./assets/sshkeys_list-bff1a324894abbdc3ab8f61c49bb63d5.png "浏览SSH Key")
![浏览SSH Key](./assets/sshkeys_list-bff1a324894abbdc3ab8f61c49bb63d5.webp "浏览SSH Key")
![查看/删除SSH Key](./assets/sshkeys_show-a14cdfb89475debed237bfded2bd9848.png "查看/删除SSH Key")
![查看/删除SSH Key](./assets/sshkeys_show-a14cdfb89475debed237bfded2bd9848.webp "查看/删除SSH Key")
## 账户SSH公钥vs仓库SSH公钥
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

+1 -1
View File
@@ -124,7 +124,7 @@ title: 3月待办(2026-03
- **完成情况**: 已完成,已梳理点位与阈值告警关联关系,实现删除点位时同步清理关联阈值告警功能
- **需求截图**:
![删除点位关联阈值告警需求截图](../assets/Snipaste_2026-03-27_15-12-26.png)
![删除点位关联阈值告警需求截图](../assets/Snipaste_2026-03-27_15-12-26.webp)
### 20. [智慧场站-7050] 录像回放权限问题修复 <Badge text="已完成" type="tip" />
+1 -1
View File
@@ -191,7 +191,7 @@ export file:/home/sunri/PRS7950/binary/java/jar/x64/dist/
### 权限图
![权限图](./assets/image-20240513143908211.png)
![权限图](./assets/image-20240513143908211.webp)
### 问题截图