Showing
1 changed file
with
26 additions
and
4 deletions
... | @@ -7,7 +7,21 @@ import Input from '../components/common/Input'; | ... | @@ -7,7 +7,21 @@ import Input from '../components/common/Input'; |
7 | 7 | ||
8 | const Main = styled.div` | 8 | const Main = styled.div` |
9 | display: flex; | 9 | display: flex; |
10 | - height: 100vh; | 10 | + align-items: center; |
11 | + justify-content: center; | ||
12 | + padding-left: 7%; | ||
13 | +`; | ||
14 | + | ||
15 | +const Container = styled.div` | ||
16 | + justify-content: center; | ||
17 | + align-items: center; | ||
18 | + flex-direction: column; | ||
19 | +`; | ||
20 | + | ||
21 | +const LogoWrap = styled.div` | ||
22 | + display: flex; | ||
23 | + margin-top: 11%; | ||
24 | + height: 30vh; | ||
11 | align-items: center; | 25 | align-items: center; |
12 | justify-content: center; | 26 | justify-content: center; |
13 | `; | 27 | `; |
... | @@ -23,10 +37,17 @@ const LoginButtonBlock = styled.div` | ... | @@ -23,10 +37,17 @@ const LoginButtonBlock = styled.div` |
23 | right: 20px; | 37 | right: 20px; |
24 | `; | 38 | `; |
25 | 39 | ||
40 | +const SLink = styled(Link)` | ||
41 | + text-decoration: none !important; | ||
42 | +`; | ||
43 | + | ||
26 | const HomePage = () => { | 44 | const HomePage = () => { |
27 | return ( | 45 | return ( |
46 | + <Container> | ||
47 | + <LogoWrap> | ||
48 | + <img src="eDrive_logo.png" alt="" /> | ||
49 | + </LogoWrap> | ||
28 | <Main> | 50 | <Main> |
29 | - <div>logo</div> | ||
30 | <SearchBlock> | 51 | <SearchBlock> |
31 | <DropDownButton | 52 | <DropDownButton |
32 | fontsize="20px" | 53 | fontsize="20px" |
... | @@ -43,11 +64,12 @@ const HomePage = () => { | ... | @@ -43,11 +64,12 @@ const HomePage = () => { |
43 | 64 | ||
44 | {/* Todo : 로그인 했을 경우 로그인 버튼 숨기기 */} | 65 | {/* Todo : 로그인 했을 경우 로그인 버튼 숨기기 */} |
45 | <LoginButtonBlock> | 66 | <LoginButtonBlock> |
46 | - <Link to="/login"> | 67 | + <SLink to="/login"> |
47 | <Button>로그인</Button> | 68 | <Button>로그인</Button> |
48 | - </Link> | 69 | + </SLink> |
49 | </LoginButtonBlock> | 70 | </LoginButtonBlock> |
50 | </Main> | 71 | </Main> |
72 | + </Container> | ||
51 | ); | 73 | ); |
52 | }; | 74 | }; |
53 | 75 | ... | ... |
-
Please register or login to post a comment