Created
August 15, 2020 23:52
-
-
Save YounglanHong/868fcb61c00da4df5003df09b457a51e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Header.js | |
import React from "react"; | |
import { Link, withRouter } from "react-router-dom"; | |
import "../styles/header.css"; | |
import NavBar from "./NavBar"; | |
function Header(props) { | |
console.log(props); | |
return ( | |
<div className="Header"> | |
<div className="header_item"> | |
<Link to="/" className="link"> | |
<img className="header_logo" src="video_yellow.png" alt="film" /> | |
</Link> | |
<Link to="/" className="link"> | |
<h1 className="header_title">Film Archive</h1> | |
</Link> | |
<Link to="/signin" className="link"> | |
Sign In | |
</Link> | |
</div> | |
</div> | |
); | |
} | |
export default withRouter(Header); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment