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-17 16:53:18 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6a0f4778003e04768930f3275b3f1cc2f60ed4b0
6a0f4778
1 parent
887bca48
remove unused icon
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
front/src/Routes/Menu/MenuPresenter.js
front/src/Routes/Menu/MenuPresenter.js
View file @
6a0f477
...
...
@@ -5,7 +5,6 @@ import {
faHome
,
faComment
,
faCog
,
faSignOutAlt
,
faQuestionCircle
,
faTags
,
}
from
"@fortawesome/free-solid-svg-icons"
;
...
...
@@ -134,16 +133,17 @@ const StyledLink = styled(Link)`
justify
-
content
:
center
;
opacity
:
0.8
;
font
-
size
:
20
px
;
cursor
:
pointer
;
transition
:
0.5
s
;
&
:
hover
{
color
:
#
667
aff
;
background
-
color
:
white
;
}
svg
.
SignOut
{
font
-
size
:
20
px
;
position
:
absolute
;
left
:
50
px
;
opacity
:
3
;
}
`;
export default ({ logOut }) => {
console.log(logOut);
return (
<MenuBar>
<TitleBox>
...
...
@@ -182,8 +182,7 @@ export default ({ logOut }) => {
</StyledLink>
</FuncIconBox>
<StyledLink to="/" className="LogOutLink">
<FontAwesomeIcon icon={faSignOutAlt} className="SignOut" />
<Button text={"Log Out"} onClick={logOut}></Button>
<Button text="Log Out" onClick={logOut}></Button>
</StyledLink>
</Router>
</MenuBar>
...
...
Please
register
or
login
to post a comment