diff --git a/src/components/commons/Loading/Loading.tsx b/src/components/commons/Loading/Loading.tsx new file mode 100644 index 0000000..58cc918 --- /dev/null +++ b/src/components/commons/Loading/Loading.tsx @@ -0,0 +1,35 @@ +import React from 'react'; + +import { zIndex, colors } from '@styles/theme'; + +import { ALogoIcon, BLogoIcon } from '@icons/index'; + +import { Row } from '../Flex/Flex'; + +const Loading = () => { + return ( +
+ + + + +
+ ); +}; + +export default Loading; diff --git a/src/routes/Auth/kakao/KakaoLogin.tsx b/src/routes/Auth/kakao/KakaoLogin.tsx index ca9e678..7772cea 100644 --- a/src/routes/Auth/kakao/KakaoLogin.tsx +++ b/src/routes/Auth/kakao/KakaoLogin.tsx @@ -3,6 +3,7 @@ import { useNavigate } from 'react-router'; import { kakaoLogin } from '@apis/oauth/kakao'; import { Row } from '@components/commons/Flex/Flex'; +import Loading from '@components/commons/Loading/Loading'; import { useAuthStore } from '@store/auth'; @@ -55,27 +56,7 @@ const KakaoLogin = () => { return ( -
- - - - -
+
);