default-kedro157/gatsby-kedro-viz/src/components/header.js
2020-03-01 10:58:45 -06:00

44 lines
868 B
JavaScript

import { Link } from "gatsby"
import PropTypes from "prop-types"
import React from "react"
const Header = ({ siteTitle }) => (
<header
style={{
background: `black`,
// marginBottom: `1.45rem`,
}}
>
<div
style={{
margin: `0 auto`,
maxWidth: 960,
padding: `1.45rem 1.0875rem`,
}}
>
<h1 style={{ margin: 0 }}>
<Link
to="/"
style={{
color: `white`,
textDecoration: `none`,
}}
>
{siteTitle}
</Link>
</h1>
<em>Made with Kedro v0.15.7</em><br />
using github actions <a href="https://github.com/WaylonWalker/default-kedro157">default-kedro157</a>
</div>
</header>
)
Header.propTypes = {
siteTitle: PropTypes.string,
}
Header.defaultProps = {
siteTitle: ``,
}
export default Header