app: Create basic app.

This commit is contained in:
Vishnu KS
2019-10-13 20:18:54 +05:30
parent c2e244f784
commit 15c5cd8505
26 changed files with 32988 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
import { Link } from "gatsby"
import PropTypes from "prop-types"
import React from "react"
const Header = ({ siteTitle }) => (
<header class="my-1 bg-red">
<h1 style={{ margin: 0 }}>
<Link
to="/"
style={{
color: `white`,
textDecoration: `none`,
}}
>
{siteTitle}
</Link>
</h1>
</header>
)
Header.propTypes = {
siteTitle: PropTypes.string,
}
Header.defaultProps = {
siteTitle: ``,
}
export default Header