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-06 00:20:01 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a2b81c0fbf337b2cc2733b6662be168799dcd862
a2b81c0f
1 parent
f384eaf5
create MenuIcons.js
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
0 deletions
front/src/Components/MenuList/MenuIcons.js
front/src/Components/MenuList/MenuIcons.js
0 → 100644
View file @
a2b81c0
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
>
<
/
>
);
};
Please
register
or
login
to post a comment