Ignore:
Timestamp:
09/21/22 18:47:39 (2 years ago)
Author:
Marko <Marko@…>
Branches:
master
Children:
34950c6
Parents:
5201690
Message:

Component for editing offers added

Location:
phonelux-frontend/src/components/NavbarComponent
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • phonelux-frontend/src/components/NavbarComponent/NavbarComponent.css

    r5201690 rd66b8eb  
    3030}
    3131
     32.navbar-comparephone-icon:hover{
     33    cursor: pointer;
     34}
     35
  • phonelux-frontend/src/components/NavbarComponent/NavbarComponent.js

    r5201690 rd66b8eb  
    1111import UserContext from '../../context/UserContext';
    1212import SupervisorAccountIcon from '@mui/icons-material/SupervisorAccount';
     13import PhoneIphoneIcon from '@mui/icons-material/PhoneIphone';
    1314
    1415export class NavbarComponent extends Component {
     
    3536            <Link style={{color: 'black'}} to={"/management/users"}>
    3637              <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'/>
    3746            </Link>
    3847          </Tippy> : <></>
Note: See TracChangeset for help on using the changeset viewer.