import React from 'react';
import { Helmet } from 'react-helmet';
import App from '../components/App';
import { headData } from '../mock/data';
import 'bootstrap/dist/css/bootstrap.min.css';
import '../style/main.scss';

export default () => {
  const { title, lang, description } = headData;

  return (
    <>
      <Helmet>
        <meta charSet="utf-8" />
        <title>{title || 'Aaron Clark 2020'}</title>
        <html lang={lang || 'en'} />
        <meta name="description" content={description || 'Aaron Clark Portfolio'} />
      </Helmet>
      <App />
    </>
  );
};
