Access to User Profile enabled

This commit is contained in:
Luis Fernando Molina committed 2018-10-14 08:17:44 +02:00
1 parent 558ed31180
commit 20eb098966
5 files changed
+16 -7

No files matched your search

+9
View File
@@ -12,9 +12,11 @@ import BrowseIcon from '@material-ui/icons/ImportContacts'
import SearchIcon from '@material-ui/icons/Search'
import ContactIcon from '@material-ui/icons/ContactMail'
import AboutIcon from '@material-ui/icons/FormatShapes'
import UserIcon from '@material-ui/icons/Person'
import { Link } from 'react-router-dom'
const UserLink = props => <Link to='/user' {...props} />
const AboutLink = props => <Link to='/about' {...props} />
const ContactLink = props => <Link to='/contact' {...props} />
const SearchLink = props => <Link to='/search' {...props} />
@@ -97,6 +99,13 @@ class NavBar extends Component {
component={AboutLink}>
<AboutIcon />
</IconButton>
<IconButton
className={classes.menuButton}
color='inherit'
title='Your Profile'
component={UserLink}>
<UserIcon />
</IconButton>
</Toolbar>
</AppBar>
</div>