Changeset 7e88e46 for phonelux-frontend/src/components/HeaderComponent
- Timestamp:
- 09/17/22 01:24:24 (2 years ago)
- Branches:
- master
- Children:
- 5201690
- Parents:
- 775e15e
- Location:
- phonelux-frontend/src/components/HeaderComponent
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-frontend/src/components/HeaderComponent/HeaderComponent.css
r775e15e r7e88e46 9 9 height: 200px; 10 10 margin-top: -65px; 11 cursor: pointer; 11 12 } 12 13 -
phonelux-frontend/src/components/HeaderComponent/HeaderComponent.js
r775e15e r7e88e46 6 6 7 7 export default class HeaderComponent extends Component { 8 9 10 redirectToHomepage = () =>{ 11 window.location.href = "/" 12 } 8 13 render() { 9 14 return ( … … 13 18 </div> 14 19 <div className='header-component'> 15 <Link style={{ textDecoration: 'none' }} to={"/"}>16 <img src={logo}></img>17 </Link>20 {/* <Link style={{ textDecoration: 'none' }} to={"/"}> */} 21 <img className='phonelux-logo' onClick={this.redirectToHomepage} src={logo}></img> 22 {/* </Link> */} 18 23 </div> 19 24 </>
Note:
See TracChangeset
for help on using the changeset viewer.