fesite/src/components/header.tsx

31 lines
484 B
TypeScript
Raw Normal View History

2020-01-23 15:10:37 +00:00
import { Link } from "gatsby";
import PropTypes from "prop-types";
import React from "react";
2020-01-23 12:06:17 +00:00
const Header = ({ siteTitle }) => (
<header
2020-01-23 15:10:37 +00:00
id="header"
2020-01-23 12:06:17 +00:00
style={{
marginBottom: `1.45rem`,
}}
>
<div
style={{
margin: `0 auto`,
maxWidth: 960,
padding: `1.45rem 1.0875rem`,
}}
2020-01-23 15:10:37 +00:00
></div>
2020-01-23 12:06:17 +00:00
</header>
2020-01-23 15:10:37 +00:00
);
2020-01-23 12:06:17 +00:00
Header.propTypes = {
siteTitle: PropTypes.string,
2020-01-23 15:10:37 +00:00
};
2020-01-23 12:06:17 +00:00
Header.defaultProps = {
siteTitle: ``,
2020-01-23 15:10:37 +00:00
};
2020-01-23 12:06:17 +00:00
2020-01-23 15:10:37 +00:00
export default Header;