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