Skip to content

Commit acd2534

Browse files
committed
animation only once
1 parent e368962 commit acd2534

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/landing/LandingSection.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default function LandingSection({
1111
whileInView={{ opacity: 1, y: 0 }}
1212
transition={{ duration: 0.5, ease: 'easeInOut' }}
1313
className={`w-full h-full py-16 overflow-x-hidden ${bgClass}`}
14+
viewport={{ once: true }}
1415
>
1516
<div className="max-w-7xl px-4 lg:px-8 mx-auto flex justify-center items-center h-full ">
1617
{children}

0 commit comments

Comments
 (0)