starter 遮罩

This commit is contained in:
tangly1024
2024-10-31 21:22:10 +08:00
parent 9e85f4d1c2
commit de4d7cf896
3 changed files with 37 additions and 29 deletions

View File

@@ -87,7 +87,7 @@ export const Testimonials = () => {
<div className='swiper testimonial-carousel common-carousel p-5'>
<div className='swiper-wrapper'>
{/* 用户评价卡牌 */}
{STARTER_TESTIMONIALS_ITEMS.map((item, index) => {
{STARTER_TESTIMONIALS_ITEMS?.map((item, index) => {
return (
<div key={index} className='swiper-slide'>
<div className='rounded-xl bg-white px-4 py-[30px] shadow-testimonial dark:bg-dark sm:px-[30px]'>

View File

@@ -25,6 +25,7 @@ import CONFIG from './config'
import { Style } from './style'
// import { MadeWithButton } from './components/MadeWithButton'
import Comment from '@/components/Comment'
import LoadingCover from '@/components/LoadingCover'
import ShareBar from '@/components/ShareBar'
import { useGlobal } from '@/lib/global'
import { loadWowJS } from '@/lib/plugins/wow'
@@ -84,6 +85,7 @@ const LayoutIndex = props => {
const posts = props?.allNavPages ? props.allNavPages.slice(0, count) : []
return (
<>
<LoadingCover />
{/* 英雄区 */}
{siteConfig('STARTER_HERO_ENABLE') && <Hero />}
{/* 合作伙伴 */}