From cd3ac58dac06af0608fbde40268be2dc567f3ea4 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Fri, 11 Oct 2024 17:38:41 +0800 Subject: [PATCH] =?UTF-8?q?starter=20=E5=90=88=E4=BD=9C=E4=BC=99=E4=BC=B4?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=B8=8A=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/starter/components/Brand.js | 2 +- themes/starter/index.js | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/themes/starter/components/Brand.js b/themes/starter/components/Brand.js index 06cf9d3e..7d5b02da 100644 --- a/themes/starter/components/Brand.js +++ b/themes/starter/components/Brand.js @@ -11,7 +11,7 @@ export const Brand = () => { return ( <> {/* */} -
+
{brands?.map((item, index) => { diff --git a/themes/starter/index.js b/themes/starter/index.js index 81ca2c91..466c9ccb 100644 --- a/themes/starter/index.js +++ b/themes/starter/index.js @@ -85,6 +85,16 @@ const LayoutIndex = props => { <> {/* 英雄区 */} {siteConfig('STARTER_HERO_ENABLE') && } + {/* 横幅图片 */} + {siteConfig('STARTER_HERO_BANNER_IMAGE') && ( +
+ +
+ )} + {/* 合作伙伴 */} + {siteConfig('STARTER_BRANDS_ENABLE') && } {/* 产品特性 */} {siteConfig('STARTER_FEATURE_ENABLE') && } {/* 关于 */} @@ -111,8 +121,7 @@ const LayoutIndex = props => { )} {/* 联系方式 */} {siteConfig('STARTER_CONTACT_ENABLE') && } - {/* 合作伙伴 */} - {siteConfig('STARTER_BRANDS_ENABLE') && } + {/* 行动呼吁 */} {siteConfig('STARTER_CTA_ENABLE') && }