mirror of
https://github.com/zen-browser/www.git
synced 2025-07-10 10:15:31 +02:00
fix: format code and ensure consistent styling across files
This commit is contained in:
parent
2a9df52722
commit
d14b44b2c8
43 changed files with 14294 additions and 11609 deletions
|
@ -1,15 +1,19 @@
|
|||
|
||||
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 } },
|
||||
viewport: { once: true }
|
||||
};
|
||||
whileInView: {
|
||||
opacity: 1,
|
||||
translateY: 0,
|
||||
filter: 'blur(0px)',
|
||||
transition: { duration: 0.3, delay },
|
||||
},
|
||||
viewport: { once: true },
|
||||
}
|
||||
}
|
||||
|
||||
export function getZoomInAnimation(delay = 0) {
|
||||
return {
|
||||
initial: { scale: 0.8, opacity: 0 },
|
||||
whileInView: { scale: 1, opacity: 1, transition: { duration: 0.2, delay } },
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue