index.html 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="description" content="Snapdrop lets you instantly share files with people near by. It is a web-based clone of Apple's Airdrop.">
  6. <meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1">
  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. <!-- Add to homescreen for Safari on iOS -->
  24. <meta name="apple-mobile-web-app-capable" content="yes">
  25. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  26. <meta name="apple-mobile-web-app-title" content="Snapdrop">
  27. <link rel="apple-touch-icon" href="images/touch/apple-touch-icon.png">
  28. <!-- Tile icon for Win8 (144x144) -->
  29. <meta name="msapplication-TileImage" content="images/touch/ms-touch-icon-144x144-precomposed.png">
  30. <!-- build:css styles/main.css -->
  31. <link rel="stylesheet" href="styles/main.css">
  32. <!-- endbuild-->
  33. <!-- build:js bower_components/webcomponentsjs/webcomponents-lite.min.js -->
  34. <script src="bower_components/webcomponentsjs/webcomponents-lite.js" async="1"></script>
  35. <!-- endbuild -->
  36. <!-- Because this project uses vulcanize this should be your only html import
  37. in this file. All other imports should go in elements.html -->
  38. <link rel="import" href="elements/elements.html" async>
  39. </head>
  40. <body class="fullbleed layout vertical" loading>
  41. <script src="scripts/animated-bg.js" inline></script>
  42. <script>
  43. window.debug = true;
  44. </script>
  45. <span id="browser-sync-binding"></span>
  46. <template is="dom-bind" id="app">
  47. <connection-wrapper me="{{me}}" loading="{{loading}}" buddies="{{buddies}}"></connection-wrapper>
  48. <neon-animated-pages id="pages" selected="0">
  49. <x-cards on-switch="_showAbout">
  50. <div>
  51. <paper-progress indeterminate hidden$="{{!loading}}"></paper-progress>
  52. <buddy-finder me="{{me}}" active$="{{loading}}" buddies="{{buddies}}"></buddy-finder>
  53. </div>
  54. </x-cards>
  55. <x-card on-switch="_showApp">
  56. </x-card>
  57. </neon-animated-pages>
  58. <file-receiver></file-receiver>
  59. <paper-toast id="toast" duration="6000">
  60. </paper-toast>
  61. <paper-toast id="caching-complete" duration="6000" text="Caching complete! This app will work offline.">
  62. </paper-toast>
  63. <platinum-sw-register auto-register clients-claim skip-waiting base-uri="bower_components/platinum-sw/bootstrap" on-service-worker-installed="displayInstalledToast">
  64. <platinum-sw-cache default-cache-strategy="fastest" cache-config-file="cache-config.json">
  65. </platinum-sw-cache>
  66. </platinum-sw-register>
  67. </template>
  68. <!-- build:js scripts/app.js -->
  69. <script src="scripts/app.js"></script>
  70. <!-- endbuild-->
  71. <script>
  72. (function(i, s, o, g, r, a, m) {
  73. i['GoogleAnalyticsObject'] = r;
  74. i[r] = i[r] || function() {
  75. (i[r].q = i[r].q || []).push(arguments)
  76. }, i[r].l = 1 * new Date();
  77. a = s.createElement(o),
  78. m = s.getElementsByTagName(o)[0];
  79. a.async = 1;
  80. a.src = g;
  81. m.parentNode.insertBefore(a, m)
  82. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  83. ga('create', 'UA-71686975-1', 'auto');
  84. ga('send', 'pageview');
  85. </script>
  86. </body>
  87. </html>