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