Refactor Profile for User
This commit is contained in:
1 parent
55ec766113
commit
6686f89da7
4 files changed
+8
-8
No files matched your search
@@ -14,7 +14,7 @@ const Footer = () => {
|
||||
<h5 className="white-text">Links</h5>
|
||||
<ul className="right hide-on-med-and-down">
|
||||
<li><NavLink exact to="/">Home</NavLink></li>
|
||||
<li><NavLink to='/profile'>Profile</NavLink></li>
|
||||
<li><NavLink to='/user'>Profile</NavLink></li>
|
||||
<li><NavLink to='/browse'>Browse</NavLink></li>
|
||||
<li><NavLink to='/search'>Search</NavLink></li>
|
||||
<li><NavLink to='/contact'>Contact</NavLink></li>
|
||||
@@ -37,7 +37,7 @@ const Footer = () => {
|
||||
</div>
|
||||
<div className="footer-copyright">
|
||||
<div className="container">
|
||||
© 2018 Copyright
|
||||
© 2018 Copyright
|
||||
<a className="grey-text text-lighten-4 right" href="www.advancedalgos.net">Advanced Algos Ltd.</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -25,7 +25,7 @@ const AboutLink = props => <Link to="/about" {...props} />
|
||||
const ContactLink = props => <Link to="/contact" {...props} />
|
||||
const SearchLink = props => <Link to="/search" {...props} />
|
||||
const BrowseLink = props => <Link to="/browse" {...props} />
|
||||
const ProfileLink = props => <Link to="/profile" {...props} />
|
||||
const UserLink = props => <Link to="/user" {...props} />
|
||||
const HomeLink = props => <Link to="/" {...props} />
|
||||
|
||||
const styles = {
|
||||
@@ -72,7 +72,7 @@ class NavBar extends Component {
|
||||
</Typography>
|
||||
|
||||
<IconButton className={classes.menuButton} color="inherit" title="Home" component={HomeLink}><HomeIcon /></IconButton>
|
||||
<IconButton className={classes.menuButton} color="inherit" title="Manage you User Profile" component={ProfileLink}><ProfileIcon /></IconButton>
|
||||
<IconButton className={classes.menuButton} color="inherit" title="Manage you User Profile" component={UserLink}><ProfileIcon /></IconButton>
|
||||
<IconButton className={classes.menuButton} color="inherit" title="Browse the Users Directory" component={BrowseLink}><BrowseIcon /></IconButton>
|
||||
<IconButton className={classes.menuButton} color="inherit" title="Search Users" component={SearchLink}><SearchIcon /></IconButton>
|
||||
<IconButton className={classes.menuButton} color="inherit" title="Contact Form" component={ContactLink}><ContactIcon /></IconButton>
|
||||
|
||||
@@ -3,7 +3,7 @@ import React from 'react'
|
||||
|
||||
import ProfileTabs from './ProfileTabs';
|
||||
|
||||
const Profile = () => {
|
||||
const User = () => {
|
||||
return (
|
||||
<div>
|
||||
<ProfileTabs/>
|
||||
@@ -11,4 +11,4 @@ const Profile = () => {
|
||||
)
|
||||
}
|
||||
|
||||
export default Profile
|
||||
export default User
|
||||
Reference in new issue
Block a user