jakearchibald/tweetdeck-prototype

View on GitHub
www/index.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Twitter Offline</title>
    <meta name="viewport" content="width=device-width, minimum-scale=1.0">

    <!-- Add to homescreen -->
    <link rel="manifest" href="static/build/manifest.json">

    <!-- Fallback to homescreen for Chrome <39 on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="application-name" content="Twitter Offline">
    <link rel="icon" sizes="192x192" href="static/build/imgs/icons/chrome-touch-icon-192x192.png">

    <!-- Add to homescreen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="Twitter Offline">
    <link rel="apple-touch-icon" href="static/build/imgs/icons/apple-touch-icon.png">

    <!-- Tile icon for Win8 (144x144 + tile color) -->
    <meta name="msapplication-TileImage" content="static/build/imgs/icons/ms-touch-icon-144x144-precomposed.png">
    <meta name="msapplication-TileColor" content="#55acee">

    <meta name="theme-color" content="#55acee">
    <script>
      var swURL = new URL('./sw.js', window.location);
      var swScope = new URL('./', swURL).href;
      navigator.serviceWorker && navigator.serviceWorker.register(swURL, { scope: swScope }).then(function(reg) {
        console.log('SW registered', reg);
      }, function(err) {
        console.error('SW registration error', err);
      });
    </script>
    <script src="static/build/js/all.js" async></script>
  </head>
  <body>
    <div class="content">
      <header class="app-header">
        <svg class="logo" viewBox="0 0 273.39 222.178">
          <title>Twitter</title>
          <path d="M273.39 26.301c-10.059 4.461-20.868 7.477-32.215 8.832 11.581-6.941 20.475-17.934 24.662-31.031-10.837 6.427-22.841 11.095-35.617 13.611-10.232-10.901-24.809-17.713-40.941-17.713-30.978 0-56.091 25.113-56.091 56.088 0 4.396.496 8.677 1.452 12.782-46.615-2.339-87.944-24.669-115.608-58.603-4.828 8.284-7.594 17.919-7.594 28.198 0 19.459 9.902 36.627 24.952 46.686-9.194-.291-17.843-2.814-25.405-7.016l-.005.705c0 27.176 19.334 49.846 44.993 54.999-4.707 1.281-9.662 1.967-14.777 1.967-3.614 0-7.128-.352-10.553-1.006 7.138 22.283 27.852 38.5 52.396 38.953-19.196 15.043-43.381 24.01-69.659 24.01-4.527 0-8.992-.266-13.38-.783 24.822 15.914 54.305 25.199 85.979 25.199 103.169 0 159.585-85.467 159.585-159.586 0-2.432-.055-4.851-.162-7.256 10.958-7.909 20.468-17.788 27.988-29.036z"/>
        </svg>
      </header>
    </div>
    <link rel="stylesheet" href="static/build/css/all.css">
  </body>
</html>