mirror of
https://github.com/zen-browser/www.git
synced 2025-07-10 10:15:31 +02:00
fix: update animation function and remove unused AnimatedText component
This commit is contained in:
parent
480c0189f0
commit
f90f54ec04
2 changed files with 1 additions and 99 deletions
|
@ -2,7 +2,7 @@
|
|||
export function getTitleAnimation(delay = 0) {
|
||||
return {
|
||||
initial: { opacity: 0, translateY: 20, filter: 'blur(4px)' },
|
||||
whileInView: { opacity: 1, translateY: 0, filter: 'blur(0px)', transition: { duration: 0.3, delay } },
|
||||
animate: { opacity: 1, translateY: 0, filter: 'blur(0px)', transition: { duration: 0.3, delay } },
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue