Skip to content

Commit

Permalink
[#1] 폴더명 변경
Browse files Browse the repository at this point in the history
- 폴더명은 소문자로 시작
  • Loading branch information
JoGeumJu committed Jan 31, 2023
1 parent 257eb10 commit b6ae3f6
Showing 1 changed file with 100 additions and 0 deletions.
100 changes: 100 additions & 0 deletions src/components/loginPage/LoginPage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
import styled from "styled-components";
import Image from "next/image";
import kakaoLogin from "../../assets/img/login/kakaoLogin.png";
import google from "../../assets/img/login/google.png";
import { customColor } from "../customColor";

export const LoginPage = () => {
return (
<Wrapper>
<Content>
간편하게 로그인하고
<br />
다양한 서비스를 이용하세요
<Logins>
<KakaoLogin>
<Image
src={kakaoLogin}
fill
alt="kakaoLogin"
style={{ objectFit: "cover" }}
/>
</KakaoLogin>
<GoogleLogin>
<Image src={google} width={20} alt="googleLogin" />
<GoogleText>구글 로그인</GoogleText>
</GoogleLogin>
</Logins>
</Content>
</Wrapper>
);
};

const Wrapper = styled.section`
display: flex;
padding: 12px;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
overflow: auto;
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-thumb {
background-color: ${customColor.indigo3 + "aa"};
border-radius: 20px;
background-clip: padding-box;
border: 4px solid transparent;
}
`;
const Content = styled.div`
display: flex;
flex-direction: column;
font-size: 24px;
text-align: center;
letter-spacing: -0.5px;
gap: 60px 0;
`;
const Logins = styled.div`
display: flex;
flex-direction: column;
gap: 32px 0;
`;
const KakaoLogin = styled.button`
display: flex;
position: relative;
border: none;
width: 300px;
height: 45px;
border-radius: 8px;
background: #fee500;
cursor: pointer;
box-shadow: 1px 1px 4px 0 ${customColor.black + "33"};
`;
const GoogleLogin = styled.button`
display: flex;
position: relative;
border: none;
width: 300px;
height: 45px;
cursor: pointer;
background: ${customColor.white};
padding: 0 14px;
align-items: center;
border-radius: 8px;
box-shadow: 1px 1px 4px 0 ${customColor.black + "33"};
`;
const GoogleText = styled.p`
position: absolute;
top: 50%;
left: 50%;
font-weight: bold;
font-size: 14px;
color: ${customColor.black + "aa"};
transform: translate(calc(-50% + 10px), -50%);
letter-spacing: -0.5px;
/* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; */
font-family: Roboto;
`;

0 comments on commit b6ae3f6

Please sign in to comment.