Add Header component with logo, nav using router and base styling

This commit is contained in:
Moris Zen
2018-06-27 16:33:19 +02:00
parent a48b6e18ab
commit 3a39a786a4
5 changed files with 19897 additions and 17 deletions

View File

@@ -2,8 +2,8 @@ import React from 'react'
import PropTypes from 'prop-types'
import Helmet from 'react-helmet'
import Header from '../components/header'
import Footer from '../components/footer'
import Header from '../components/Header'
import Footer from '../components/Footer'
import "../styles/index.css"
const Layout = ({ children, data }) => (
@@ -14,7 +14,7 @@ const Layout = ({ children, data }) => (
{ name: 'description', content: 'We code & design great software' },
{ name: 'keywords', content: 'software, design, coding, programming, code, consulting' },
]}
/>t
/>
<Header siteTitle={data.site.siteMetadata.title} />
<main>
{children()}