mirror of https://github.com/sgoudham/carbon.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
690 B
JavaScript
33 lines
690 B
JavaScript
import React from 'react'
|
|
import Logo from './svg/Logo'
|
|
|
|
const Header = (props) => (
|
|
<div className="header">
|
|
<div className="header-content">
|
|
<Logo />
|
|
<h1>The easiest way to create images from source code. Start typing, or drag a file into the text area to get started.</h1>
|
|
</div>
|
|
<style jsx>{`
|
|
.header {
|
|
margin: 40px 0 48px;
|
|
width: 648px;
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
h1 {
|
|
max-width: 472px;
|
|
font-size: 20px;
|
|
line-height: 1.5;
|
|
color: #fff;
|
|
}
|
|
`}</style>
|
|
</div>
|
|
)
|
|
|
|
export default Header
|