Changeset d66b8eb for phonelux-frontend/src/components/NavbarComponent
- Timestamp:
- 09/21/22 18:47:39 (2 years ago)
- Branches:
- master
- Children:
- 34950c6
- Parents:
- 5201690
- Location:
- phonelux-frontend/src/components/NavbarComponent
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-frontend/src/components/NavbarComponent/NavbarComponent.css
r5201690 rd66b8eb 30 30 } 31 31 32 .navbar-comparephone-icon:hover{ 33 cursor: pointer; 34 } 35 -
phonelux-frontend/src/components/NavbarComponent/NavbarComponent.js
r5201690 rd66b8eb 11 11 import UserContext from '../../context/UserContext'; 12 12 import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount'; 13 import PhoneIphoneIcon from '@mui/icons-material/PhoneIphone'; 13 14 14 15 export class NavbarComponent extends Component { … … 35 36 <Link style={{color: 'black'}} to={"/management/users"}> 36 37 <SupervisorAccountIcon style={{fontSize: '40px', marginTop: '10px', marginRight: '10px' }} className='navbar-superadmin-icon'/> 38 </Link> 39 </Tippy> : <></> 40 } 41 { 42 localStorage.getItem('token') ? 43 <Tippy placement='bottom' content='Споредба на мобилни телефони'> 44 <Link style={{color: 'black'}} to={"/compareoffers"}> 45 <PhoneIphoneIcon style={{fontSize: '40px', marginTop: '10px', marginRight: '10px' }} className='navbar-comparephone-icon'/> 37 46 </Link> 38 47 </Tippy> : <></>
Note:
See TracChangeset
for help on using the changeset viewer.