Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
imhson committed Aug 13, 2024
1 parent 8b05fa6 commit e473a88
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export default function FooterAnimationSection() {
<motion.div
className='absolute z-30 bottom-[14%] w-[14%]'
initial={{ right: '-50%' }}
animate={{ right: '150%' }}
transition={{ duration: 25, repeat: Infinity, ease: 'linear' }}>
animate={{ right: ['-50%','78%', '78%', '150%'] }}
transition={{ duration: 25, repeat: Infinity, ease: 'easeInOut', times: [0, 0.6, 0.68, 1] }}>
<Image src={Bus1} alt='' />
</motion.div>
<motion.div
Expand All @@ -54,14 +54,14 @@ export default function FooterAnimationSection() {
className='absolute z-30 bottom-[4%] w-[12%]'
initial={{ left: '-50%' }}
animate={{ left: '150%' }}
transition={{ duration: 20, repeat: Infinity, ease: 'linear'}}>
transition={{ duration: 20, repeat: Infinity, ease: 'linear' }}>
<Image src={Bus2} alt='' />
</motion.div>
<motion.div
className='absolute z-30 bottom-[1%] w-[9%]'
initial={{ left: '-50%' }}
animate={{ left: '150%' }}
transition={{ duration: 14, repeat: Infinity, ease: 'linear'}}>
transition={{ duration: 14, repeat: Infinity, ease: 'linear' }}>
<Image src={Taxi} alt='' />
</motion.div>
</div>
Expand Down

0 comments on commit e473a88

Please sign in to comment.