Skip to content

Commit

Permalink
feat: 회원가입완료 페이지 구성 완료 (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenS3same committed Nov 22, 2024
1 parent 6477106 commit 3622acd
Showing 1 changed file with 100 additions and 0 deletions.
100 changes: 100 additions & 0 deletions src/components/pages/login/LoginCompletePage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
import React from 'react';
import { useNavigate } from 'react-router-dom';
import { styled } from 'styled-components';

const LoginCompletePage = () => {
const navigate = useNavigate();

return (
<Wrapper>
<LeftContent>Image</LeftContent>
<RightContent>
<Title>회원가입 완료!</Title>
<ImageWrapper>
<img src={'/images/check.png'} alt="check" width={120} height={120} />
</ImageWrapper>
<DescWrapper>
<Desc>굿바이어스에 오신것을 환영합니다.</Desc>
<Desc>공동구매를 시작해보세요.</Desc>
</DescWrapper>
<NextButton
onClick={() => {
navigate('/');
}}
>
메인으로 가기
</NextButton>
</RightContent>
</Wrapper>
);
};

const Desc = styled.div`
color: #302f2f;
`;

const DescWrapper = styled.div`
margin-top: 50px;
display: inline-flex;
align-items: center;
justify-content: center;
width: calc(100% - 20px);
flex-direction: column;
gap: 10px;
`;

const ImageWrapper = styled.div`
display: inline-flex;
justify-content: center;
width: calc(100% - 10px);
flex-direction: column;
align-items: center;
font-size: 12px;
color: #858282;
margin-top: 50px;
`;

const NextButton = styled.div`
background-color: #000;
color: #fff;
border-radius: 5px;
width: calc(100% - 20px);
height: 35px;
display: inline-flex;
align-items: center;
justify-content: center;
margin-top: 80px;
cursor: pointer;
`;

const Title = styled.div`
font-size: 30px;
font-weight: 900;
margin-bottom: 20px;
`;

const LeftContent = styled.div`
flex: 6;
background-color: lightblue;
display: flex;
align-items: center;
justify-content: center;
`;

const RightContent = styled.div`
flex: 4;
background-color: #fff;
display: flex;
align-items: flex-start;
justify-content: center;
flex-direction: column;
padding-left: 20px;
`;

const Wrapper = styled.div`
display: flex;
width: 100%;
height: 100vh;
`;

export default LoginCompletePage;

0 comments on commit 3622acd

Please sign in to comment.