Showing
1 changed file
with
28 additions
and
0 deletions
front/src/Components/Home/HomeDate.js
0 → 100644
1 | +import React from "react"; | ||
2 | +import styled from "styled-components"; | ||
3 | + | ||
4 | +const HomeDate = styled.div` | ||
5 | + display: flex; | ||
6 | + flex-direction: column; | ||
7 | +`; | ||
8 | + | ||
9 | +const WeatherBox = styled.div``; | ||
10 | + | ||
11 | +const WeatherSpan = styled.span``; | ||
12 | + | ||
13 | +const DateBox = styled.div``; | ||
14 | + | ||
15 | +const DateSpan = styled.span``; | ||
16 | + | ||
17 | +export default () => { | ||
18 | + return ( | ||
19 | + <HomeDate> | ||
20 | + <WeatherBox> | ||
21 | + <WeatherSpan /> Weather | ||
22 | + </WeatherBox> | ||
23 | + <DateBox> | ||
24 | + <DateSpan /> Date | ||
25 | + </DateBox> | ||
26 | + </HomeDate> | ||
27 | + ); | ||
28 | +}; |
-
Please register or login to post a comment