Skip to content

Commit

Permalink
style :: login page publish
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed May 6, 2024
1 parent b06abd8 commit 3d79c42
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions src/pages/Login.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import styled from '@emotion/styled';
import { Input } from '@/components/common/Input';
import { XButton } from '@/components/common/XButton';

export const Login = () => {
return (
<Wrapper>
<Title>Xquare에 로그인</Title>
<InputContainer>
<Input label="이메일" width={326} />
<Input label="암호" width={326} type="password" />
</InputContainer>
<ButtonContainer>
<XButton width={100} height={50}>
로그인
</XButton>
</ButtonContainer>
</Wrapper>
);
};

const Wrapper = styled.div`
width: 100%;
height: calc(100vh - 80px + 200px);
display: flex;
flex-direction: column;
align-items: center;
gap: 60px;
padding-top: 180px;
`;

const Title = styled.div`
font-size: 24px;
font-weight: 700;
`;

const InputContainer = styled.div`
display: flex;
flex-direction: column;
gap: 20px;
`;

const ButtonContainer = styled.div`
width: 326px;
display: flex;
justify-content: end;
`;

0 comments on commit 3d79c42

Please sign in to comment.