Skip to content

Commit

Permalink
feat: 카카오 로그인을 지원하지 않는다는 메세지 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeml06 committed Oct 22, 2024
1 parent 1c80a5d commit 5cfecc4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/pages/Login/HomePage/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import GET_ROUTES from '@_common/getRoutes';
import LoginLayout from '@_layouts/LoginLayout/LoginLayout';
import MainLogoIcon from '@_components/Icons/MainLogoIcon';
import AppleOAuthIcon from '@_components/Icons/AppleOAuthIcon';
import ROUTES from '@_constants/routes';
import { getLastDarakbangId } from '@_common/lastDarakbangManager';
import { getAccessToken } from '@_utils/tokenManager';
import GoogleLoginButton from '@_components/GoogleLoginButton/GoogleLoginButton';
Expand All @@ -20,7 +19,7 @@ export default function HomePage() {
return <Navigate to={GET_ROUTES.nowDarakbang.main()} />;
}
if (!lastDarakbangId) {
return <Navigate to={ROUTES.kakaoSelection} />;
return <Navigate to={GET_ROUTES.default.kakaoSelection} />;
}
}

Expand Down Expand Up @@ -56,6 +55,7 @@ export default function HomePage() {
css={css`
display: flex;
flex-direction: column;
margin-top: 30%;
gap: 2rem;
align-items: center;
justify-content: center;
Expand Down Expand Up @@ -100,15 +100,15 @@ export default function HomePage() {
css={S.kakaoButton}
onClick={() => {
alert(
'카카오톡 로그인은 더이상 지원하지 않아요! 다른 로그인을 이용하여 계정을 옮겨 보세요!',
'카카오톡 로그인은 더 이상 지원하지 않아요! 다른 로그인을 이용하여 계정을 옮겨 보세요!',
);
}}
>
<KakaoOAuthLoginIcon type="circle" />
</button>
</div>
<span css={S.explain({ theme })}>
카카오톡 로그인은 더이상 지원하지 않아요!
카카오톡 로그인은 더 이상 지원하지 않아요!
<br />
다른 로그인을 이용해주세요
</span>
Expand Down

0 comments on commit 5cfecc4

Please sign in to comment.