Skip to content

Commit 8713f1b

Browse files
committed
feat: apple login btn
1 parent 6879419 commit 8713f1b

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

src/libs/assets/AppleLogo.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
const AppleLogo = () => {
2+
return (
3+
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24">
4+
<path d="M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11"></path>
5+
</svg>
6+
);
7+
};
8+
export default AppleLogo;

src/pages/LoginPage/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import SafeArea from '@/common/components/SafeArea';
77
import useGetIsLogin from '@/common/apis/useGetIsLogin';
88
import GoogleLogo from '@/libs/assets/GoogleLogo';
99
import KakaoLogo from '@/libs/assets/KakaoLogo';
10+
import AppleLogo from '@/libs/assets/AppleLogo';
1011

1112
const LoginPage = () => {
1213
const navigate = useNavigate();
@@ -35,7 +36,7 @@ const LoginPage = () => {
3536
className={s.LoginButton({ src: 'apple' })}
3637
href={`${import.meta.env.VITE_API_URL}/oauth2/authorization/apple?redirectURI=${redirectionUrl}`}
3738
>
38-
<GoogleLogo />
39+
<AppleLogo />
3940
Apple로 로그인
4041
</a>
4142
<a

src/pages/LoginPage/style.css.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ export const LoginButton = cva({
6262
apple: {
6363
bgColor: '#FFF',
6464
color: '#000',
65-
fontWeight: 590,
66-
fontFamily: 'SF Pro',
65+
gap: '0.3125rem',
6766
},
6867
google: {
6968
bgColor: '#F2F2F2',

0 commit comments

Comments
 (0)