add link to the logo

This commit is contained in:
Ahmed-Ayman 2018-12-11 13:22:08 +02:00
parent fcbfe7bc50
commit 2bb636cb79

View File

@ -1,23 +1,25 @@
import React from 'react'; import React from 'react';
import '../stylesheets/style.scss' import '../stylesheets/style.scss'
import {Link} from 'react-router-dom';
class Header extends React.Component { class Header extends React.Component {
render() { render() {
const Logo = () => { const Logo = () => {
return ( return (
<section className="logo-container"> <section className="logo-container">
<img className="site-logo" src={require('../assets/images/logo.png')} alt="logo 858 "/> <Link to="/">
<br/> <img className="site-logo" src={require('../assets/images/logo.png')} alt="logo 858 "/>
<img className="site-logo" src={require('../assets/images/byline.ar.png')} alt="logo 858 "/> <br/>
<h1>An archive of resistance</h1> <img className="site-logo" src={require('../assets/images/byline.ar.png')} alt="logo 858 "/>
<h1>An archive of resistance</h1>
</Link>
</section> </section>
); );
} }
const Counter = () => { const Counter = () => {
return ( return (
<div className="counter-container"> <div className="counter-container">
<span >967</span> <span>967</span>
<br/> <br/>
<span> ساعة وبيزيدوا</span> <span> ساعة وبيزيدوا</span>
</div> </div>