+
+
{title}
+ {subtitle}
+
+
+
+)
+
+Hero.propTypes = {
+ title: PropTypes.string.isRequired,
+ subtitle: PropTypes.string.isRequired,
+}
+
+export default Hero
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index daa3e39..40d3f52 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -1,12 +1,16 @@
import React from "react"
-import { Link } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
+import Hero from "../components/hero"
const IndexPage = () => (