fix: replace hardcoded local image paths with OSS URLs

Remove all local file imports referencing ../../../tu/ and
../../assets/ directories. Replace with OSS muban prefix URLs:
https://stringtest.oss-cn-hangzhou.aliyuncs.com/muban/

This fixes build failure on server (missing local image files)
and ensures images load from centralized OSS storage.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-02 14:34:55 +08:00
parent 59efc78c0e
commit 16bf7bbdad
3 changed files with 20 additions and 21 deletions
+8 -6
View File
@@ -9,12 +9,14 @@ import {
} from "@ant-design/icons";
import { useCallback, useEffect, useMemo, useRef, useState, type CSSProperties } from "react";
import WelcomeSplash from "./WelcomeSplash";
import featureEcommerceImage from "../../assets/home-features/feature-ecommerce.jpg";
import featureScriptImage from "../../assets/home-features/feature-script.jpg";
import featureTokenImage from "../../assets/home-features/feature-token.jpg";
import heroImage1 from "../../../projects/public/hero-1.png";
import heroImage2 from "../../../projects/public/hero-2.png";
import heroImage3 from "../../../projects/public/hero-3.png";
const OSS_MUBAN = "https://stringtest.oss-cn-hangzhou.aliyuncs.com/muban";
const heroImage1 = `${OSS_MUBAN}/hero-1.png`;
const heroImage2 = `${OSS_MUBAN}/hero-2.png`;
const heroImage3 = `${OSS_MUBAN}/hero-3.png`;
const featureEcommerceImage = `${OSS_MUBAN}/feature-ecommerce.jpg`;
const featureScriptImage = `${OSS_MUBAN}/feature-script.jpg`;
const featureTokenImage = `${OSS_MUBAN}/feature-token.jpg`;
interface HomePageProps {
onOpenGenerate: () => void;