diff --git a/README.md b/README.md index 888f90e..a7a9500 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,16 @@ #### Snapdrop is built with the following awesome technologies: * Vanilla HTML5 / ES6 / CSS3 -* Progressive Web App +* [Progressive Web App](https://de.wikipedia.org/wiki/Progressive_Web_App) * [WebRTC](http://webrtc.org/) * [WebSockets](http://www.websocket.org/) * [NodeJS](https://nodejs.org/en/) -* [Material Design](https://material.google.com/) -> If you want to self-host your own instance, [you can with docker.](/docs/local-dev.md) + +> Have any questions? You can read our [FAQ](/docs/faq.md). + +> If you want to self-host your own instance, [you can with docker](/docs/local-dev.md). + ## Support the Snapdrop Community Snapdrop is free. Still, we have to pay for the server. If you want to contribute, please use PayPal: @@ -27,15 +30,4 @@ Alternatively, you can become a [Github Sponsor](https://github.com/sponsors/Rob Thanks a lot for supporting free and open software! -> Have any questions? You can read our [FAQ](/docs/faq.md) - - - -## Apps -1. [Snapdrop PWA](/docs/faq.md) - - 1. [Snapdrop Desktop App](https://github.com/infin1tyy/snapdrop-desktop) built on top of Electron. (Thanks to [Infin1tyy!](https://github.com/infin1tyy/)). - - 1. Feel free to make one :) - diff --git a/client/index.html b/client/index.html index 05e41b9..9e5190d 100644 --- a/client/index.html +++ b/client/index.html @@ -59,16 +59,16 @@ -

Open Snapdrop on other devices to send files.

+

Open Snapdrop on other devices to send files

- + @@ -90,7 +90,7 @@

Send a Message

- +
Cancel @@ -130,7 +130,7 @@

Snapdrop

-
The easiest way to transfer files across devices.
+
The easiest way to transfer files across devices
@@ -147,7 +147,7 @@ - + @@ -214,7 +214,7 @@ - \ No newline at end of file + diff --git a/client/scripts/network.js b/client/scripts/network.js index db19f4b..3774cc7 100644 --- a/client/scripts/network.js +++ b/client/scripts/network.js @@ -41,8 +41,8 @@ class ServerConnection { case 'ping': this.send({ type: 'pong' }); break; - case 'displayName': - Events.fire('displayName', msg); + case 'display-name': + Events.fire('display-name', msg); break; default: console.error('WS: unkown message type', msg); diff --git a/client/scripts/ui.js b/client/scripts/ui.js index 030b2a6..50eeecd 100644 --- a/client/scripts/ui.js +++ b/client/scripts/ui.js @@ -6,8 +6,8 @@ window.isProductionEnvironment = !window.location.host.startsWith('localhost'); window.iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; // set display name -Events.on('displayName', e => { - $("displayName").textContent = "You are known as " + e.detail.message; +Events.on('display-name', e => { + $('displayName').textContent = 'You are known as ' + e.detail.message; }); class PeersUI { @@ -70,7 +70,7 @@ class PeerUI { html() { return ` -