MenuIcons.js
1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import React from "react";
import styled from "styled-components";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import {
faUser,
faHome,
faCalendarCheck,
faComment,
faCog,
faSignOutAlt,
} from "@fortawesome/free-solid-svg-icons";
const UserIconBox = styled.div`
width: 100%;
height: 10%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 30px;
margin: 15px 0px;
opacity: 0.8;
color: white;
`;
const FuncIconBox = styled.div`
width: 100%;
height: 60%;
font-size: 30px;
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
margin: 10px 0px;
opacity: 0.8;
color: white;
`;
const ExitIconBox = styled.div`
width: 100%;
height: 15%;
font-size: 30px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
margin-top: 20px;
opacity: 0.8;
color: white;
`;
export default () => {
return (
<>
<UserIconBox>
<FontAwesomeIcon icon={faUser} />
</UserIconBox>
<FuncIconBox>
<FontAwesomeIcon icon={faHome} />
<FontAwesomeIcon icon={faCalendarCheck} />
<FontAwesomeIcon icon={faComment} />
<FontAwesomeIcon icon={faCog} />
</FuncIconBox>
<ExitIconBox>
<FontAwesomeIcon icon={faSignOutAlt} />
</ExitIconBox>
</>
);
};