diff --git a/components/browseArchives/index.js b/components/browseArchives/index.js index 1572f65..70849ee 100644 --- a/components/browseArchives/index.js +++ b/components/browseArchives/index.js @@ -118,7 +118,7 @@ class BrowseArchives extends React.Component { } = this.state; return ( -
+
( +const PageHeader = () => (

Ethereum Report

@@ -9,6 +10,13 @@ export default () => ( We’ve interviewed 100+ developers to showcase the biggest opportunities in the Ethereum ecosystem

+ +
); + +export default PageHeader; diff --git a/components/pageHeader/style.scss b/components/pageHeader/style.scss index 5616434..1aff064 100644 --- a/components/pageHeader/style.scss +++ b/components/pageHeader/style.scss @@ -11,4 +11,21 @@ font-family: $secondary-font; font-size: calculateRem(36); } + + p { + margin-bottom: calculateRem(24); + } +} + +.page-header-nav { + + a { + color: $text-color; + text-decoration: none; + margin: 0 calculateRem(16); + + &:hover { + text-decoration: underline; + } + } } diff --git a/components/resources/index.js b/components/resources/index.js index f730659..7131d0b 100644 --- a/components/resources/index.js +++ b/components/resources/index.js @@ -53,7 +53,7 @@ class Resources extends React.Component { }; return ( -
+

Resources

diff --git a/package-lock.json b/package-lock.json index 46234da..f3d878d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7380,6 +7380,11 @@ "prop-types": "15.6.2" } }, + "react-anchor-link-smooth-scroll": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/react-anchor-link-smooth-scroll/-/react-anchor-link-smooth-scroll-1.0.10.tgz", + "integrity": "sha512-CTzSJC/0Tf+EhVAswJeRwazcIGBnnnPEWiPM1uNXLaW+5MKe8v48Lm8auIahlmIeTJCYTAIfXSfZBu3S1Dlbbg==" + }, "react-dom": { "version": "16.4.1", "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.4.1.tgz", diff --git a/package.json b/package.json index 8c15527..7798791 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "node-sass": "^4.9.0", "prop-types": "^15.6.1", "react": "^16.3.2", + "react-anchor-link-smooth-scroll": "^1.0.10", "react-dom": "^16.3.2", "react-slick": "^0.23.1" },