Skip to content

Commit

Permalink
feature: 메인화면으로 이동시 부드럽게 transition되도록
Browse files Browse the repository at this point in the history
  • Loading branch information
JongMany committed Jul 8, 2024
1 parent 503739b commit f16870d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fe/src/components/shared/loadingScreen/MainLoadingScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ export const MainLoadingScreen = ({ started, onStarted }) => {
return (
//absolute z-50 h-[100vh] w-[100vw] flex justify-center items-center
<div
className={`z-50 absolute h-[100vh] w-[100vw] ${
started ? "z-0 hidden" : ""
className={`z-50 absolute h-[100vh] w-[100vw] transition-all durtaion-300 ${
// started ? "z-0 hidden" : ""
started ? "opacity-0 -z-10 invisible" : ""
}`}
>
<LoadAnimation />
Expand Down

0 comments on commit f16870d

Please sign in to comment.