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:05 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
974cd77ec634be41db7072bc952e2bb7b4a9d36a
974cd77e
1 parent
49cf95fb
create HomeDate component
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
front/src/Components/Home/HomeDate.js
front/src/Components/Home/HomeDate.js
0 → 100644
View file @
974cd77
import
React
from
"react"
;
import
styled
from
"styled-components"
;
const
HomeDate
=
styled
.
div
`
display: flex;
flex-direction: column;
`
;
const
WeatherBox
=
styled
.
div
``
;
const
WeatherSpan
=
styled
.
span
``
;
const
DateBox
=
styled
.
div
``
;
const
DateSpan
=
styled
.
span
``
;
export
default
()
=>
{
return
(
<
HomeDate
>
<
WeatherBox
>
<
WeatherSpan
/>
Weather
<
/WeatherBox
>
<
DateBox
>
<
DateSpan
/>
Date
<
/DateBox
>
<
/HomeDate
>
);
};
Please
register
or
login
to post a comment