// @flow import React from 'react'; import { graphql, StaticQuery } from 'gatsby'; import Author from './Author'; import Contacts from './Contacts'; import Copyright from './Copyright'; import Menu from './Menu'; import styles from './Sidebar.module.scss'; type Props = { +isIndex: ?boolean, }; type PureProps = Props & { +data: Object, }; export const PureSidebar = ({ data, isIndex }: PureProps) => { const { author, copyright, menu } = data.site.siteMetadata; return (