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-16 17:13:46 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f4393ae5a7453048e54c06eef8a77bad17ca2992
f4393ae5
1 parent
2c5528d5
update style
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
front/src/Components/Home/HomeMain.js
front/src/Components/Home/HomeMain.js
View file @
f4393ae
import
React
from
"react"
;
import
styled
from
"styled-components"
;
import
Home
Date
from
"./HomeDate
"
;
import
Home
Todo
from
"./HomeTodo
"
;
import
HomeCalender
from
"./HomeCalendar"
;
import
HomeCheckList
from
"./HomeCheckList"
;
import
img
from
"../../imgs/1.jpg"
;
const
HomeContainer
=
styled
.
div
`
display: flex;
flex-direction: row;
width: 85%;
background-image: url(
${
img
}
);
background-position: center;
background-size: cover;
`
;
const
HomeMiddleBox
=
styled
.
div
`
display: flex;
flex-direction: column;
...
...
@@ -28,7 +33,7 @@ export default () => {
return
(
<
HomeContainer
>
<
HomeMiddleBox
>
<
Home
Date
/>
<
Home
Todo
/>
<
/HomeMiddleBox
>
<
HomeRightBox
>
<
HomeCalender
/>
...
...
Please
register
or
login
to post a comment