updated
This commit is contained in:
@@ -161,6 +161,13 @@ function Truth() {
|
||||
initial={{ opacity: 0, x: -30 }}
|
||||
animate={isMainInView ? { opacity: 1, x: 0 } : { opacity: 0, x: -30 }}
|
||||
transition={{ duration: 0.5, delay: 0.3 + index * 0.1, ease: "easeOut" }}
|
||||
cursor="pointer"
|
||||
onClick={() => {
|
||||
const url = item.url;
|
||||
if (url) {
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
}}
|
||||
>
|
||||
<MotionImage
|
||||
src={item.image}
|
||||
@@ -177,13 +184,6 @@ function Truth() {
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
animate={isMainInView ? { opacity: 1, y: 0 } : { opacity: 0, y: 20 }}
|
||||
transition={{ duration: 0.5, delay: 0.5 + index * 0.1, ease: "easeOut" }}
|
||||
cursor="pointer"
|
||||
onClick={() => {
|
||||
const url = item.url;
|
||||
if (url) {
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
}}
|
||||
>
|
||||
{renderDescription(item.desc)}
|
||||
</MotionText>
|
||||
|
||||
Reference in New Issue
Block a user