Skip to content

Commit

Permalink
[style] 일반 메인으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
suu3 committed Feb 17, 2024
1 parent 345152f commit 55fa80c
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/components/@layout/transition-main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ const TransitionMain = ({
className?: string
}) => {
return (
<motion.main
className={className}
initial={{
opacity: 0,
x: -200,
}}
animate={{
opacity: 1,
x: 0,
}}
exit={{
opacity: 0,
x: 200,
}}
transition={{
type: "spring",
mass: 0.35,
stiffness: 75,
duration: 0.15,
}}
>
{children}
</motion.main>
// <motion.main
// className={className}
// initial={{
// opacity: 0,
// x: -200,
// }}
// animate={{
// opacity: 1,
// x: 0,
// }}
// exit={{
// opacity: 0,
// x: 200,
// }}
// transition={{
// type: "spring",
// mass: 0.35,
// stiffness: 75,
// duration: 0.15,
// }}
// >
<main className={className}>{children}</main>
// </motion.main>
)
}

Expand Down

0 comments on commit 55fa80c

Please sign in to comment.