From b705afb7e924c6671b1c7088c1cef6c7ddc83cea Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 27 Sep 2018 22:28:34 +0200 Subject: [PATCH] no need for head component --- src/components/Layout.jsx | 4 ++-- src/components/molecules/Head.jsx | 35 ------------------------------- 2 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 src/components/molecules/Head.jsx diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index 429874f8..6268e387 100644 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -1,14 +1,14 @@ import React, { Fragment } from 'react' import PropTypes from 'prop-types' import Container from './atoms/Container' -import Head from './molecules/Head' +import Typekit from './atoms/Typekit' import Header from './organisms/Header' import Footer from './organisms/Footer' import styles from './Layout.module.scss' const Layout = ({ children }) => ( - +
diff --git a/src/components/molecules/Head.jsx b/src/components/molecules/Head.jsx deleted file mode 100644 index fd14b4c2..00000000 --- a/src/components/molecules/Head.jsx +++ /dev/null @@ -1,35 +0,0 @@ -import React, { Fragment } from 'react' -import Helmet from 'react-helmet' -import { StaticQuery, graphql } from 'gatsby' -import Typekit from '../atoms/Typekit' - -const query = graphql` - query { - contentYaml { - title - tagline - } - } -` - -const Head = () => ( - { - const { title } = data.contentYaml - - return ( - - - - - - - - - ) - }} - /> -) - -export default Head