Skip to content

Commit

Permalink
애플 로그인 주석처리
Browse files Browse the repository at this point in the history
  • Loading branch information
YOOJS1205 committed Feb 2, 2024
1 parent 7df63aa commit bdb872e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import { useRouter } from 'next/navigation';

import CTAButton from '@components/common/CTAButton';
import DdoeatLogo from 'public/assets/ddoeat_logo.svg';
import AppleLogo from 'public/assets/icon24/apple_logo_24.svg';
// import AppleLogo from 'public/assets/icon24/apple_logo_24.svg';
import KakaoLogo from 'public/assets/icon24/kakao_logo_24.svg';

export default function Page() {
const { push } = useRouter();

const handleClickKakaoLoginButton = () => {
// TODO: 추후에 env=development, env=production으로 변경 요청
const env = process.env.NODE_ENV === 'development' ? 'local' : 'dev';
Expand All @@ -17,31 +18,30 @@ export default function Page() {
);
};

const handleClickAppleLoginButton = () => {
// TODO: 애플 로그인 구현
};
// const handleClickAppleLoginButton = () => {
// // TODO: 애플 로그인 구현
// };

return (
<div className="absolute right-0 left-0 top-0 bottom-0">
<div className="flex flex-col gap-[70px] justify-center items-center w-full h-full">
<DdoeatLogo />
<div className="flex flex-col gap-[16px] w-full px-[24px] py-[16px]">
<CTAButton
// NOTE: body-16-bold 스타일 미적용 확인
className="body-16-bold bg-system-kakaoYellow text-gray-900"
onClick={handleClickKakaoLoginButton}
>
<KakaoLogo />
카카오로 시작하기
</CTAButton>
<CTAButton
{/* <CTAButton
// NOTE: body-16-bold 스타일 미적용 확인
className="body-16-bold border-gray-900 border-[1px] bg-white text-gray-900"
onClick={handleClickAppleLoginButton}
>
<AppleLogo />
Apple로 시작하기
</CTAButton>
</CTAButton> */}
</div>
</div>
</div>
Expand Down

0 comments on commit bdb872e

Please sign in to comment.