content: import React from 'react'
  import apple57 from 'images/favicon/apple-icon-57x57.png'
  import apple60 from 'images/favicon/apple-icon-60x60.png'
  import apple72 from 'images/favicon/apple-icon-72x72.png'
  import apple76 from 'images/favicon/apple-icon-76x76.png'
  import apple114 from 'images/favicon/apple-icon-114x114.png'
  import apple120 from 'images/favicon/apple-icon-120x120.png'
  import apple144 from 'images/favicon/apple-icon-144x144.png'
  import apple152 from 'images/favicon/apple-icon-152x152.png'
  import apple180 from 'images/favicon/apple-icon-180x180.png'
  import fav192 from 'images/favicon/android-icon-192x192.png'
  import fav32 from 'images/favicon/favicon-32x32.png'
  import fav96 from 'images/favicon/favicon-96x96.png'
  import fav16 from 'images/favicon/favicon-16x16.png'
  import msIcon from 'images/favicon/ms-icon-144x144.png'
  //import manifest from 'images/favicon/manifest.json'
  
  const icons = {
    apple57,
    apple60,
    apple72,
    apple76,
    apple114,
    apple120,
    apple144,
    apple152,
    apple180,
    fav192,
    fav32,
    fav96,
    fav16
  };
  let i = 0;
  
  export const link = (()=>{
    let data = [];
    for (let prop in icons) {
      const value = icons[prop];
      const num = parseInt(prop.replace(new RegExp('[A-z]', 'gi'), ''));
  
      data.push(
        <link key={i++} href={value} sizes={num + 'x' + num}
              rel={prop.indexOf('apple') !== -1 ? 'apple-touch-icon' : 'icon'}/>
      );
    }
  
    // TODO: set manifest as link.
    // data.push({
    //   rel: 'manifest',
    //   href: manifest
    // });
  
    return data
  })();
  
  export const meta = [
    <meta key={++i} name="msapplication-TileColor" content="#fff"/>,
    <meta key={++i} name="msapplication-TileImage" content={msIcon}/>,
    <meta key={++i} name="theme-color" content="#fff"/>,
    <meta key={++i} name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no'/>
  ];
  
  export default [
    ...link,
    ...meta
  ]
  