diff --git a/README.md b/README.md index 5811c45..1035bf7 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,21 @@ # WhatsApp sharing button -This is the buttons source code of this awesome webservice: http://whatsapp-sharing.com +## Installation -### Get started +### 1. Download -`git clone https://github.com/kriskbx/whatsapp-sharing.git whatsapp-sharing` +Download the current [release](https://github.com/kriskbx/whatsapp-sharing/releases) or clone the repo and upload `dist/whatsapp-button.js` somewhere on your webserver. -`cd whatsapp-sharing` +### 2. Integrate the buttons source -`npm install` +Use this code right before the ``, replace `http://your-domain.tld/path/whatsapp-button.js` with the url to the just uploaded file. -### Build the button + -Just run `grunt` and look into "dist". +### 3. Place it on your website -### Use the button - -If you want to use the button yourself, just use this code: +Place this code somewhere on your website to display the button: - -and - - \ No newline at end of file + +If you want to customize the size, style, url or the sharing text, feel free to visit [whatsapp-sharing.com](http://www.whatsapp-sharing.com) for a code generator. \ No newline at end of file diff --git a/test/test.html b/test/test.html index 5a4cda4..b331395 100644 --- a/test/test.html +++ b/test/test.html @@ -5,7 +5,7 @@ WABTN Tester - +