text: /**
   * React Static Boilerplate
   * https://github.com/koistya/react-static-boilerplate
   * Copyright (c) Konstantin Tarkus (@koistya) | MIT license
   */
  
  import React from 'react'
  import PropTypes from 'prop-types'
  import GoogleAnalytics from '../GoogleAnalytics'
  import config from '../../config'
  
  function Html({ title, description, body }) {
    return (
      <html className="no-js" lang="">
        <head>
          <meta charSet="utf-8" />
          <meta httpEquiv="X-UA-Compatible" content="IE=edge" />
          <title>{title || config.title}</title>
          <meta name="description" content={description || config.description} />
          <meta name="viewport" content="width=device-width, initial-scale=1" />
          <link rel="shortcut icon" href="/favicon@2x.png" />
          <link rel="mask-icon" href="/favicon.svg" color="rgb(17, 20, 24)" />
          <link
            rel="stylesheet"
            href="https://fonts.googleapis.com/css?family=Roboto"
          />
          <link
            rel="stylesheet"
            href="https://fonts.googleapis.com/css?family=Merriweather:300,400,700|Lato:300,400"
          />
          <link
            rel="stylesheet"
            href="//fonts.googleapis.com/earlyaccess/notosansjapanese.css"
          />
          <script src={'/app.js?' + new Date().getTime()} />
        </head>
        <body>
          <div id="app" dangerouslySetInnerHTML={{ __html: body }} />
          <GoogleAnalytics />
        </body>
      </html>
    )
  }
  
  Html.propTypes = {
    title: PropTypes.string,
    description: PropTypes.string,
    body: PropTypes.string.isRequired,
    debug: PropTypes.bool.isRequired
  }
  
  export default Html
  