index.html 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="description" content="Snapdrop is the easiest way to send files accross devices">
  6. <meta name="viewport" content="width=device-width initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  7. <meta name="generator" content="Snapdrop">
  8. <title>Snapdrop</title>
  9. <link rel="shortcut icon" href="favicon.ico?v=2"/>
  10. <!-- Place favicon.ico in the `app/` directory -->
  11. <!-- Chrome for Android theme color -->
  12. <meta name="theme-color" content="#3367d6">
  13. <!-- Web Application Manifest -->
  14. <link rel="manifest" href="manifest.json">
  15. <!-- Tile color for Win8 -->
  16. <meta name="msapplication-TileColor" content="#3372DF">
  17. <!-- Add to homescreen for Chrome on Android -->
  18. <meta name="mobile-web-app-capable" content="yes">
  19. <meta name="application-name" content="PSK">
  20. <link rel="icon" sizes="192x192" href="images/touch/chrome-touch-icon-192x192.png">
  21. <link rel="fluid-icon" type="image/png" href="images/touch/chrome-touch-icon-192x192.png">
  22. <meta property="og:image" content="https://snapdrop.net/images/touch/chrome-touch-icon-192x192.png" />
  23. <meta name="twitter:image" content="https://snapdrop.net/images/touch/chrome-touch-icon-192x192.png" />
  24. <!-- Add to homescreen for Safari on iOS -->
  25. <meta name="apple-mobile-web-app-capable" content="yes">
  26. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  27. <meta name="apple-mobile-web-app-title" content="Snapdrop">
  28. <link rel="apple-touch-icon" href="images/touch/apple-touch-icon.png">
  29. <!-- Tile icon for Win8 (144x144) -->
  30. <meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png">
  31. <!-- build:css styles/main.css -->
  32. <link rel="stylesheet" href="styles/main.css">
  33. <!-- endbuild-->
  34. <!-- build:js bower_components/webcomponentsjs/webcomponents-lite.min.js async foo="1" -->
  35. <script src="bower_components/webcomponentsjs/webcomponents-lite.js"></script>
  36. <!-- endbuild -->
  37. <!-- Because this project uses vulcanize this should be your only html import
  38. in this file. All other imports should go in elements.html -->
  39. <link rel="import" href="elements/elements.html" async>
  40. <script>
  41. window.debug = true;
  42. </script>
  43. </head>
  44. <body class="layout vertical">
  45. <script src="scripts/animated-bg.js" inline></script>
  46. <span id="browser-sync-binding"></span>
  47. <template is="dom-bind" id="app">
  48. <connection-wrapper me="{{me}}" loading="{{loading}}" buddies="{{buddies}}"></connection-wrapper>
  49. <neon-animated-pages id="pages" selected="0">
  50. <x-cards on-switch="_showAbout">
  51. <div>
  52. <paper-progress indeterminate hidden$="{{!loading}}"></paper-progress>
  53. <buddy-finder me="{{me}}" active$="{{loading}}" buddies="{{buddies}}"></buddy-finder>
  54. </div>
  55. </x-cards>
  56. <about-page on-switch="_showApp">
  57. </about-page>
  58. </neon-animated-pages>
  59. <file-receiver></file-receiver>
  60. <paper-toast id="toast" duration="6000">
  61. </paper-toast>
  62. <paper-toast id="caching-complete" duration="6000" text="Caching complete! This app will work offline.">
  63. </paper-toast>
  64. <platinum-sw-register auto-register clients-claim skip-waiting base-uri="bower_components/platinum-sw/bootstrap" on-service-worker-installed="displayInstalledToast">
  65. <platinum-sw-cache default-cache-strategy="fastest" cache-config-file="cache-config.json">
  66. </platinum-sw-cache>
  67. </platinum-sw-register>
  68. </template>
  69. <!-- build:js scripts/app.js -->
  70. <script src="scripts/app.js"></script>
  71. <!-- endbuild-->
  72. <script>
  73. (function(i, s, o, g, r, a, m) {
  74. i['GoogleAnalyticsObject'] = r;
  75. i[r] = i[r] || function() {
  76. (i[r].q = i[r].q || []).push(arguments)
  77. }, i[r].l = 1 * new Date();
  78. a = s.createElement(o),
  79. m = s.getElementsByTagName(o)[0];
  80. a.async = 1;
  81. a.src = g;
  82. m.parentNode.insertBefore(a, m)
  83. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  84. ga('create', 'UA-71686975-1', 'auto');
  85. ga('send', 'pageview');
  86. </script>
  87. </body>
  88. </html>