text: import React from 'react';
  
  import Navbar from '../Navbar';
  import Head from './Head';
  import Footer from '../Footer';
  import './index.scss';
  
  if (typeof window !== 'undefined') {
    // Make scroll behavior of internal links smooth
    require('smooth-scroll')('a[href*="#"]', {
      offset: 60,
    });
  }
  
  const Layout = ({ children, location }) => (
    <div className="layout">
      <Head />
      <Navbar location={location} />
  
      <div className="container-fluid">{children}</div>
      <Footer />
    </div>
  );
  
  // Layout.propTypes = {
  //   children: PropTypes.object.isRequired,
  //   location: PropTypes.any
  // };
  
  export default Layout;
  