header updated

This commit is contained in:
2025-11-02 19:32:26 +08:00
parent 3c39db54d2
commit 736578dae3
4 changed files with 27 additions and 23 deletions

View File

@@ -108,6 +108,7 @@ function Truth() {
return (
<MotionBox
id="truth"
ref={mainRef}
position="relative"
w="100%"
@@ -232,7 +233,7 @@ function Truth() {
>
<Link href={image.link}>
<MotionImage src={image.image} cursor="pointer" fit={'contain'}
loading="lazy"
loading="lazy"
initial={{ opacity: 0, scale: 0.9 }}
animate={isTitleInView ? { opacity: 1, scale: 1 } : { opacity: 0, scale: 0.9 }}
transition={{ duration: 0.3, delay: 1.2 + index * 0.2, ease: "easeOut" }}