feat(animations): refine home page animations

This commit is contained in:
SethBurkart123
2024-11-29 11:40:37 +11:00
parent dc1ae9c0a1
commit f6e549c5da
+8 -2
View File
@@ -2297,8 +2297,14 @@ export async function loadHomePage() {
if (settingsState.animations) { if (settingsState.animations) {
animate( animate(
'.home-container > div', '.home-container > div',
{ opacity: [0, 1], y: [10, 0] }, { opacity: [0, 1], y: [10, 0], scale: [0.99, 1] },
{ delay: stagger(0.2), startTime: 0 } {
delay: stagger(0.15, { startDelay: 0.1 }),
type: 'spring',
stiffness: 341,
damping: 20,
mass: 1
}
) )
} }