diff --git a/src/assets/icons/apple.svg b/src/assets/icons/apple.svg new file mode 100644 index 0000000..0a65131 --- /dev/null +++ b/src/assets/icons/apple.svg @@ -0,0 +1,2 @@ + + diff --git a/src/assets/icons/index.ts b/src/assets/icons/index.ts index e77a2a8..cc98232 100644 --- a/src/assets/icons/index.ts +++ b/src/assets/icons/index.ts @@ -17,3 +17,4 @@ export { ReactComponent as Naver } from './naver.svg'; export { ReactComponent as Logo } from './logo.svg'; export { ReactComponent as Filter } from './filter.svg'; export { ReactComponent as LocationPin } from './location-pin.svg'; +export { ReactComponent as Apple } from './apple.svg'; diff --git a/src/pages/login/index.module.scss b/src/pages/login/index.module.scss index 45cda04..a2d7d8c 100644 --- a/src/pages/login/index.module.scss +++ b/src/pages/login/index.module.scss @@ -63,8 +63,8 @@ background-color: #fee500; } - &--naver { - background-color: #03c75a; + &--apple { + background-color: #000; color: themes.$white; } } diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx index facc7aa..ad06de7 100644 --- a/src/pages/login/index.tsx +++ b/src/pages/login/index.tsx @@ -14,7 +14,7 @@ const cx = classNames.bind(styles); const Login = () => { const router = useRouter(); - const { loginWithKakao, loginWithNaver, verifyLoggedIn } = useAuth(); + const { loginWithKakao, loginWithApple, verifyLoggedIn } = useAuth(); useEffect(() => { verifyLoggedIn().then((isLoggedIn) => { @@ -44,12 +44,12 @@ const Login = () => {
diff --git a/src/shared/hooks/useAuth.ts b/src/shared/hooks/useAuth.ts index 38ca73e..9880107 100644 --- a/src/shared/hooks/useAuth.ts +++ b/src/shared/hooks/useAuth.ts @@ -33,7 +33,7 @@ const useAuth = () => { location.href = getKakaoOAuthAuthorizeUrl(); }; - const loginWithNaver = () => { + const loginWithApple = () => { alert('준비중입니다!'); }; @@ -58,7 +58,7 @@ const useAuth = () => { return { loginWithKakao, - loginWithNaver, + loginWithApple, logout, verifyLoggedIn, };