Last change
on this file since 775e15e was e5b84dc, checked in by Marko <Marko@…>, 2 years ago |
Prototype version
|
-
Property mode
set to
100644
|
File size:
973 bytes
|
Line | |
---|
1 | import React, { Component } from 'react'
|
---|
2 | import './NavbarComponent.css'
|
---|
3 | import AccountBoxIcon from '@mui/icons-material/AccountBox';
|
---|
4 | import { style } from '@mui/system';
|
---|
5 | import Tippy from '@tippyjs/react';
|
---|
6 | import 'tippy.js/dist/tippy.css'
|
---|
7 | import { Link } from 'react-router-dom';
|
---|
8 | import PersonIcon from '@mui/icons-material/Person';
|
---|
9 | import LogoutIcon from '@mui/icons-material/Logout';
|
---|
10 |
|
---|
11 | export class NavbarComponent extends Component {
|
---|
12 |
|
---|
13 | constructor(props) {
|
---|
14 | super(props)
|
---|
15 |
|
---|
16 | this.state = {
|
---|
17 | profileSectionOpen: false
|
---|
18 | }
|
---|
19 | }
|
---|
20 |
|
---|
21 | render() {
|
---|
22 | return (
|
---|
23 | <div className='phonelux-navbar'>
|
---|
24 | <Tippy placement='bottom' content='Најави се'>
|
---|
25 | <Link style={{color: 'black'}} to={"/login"}> <PersonIcon style={{fontSize: '50px', marginTop: '10px' }} className='navbar-account-box-icon'/></Link>
|
---|
26 | </Tippy>
|
---|
27 |
|
---|
28 | {/* favourite offers icon goes here */}
|
---|
29 |
|
---|
30 | </div>
|
---|
31 | )
|
---|
32 | }
|
---|
33 | }
|
---|
34 |
|
---|
35 | export default NavbarComponent
|
---|
Note:
See
TracBrowser
for help on using the repository browser.