2018-07-05 09:59:42 +00:00
|
|
|
import React from 'react';
|
2018-07-10 12:32:06 +00:00
|
|
|
import AnchorLink from 'react-anchor-link-smooth-scroll';
|
2018-07-11 13:47:26 +00:00
|
|
|
import getConfig from 'next/config';
|
2018-07-05 09:59:42 +00:00
|
|
|
import './style.scss';
|
|
|
|
|
2018-07-11 13:53:09 +00:00
|
|
|
const { publicRuntimeConfig } = getConfig();
|
|
|
|
|
2018-07-10 12:32:06 +00:00
|
|
|
const PageHeader = () => (
|
2018-07-11 13:53:09 +00:00
|
|
|
<div className="page-header" style={{ backgroundImage: `url(${publicRuntimeConfig.subDirPath}/static/img/header-bg.jpg)` }}>
|
2018-07-05 09:59:42 +00:00
|
|
|
<div className="container">
|
2018-07-11 09:17:52 +00:00
|
|
|
<nav className="page-header-nav">
|
2018-07-17 13:07:37 +00:00
|
|
|
<AnchorLink href="#resources">Resources</AnchorLink>
|
|
|
|
<AnchorLink href="#browse">Browse Archives</AnchorLink>
|
2018-07-11 09:17:52 +00:00
|
|
|
</nav>
|
2018-07-11 13:47:26 +00:00
|
|
|
<img className="logo" src={`${publicRuntimeConfig.subDirPath}/static/img/ETHPrize-logo.png`} alt="ETHPrize logo" />
|
2018-07-05 09:59:42 +00:00
|
|
|
<h1>Ethereum Report</h1>
|
|
|
|
<p>
|
|
|
|
We’ve interviewed 100+ developers to showcase the biggest opportunities in the
|
|
|
|
Ethereum ecosystem
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
2018-07-10 12:32:06 +00:00
|
|
|
|
|
|
|
export default PageHeader;
|