From 9bea0715f3c9b4c55daca1b5c5a7468a42c0817f 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 23:08:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9H5=20Banner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/HomeBanner.tsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/components/HomeBanner.tsx b/components/HomeBanner.tsx index bdc998b..9851d9a 100644 --- a/components/HomeBanner.tsx +++ b/components/HomeBanner.tsx @@ -183,23 +183,23 @@ export default function HomeBanner() {
) : null} + {/* Dismiss button */} +
+ +
- {/* Dismiss button */} -
- -
{eyebrow ? ( {eyebrow} @@ -210,10 +210,10 @@ export default function HomeBanner() { {title} ) : null} - {subtitle ? ( + {(subtitle && isDesktop) ? (

{subtitle}

) : null} - {description ? ( + {(description && isDesktop) ? (

{description}

) : null} {ctaLabel ? ( @@ -245,7 +245,7 @@ export default function HomeBanner() { {/* Base content - always present under the banner */} -
+