From a6d8320e70b483c37615a5d11eb97ac7100dea1b Mon Sep 17 00:00:00 2001 From: stephin007 Date: Fri, 6 Nov 2020 08:30:09 +0530 Subject: [PATCH] Added logo img link to the navbar --- src/components/Navbar.js | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/components/Navbar.js b/src/components/Navbar.js index ce3018f..255cb4b 100644 --- a/src/components/Navbar.js +++ b/src/components/Navbar.js @@ -3,9 +3,6 @@ import {Link} from 'react-router-dom' import '../css/navbar.css' -// logo -import logo from '../img/stephinlogo.png' - class Navbar extends Component { state = { isOpen: false @@ -13,7 +10,7 @@ class Navbar extends Component { handleClick = () => { this.setState({ - isOpen: !this.state.isOpen + isOpen: !this.state.isOpen }) } @@ -23,8 +20,6 @@ class Navbar extends Component { }) } - - render(){ return ( @@ -33,7 +28,7 @@ class Navbar extends Component {
- +
@@ -43,16 +38,15 @@ class Navbar extends Component {
- - + ) } } -export default Navbar; \ No newline at end of file +export default Navbar;