starter 合作伙伴模块上移

This commit is contained in:
tangly1024.com
2024-10-11 17:38:41 +08:00
parent 3b360d0786
commit cd3ac58dac
2 changed files with 12 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ export const Brand = () => {
return (
<>
{/* <!-- ====== Brands Section Start --> */}
<section className='pb-20 dark:bg-dark'>
<section className='py-20 dark:bg-dark'>
<div className='container px-4'>
<div className='-mx-4 flex flex-wrap items-center justify-center gap-8 xl:gap-11'>
{brands?.map((item, index) => {

View File

@@ -85,6 +85,16 @@ const LayoutIndex = props => {
<>
{/* 英雄区 */}
{siteConfig('STARTER_HERO_ENABLE') && <Hero />}
{/* 横幅图片 */}
{siteConfig('STARTER_HERO_BANNER_IMAGE') && (
<div className='w-full'>
<LazyImage
className='w-full'
src={siteConfig('STARTER_HERO_BANNER_IMAGE')}></LazyImage>
</div>
)}
{/* 合作伙伴 */}
{siteConfig('STARTER_BRANDS_ENABLE') && <Brand />}
{/* 产品特性 */}
{siteConfig('STARTER_FEATURE_ENABLE') && <Features />}
{/* 关于 */}
@@ -111,8 +121,7 @@ const LayoutIndex = props => {
)}
{/* 联系方式 */}
{siteConfig('STARTER_CONTACT_ENABLE') && <Contact />}
{/* 合作伙伴 */}
{siteConfig('STARTER_BRANDS_ENABLE') && <Brand />}
{/* 行动呼吁 */}
{siteConfig('STARTER_CTA_ENABLE') && <CTA />}
</>