Showing
1 changed file
with
57 additions
and
0 deletions
front/src/Components/Main/OutcomingMsg.js
0 → 100644
1 | +import React from "react"; | ||
2 | +import styled from "styled-components"; | ||
3 | + | ||
4 | +const OutcomingBox = styled.div` | ||
5 | + display: flex; | ||
6 | + justify-content: flex-end; | ||
7 | + align-items: center; | ||
8 | + padding: 20px 10px; | ||
9 | + margin-top: 20px; | ||
10 | + margin-right: 10px; | ||
11 | +`; | ||
12 | + | ||
13 | +const MsgContainer = styled.div` | ||
14 | + display: flex; | ||
15 | + flex-direction: column; | ||
16 | +`; | ||
17 | + | ||
18 | +const MsgBox = styled.div` | ||
19 | + display: flex; | ||
20 | + justify-content: center; | ||
21 | + align-items: center; | ||
22 | + background-color: #54a0ff; | ||
23 | + color: white; | ||
24 | + border-radius: 20px; | ||
25 | + margin-bottom: 10px; | ||
26 | +`; | ||
27 | + | ||
28 | +const Msg = styled.span` | ||
29 | + font-size: 20px; | ||
30 | + padding: 20px 10px; | ||
31 | +`; | ||
32 | + | ||
33 | +const TimeBox = styled.div` | ||
34 | + display: flex; | ||
35 | + justify-content: flex-end; | ||
36 | + align-items: center; | ||
37 | + opacity: 0.8; | ||
38 | +`; | ||
39 | + | ||
40 | +const Time = styled.span` | ||
41 | + font-size: 15px; | ||
42 | +`; | ||
43 | + | ||
44 | +export default () => { | ||
45 | + return ( | ||
46 | + <OutcomingBox> | ||
47 | + <MsgContainer> | ||
48 | + <MsgBox> | ||
49 | + <Msg /> Outcoming Message | ||
50 | + </MsgBox> | ||
51 | + <TimeBox> | ||
52 | + <Time /> Monday 00:00 | ||
53 | + </TimeBox> | ||
54 | + </MsgContainer> | ||
55 | + </OutcomingBox> | ||
56 | + ); | ||
57 | +}; |
-
Please register or login to post a comment