import React from 'react' import PropTypes from 'prop-types' import { StaticQuery, graphql } from 'gatsby' import classNames from 'classnames' import Link from './link' import Grid from './grid' import Newsletter from './newsletter' import { ReactComponent as ExplosionLogo } from '../images/explosion.svg' import classes from '../styles/footer.module.sass' export default function Footer({ wide = false }) { return ( { const { companyUrl, company, footer, newsletter } = data.site.siteMetadata return ( ) }} /> ) } Footer.propTypes = { wide: PropTypes.bool, } const query = graphql` query FooterQuery { site { siteMetadata { company companyUrl footer { label items { text url } } newsletter { user id list } } } } `