From f24e82bfd9a6c1e3db11ed4bf325be918e0ff8b6 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Fri, 11 Oct 2024 17:10:48 +0800 Subject: [PATCH] =?UTF-8?q?starter=20-=20hero=20banner=20=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/starter/components/Hero.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/themes/starter/components/Hero.js b/themes/starter/components/Hero.js index ee9408e8..b0fed7a9 100644 --- a/themes/starter/components/Hero.js +++ b/themes/starter/components/Hero.js @@ -85,16 +85,15 @@ export const Hero = () => { )} - - {/* 横幅图片 */} - {siteConfig('STARTER_HERO_BANNER_IMAGE') && ( -
- -
- )} + {/* 横幅图片 */} + {siteConfig('STARTER_HERO_BANNER_IMAGE') && ( +
+ +
+ )} {/* */} )