text: /* Based on the template in Web Starter Kit :
  https://github.com/google/web-starter-kit/blob/master/app/index.html
  */
  import chromeFavicon from '../images/chrome-ninja192-precomposed.png';
  import appleFavicon from '../images/apple-ninja152-precomposed.png';
  import msFavicon from '../images/ms-ninja144-precomposed.png';
  import favicon from '../images/favicon.png';
  
  const metaAssets = () => {
    return [
      {
        charset: 'utf-8'
      },
      // Meta descriptions are commonly used on search engine result pages to
      // display preview snippets for a given page.
      {
        name: 'description',
        content: 'Generate a list of application documents required by YMTM'
      },
      // Setting IE=edge tells Internet Explorer to use the latest engine to
      //  render the page and execute Javascript
      {
        'http-equiv': 'X-UA-Compatible',
        content: 'IE=edge'
      },
      // Using the viewport tag allows you to control the width and scaling of
      // the browser's viewport:
      // - include width=device-width to match the screen's width in
      // device-independent pixels
      // - include initial-scale=1 to establish 1:1 relationship between css pixels
      // and device-independent pixels
      // - ensure your page is accessible by not disabling user scaling.
      {
        name: 'viewport',
        content: 'width=device-width, initial-scale=1'
      },
      // Disable tap highlight on IE
      {
        name: 'msapplication-tap-highlight',
        content: 'no'
      },
      // Add to homescreen for Chrome on Android
      {
        name: 'mobile-web-app-capable',
        content: 'yes'
      },
      // Add to homescreen for Safari on IOS
      {
        name: 'apple-mobile-web-app-capable',
        content: 'yes'
      },
      {
        name: 'apple-mobile-web-app-status-bar-style',
        content: 'black'
      },
      {
        name: 'apple-mobile-web-app-title',
        content: 'reactGo'
      },
      // Tile icon for Win8 (144x144 + tile color)
      {
        name: 'msapplication-TileImage',
        content: msFavicon
      },
      {
        name: 'msapplication-TileColor',
        content: '#3372DF'
      }
    ];
  };
  
  const linkAssets = () => {
    const links = [
      // Add to homescreen for Chrome on Android
      {
        rel: 'icon',
        href: favicon
      },
      {
        rel: 'icon',
        sizes: '192x192',
        href: chromeFavicon
      },
      // Add to homescreen for Safari on IOS
      {
        rel: 'apple-touch-icon',
        sizes: '152x152',
        href: appleFavicon
      }
    // SEO: If your mobile URL is different from the desktop URL,
    // add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones
    // { 'rel': 'canonical', 'href': 'http://www.example.com/' }
    ];
  
    return links;
  };
  
  export const title = 'YMTM | Documents';
  export const meta = metaAssets();
  export const link = linkAssets();
  