Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-15 21:31:13 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1436140488b6196b1e85977ddba040c98ad76ca7
14361404
1 parent
974cd77e
create HomeMain component
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
front/src/Components/Home/HomeMain.js
front/src/Components/Home/HomeMain.js
0 → 100644
View file @
1436140
import
React
from
"react"
;
import
styled
from
"styled-components"
;
import
HomeDate
from
"./HomeDate"
;
import
HomeCalender
from
"./HomeCalendar"
;
import
HomeCheckList
from
"./HomeCheckList"
;
const
HomeContainer
=
styled
.
div
`
display: flex;
flex-direction: row;
width: 85%;
`
;
const
HomeMiddleBox
=
styled
.
div
`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 70%;
`
;
const
HomeRightBox
=
styled
.
div
`
display: flex;
flex-direction: column;
justify-content: center;
align-items: space-between;
width: 30%;
`
;
export
default
()
=>
{
return
(
<
HomeContainer
>
<
HomeMiddleBox
>
<
HomeDate
/>
<
/HomeMiddleBox
>
<
HomeRightBox
>
<
HomeCalender
/>
<
HomeCheckList
/>
<
/HomeRightBox
>
<
/HomeContainer
>
);
};
Please
register
or
login
to post a comment