refactor(assets): relocate character cover image

This commit is contained in:
2026-07-17 15:04:34 +08:00
parent 64e27b4fa6
commit a210a98d98
7 changed files with 6 additions and 6 deletions
@@ -22,7 +22,7 @@ describe("splash Tailwind components", () => {
expect(html).toContain("absolute");
expect(html).toContain("bg-sidebar-background");
expect(html).toContain("object-cover");
expect(html).toContain("%2Fimages%2Fsplash%2Fpic-bg-home.png");
expect(html).toContain("%2Fimages%2Fcover%2Felio.png");
});
it("renders SplashContent with Tailwind typography classes", () => {
@@ -3,7 +3,7 @@
*
*
* `SizedBox.expand(child: Assets.images.picBgHome.image(fit: BoxFit.cover))`
* 资源: /public/images/splash/pic-bg-home.png (kebab-case 重命名后)
* 资源: /public/images/cover/elio.png
* 原名: pic_bg_home.png (snake_case)
*
* sizes 属性说明:
@@ -17,7 +17,7 @@ export function SplashBackground() {
return (
<div className="absolute inset-0 z-0 overflow-hidden bg-sidebar-background">
<Image
src="/images/splash/pic-bg-home.png"
src="/images/cover/elio.png"
alt=""
fill
priority