|
|
@ -2,10 +2,10 @@ import React from 'react'
|
|
|
|
import Logo from './svg/Logo'
|
|
|
|
import Logo from './svg/Logo'
|
|
|
|
|
|
|
|
|
|
|
|
const Header = ({ enableHeroText }) => (
|
|
|
|
const Header = ({ enableHeroText }) => (
|
|
|
|
<div className="header mt3 mb4">
|
|
|
|
<div className="header mb4">
|
|
|
|
<div className="header-content">
|
|
|
|
<div className="header-content">
|
|
|
|
<a className="mb3" href="/"><Logo /></a>
|
|
|
|
<a href="/"><Logo /></a>
|
|
|
|
{ enableHeroText ? (<h2>The easiest way to create images from source code.<br/> Start typing, or drag a file into the text area to get started.</h2>) : null }
|
|
|
|
{ enableHeroText ? (<h2 className="mt3">The easiest way to create images from source code.<br/> Start typing, or drag a file into the text area to get started.</h2>) : null }
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<style jsx>{`
|
|
|
|
<style jsx>{`
|
|
|
|
.header {
|
|
|
|
.header {
|
|
|
@ -24,7 +24,6 @@ const Header = ({ enableHeroText }) => (
|
|
|
|
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
h2 {
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
`}</style>
|
|
|
|
`}</style>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|