cleaned up structure, added styled components

This commit is contained in:
Xetera
2019-07-26 15:27:27 -07:00
parent e7770c3b96
commit 69fc1a3dbd
17 changed files with 265 additions and 120 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import React from "react"
import Layout from "../components/layout"
import SEO from "../components/seo"
import Layout from "../components/Layout"
import SEO from "../components/SEO"
const NotFoundPage = () => (
<Layout>
+2 -4
View File
@@ -1,9 +1,8 @@
import React from "react"
import { Link } from "gatsby"
import Layout from "../components/layout"
import Image from "../components/image"
import SEO from "../components/seo"
import Layout from "../components/Layout"
import SEO from "../components/SEO"
const IndexPage = () => (
<Layout>
@@ -12,7 +11,6 @@ const IndexPage = () => (
<p>Welcome to your new Gatsby site.</p>
<p>Now go build something great.</p>
<div style={{ maxWidth: `300px`, marginBottom: `1.45rem` }}>
<Image />
</div>
<Link to="/page-2/">Go to page 2</Link>
</Layout>
-16
View File
@@ -1,16 +0,0 @@
import React from "react"
import { Link } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
const SecondPage = () => (
<Layout>
<SEO title="Page two" />
<h1>Hi from the second page</h1>
<p>Welcome to page 2</p>
<Link to="/">Go back to the homepage</Link>
</Layout>
)
export default SecondPage