Updated structure, added footer and css classes

This commit is contained in:
Moris Zen
2018-06-27 13:22:17 +02:00
parent dd1bdd7543
commit ac2f3c0197
4 changed files with 38 additions and 15 deletions

10
src/components/Footer.js Normal file
View File

@@ -0,0 +1,10 @@
import React from 'react'
import Link from 'gatsby-link'
const Footer = () => (
<footer>
<h1>Footer</h1>
</footer>
)
export default Footer

View File

@@ -2,17 +2,19 @@ import React from 'react'
import Link from 'gatsby-link'
const Header = ({ siteTitle }) => (
<h1 style={{ margin: 0 }}>
<Link
to="/"
style={{
color: 'white',
textDecoration: 'none',
}}
>
{siteTitle}
</Link>
</h1>
<header>
<h1 style={{ margin: 0 }}>
<Link
to="/"
style={{
color: 'white',
textDecoration: 'none',
}}
>
{siteTitle}
</Link>
</h1>
</header>
)
export default Header