Skip to content

showcase 三张配图本地化,修复外链慢/国内裂图 - #233

Merged
TreeLin merged 1 commit into
mainfrom
fix/local-showcase-images
Nov 25, 2026
Merged

TreeLin merged 1 commit into
mainfrom
fix/local-showcase-images

Conversation

@TreeLin

@TreeLin TreeLin commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • 首页与 showcase 页三张案例配图从 raw.githubusercontent / user-attachments 外链改为仓库 /assets/img/ 同源引用(6 处)
  • 体积优化:妙笔 687→162KB(1520px + 256 色量化)、讲题助手 698→284KB(量化)、抖战台保留原图 133KB;合计 1.52MB→579KB
  • 消除国内网络对 GitHub 外链主机不可达导致的裂图/长时间空白

Test plan

  • 预览整页滚动后 52/52 图片渲染成功;三张本地图 3–4ms 加载(原外链 1–3.5s)
  • showcase 页三张图 naturalWidth 正常;首页案例区截图核对无裁切异常
  • 合并后核验线上 assets 200 与首页图片完整性

@TreeLin
TreeLin merged commit f8a7e16 into main Nov 25, 2026
@TreeLin
TreeLin deleted the fix/local-showcase-images branch November 25, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant