Header.js
746 Bytes
import React from 'react'
import { Link } from 'react-router-dom';
import logo from '../style/Logo.JPG';
const Header = () => {
return (
<div className="HeaderContainer"
style={{
display: 'inline-block',
width: '100vw',
height: '100px',
background: '#2f3640'
}}
>
<div className="logo">
<Link to="/landing">
<img
src={logo}
width='100px'
height='100px'
alt="Logo"></img>
</Link>
</div>
</div>
)
}
export default Header;