From e33fa3c26fa1b2bc0a613a9ae2849f2cf12ce7f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E6=9E=B3?= <7854742+wang_rumeng@user.noreply.gitee.com> Date: Tue, 21 Oct 2025 19:50:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9H5=20banner=20=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E6=8C=89=E9=92=AE=E8=A2=AB=E9=81=AE=E6=8C=A1=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/HomeBanner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/HomeBanner.tsx b/components/HomeBanner.tsx index c2a50be..aa40bc8 100644 --- a/components/HomeBanner.tsx +++ b/components/HomeBanner.tsx @@ -165,7 +165,7 @@ export default function HomeBanner() { data-alt="home-banner" className={`absolute inset-0 z-10 isolate overflow-hidden rounded-3xl px-6 py-6 text-white border-2 border-transparent hover:border-custom-blue/50 transition-all duration-400 ease-in-out ${ isFlying - ? "translate-x-[90%] -translate-y-[70%] scale-[0.85] opacity-95 rotate-3" + ? isDesktop ? "translate-x-[90%] -translate-y-[70%] scale-[0.85] opacity-95 rotate-3" : "translate-x-[80%] -translate-y-[70%] scale-[0.85] opacity-95 rotate-3" : "translate-x-0 translate-y-0 scale-100 opacity-100 rotate-0" }`} aria-label="Home banner"