Spaces:
Running
Running
| export const animationConfig = { | |
| header: { | |
| initial: { opacity: 0, y: -20 }, | |
| animate: { opacity: 1, y: 0, duration: 0.6, ease: "power3.out" }, | |
| }, | |
| editor: { | |
| initial: { opacity: 0, x: -20 }, | |
| animate: { | |
| opacity: 1, | |
| x: 0, | |
| duration: 0.6, | |
| delay: 0.1, | |
| ease: "power3.out", | |
| }, | |
| }, | |
| preview: { | |
| initial: { opacity: 0, x: 20 }, | |
| animate: { | |
| opacity: 1, | |
| x: 0, | |
| duration: 0.6, | |
| delay: 0.2, | |
| ease: "power3.out", | |
| }, | |
| }, | |
| consoleMessage: { | |
| initial: { opacity: 0, y: -5 }, | |
| animate: { opacity: 1, y: 0, duration: 0.3, ease: "power2.out" }, | |
| }, | |
| error: { | |
| initial: { opacity: 0, transform: "translateY(-10px)" }, | |
| animate: { opacity: 1, transform: "translateY(0)", duration: 0.3 }, | |
| }, | |
| viewTransition: { | |
| duration: 0.2, | |
| ease: "power2.inOut", | |
| }, | |
| }; | |