Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2021-1-capstone-design1
/
GCL_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
이승윤
2021-05-25 21:29:28 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a4771eea9f23be5bc4c42c9732ec75ee50ec2d49
a4771eea
1 parent
04579617
style: Logo 삽입
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
24 deletions
frontend/src/pages/HomePage.js
frontend/src/pages/HomePage.js
View file @
a4771ee
...
...
@@ -7,7 +7,21 @@ import Input from '../components/common/Input';
const
Main
=
styled
.
div
`
display: flex;
height: 100vh;
align-items: center;
justify-content: center;
padding-left: 7%;
`
;
const
Container
=
styled
.
div
`
justify-content: center;
align-items: center;
flex-direction: column;
`
;
const
LogoWrap
=
styled
.
div
`
display: flex;
margin-top: 11%;
height: 30vh;
align-items: center;
justify-content: center;
`
;
...
...
@@ -23,31 +37,39 @@ const LoginButtonBlock = styled.div`
right: 20px;
`
;
const
SLink
=
styled
(
Link
)
`
text-decoration: none !important;
`
;
const
HomePage
=
()
=>
{
return
(
<
Main
>
<
div
>
logo
<
/div>
<
SearchBlock
>
<
DropDownButton
fontsize
=
"20px"
height
=
"50px"
options
=
{[
{
id
:
1
,
name
:
'전체'
},
{
id
:
2
,
name
:
'개인'
},
{
id
:
3
,
name
:
'부서'
},
]}
float
=
"left"
/>
<
Input
color
=
"blue"
paddingsize
=
"10px"
width
=
"700px"
display
/>
<
/SearchBlock>
{
/* Todo : 로그인 했을 경우 로그인 버튼 숨기기 */
}
<
LoginButtonBlock
>
<
Link
to
=
"/login"
>
<
Button
>
로그인
<
/Button>
<
/Link>
<
/LoginButtonBlock>
<
/Main>
<
Container
>
<
LogoWrap
>
<
img
src
=
"eDrive_logo.png"
alt
=
""
/>
<
/LogoWrap>
<
Main
>
<
SearchBlock
>
<
DropDownButton
fontsize
=
"20px"
height
=
"50px"
options
=
{[
{
id
:
1
,
name
:
'전체'
},
{
id
:
2
,
name
:
'개인'
},
{
id
:
3
,
name
:
'부서'
},
]}
float
=
"left"
/>
<
Input
color
=
"blue"
paddingsize
=
"10px"
width
=
"700px"
display
/>
<
/SearchBlock>
{
/* Todo : 로그인 했을 경우 로그인 버튼 숨기기 */
}
<
LoginButtonBlock
>
<
SLink
to
=
"/login"
>
<
Button
>
로그인
<
/Button>
<
/SLink>
<
/LoginButtonBlock>
<
/Main>
<
/Container>
);
};
...
...
Please
register
or
login
to post a comment