diff --git a/components/LoadingCover.js b/components/LoadingCover.js
index b53fa36c..9e24e255 100644
--- a/components/LoadingCover.js
+++ b/components/LoadingCover.js
@@ -13,7 +13,7 @@ export default function LoadingCover() {
if (onLoading) {
setIsVisible(true)
} else {
- const timeout = setTimeout(() => setIsVisible(false), 1500) // 等待淡出动画结束
+ const timeout = setTimeout(() => setIsVisible(false), 1800) // 等待淡出动画结束
return () => clearTimeout(timeout)
}
}, [onLoading])
@@ -36,33 +36,39 @@ export default function LoadingCover() {
diff --git a/themes/starter/components/Testimonials.js b/themes/starter/components/Testimonials.js
index f1b6f3b3..faf87513 100644
--- a/themes/starter/components/Testimonials.js
+++ b/themes/starter/components/Testimonials.js
@@ -87,7 +87,7 @@ export const Testimonials = () => {
{/* 用户评价卡牌 */}
- {STARTER_TESTIMONIALS_ITEMS.map((item, index) => {
+ {STARTER_TESTIMONIALS_ITEMS?.map((item, index) => {
return (
diff --git a/themes/starter/index.js b/themes/starter/index.js
index 922c05fe..49b99bac 100644
--- a/themes/starter/index.js
+++ b/themes/starter/index.js
@@ -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 (
<>
+
{/* 英雄区 */}
{siteConfig('STARTER_HERO_ENABLE') && }
{/* 合作伙伴 */}