File size: 857 Bytes
794cf6c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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",
  },
};