From 65f91fb5610326a470a468010594e73fa64a08cf Mon Sep 17 00:00:00 2001 From: Asad Date: Sat, 2 Nov 2024 21:59:55 +0000 Subject: [PATCH] Added Deployment and Readme Changes --- dist/index.html | 69 ++++++++++++++++++++++++++++++++++++++----------- docs/index.html | 56 +++++++++++++++++++++++++++++++++++++++ readme.md | 27 +++++++++---------- 3 files changed, 122 insertions(+), 30 deletions(-) create mode 100644 docs/index.html diff --git a/dist/index.html b/dist/index.html index d053d21..9df900a 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,17 +1,56 @@ - - - - - Whatsapp Chat box - - - - - - + + + + WA Chat Box Example + + + + + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..9df900a --- /dev/null +++ b/docs/index.html @@ -0,0 +1,56 @@ + + + + + + WA Chat Box Example + + + + + \ No newline at end of file diff --git a/readme.md b/readme.md index b20fdfe..520dee8 100644 --- a/readme.md +++ b/readme.md @@ -1,14 +1,8 @@ # WhatsApp Chat widget for websites -Demo: https://imlolman.github.io/Whatsapp-Chat-Widget/ - - -https://user-images.githubusercontent.com/11874560/222985797-3aeca0e5-c162-4346-967a-ed35be3cdf66.mp4 - - ## Instructions -* Download WhatsappChatBox.min.js from here.
+* Download WhatsappChatBox.min.js from here.
* Add the file to your header `````` @@ -16,13 +10,16 @@ https://user-images.githubusercontent.com/11874560/222985797-3aeca0e5-c162-4346- Configure with your settings ```javascript new WAChatBox({ - link: "https://wa.me/919999999999", - user: { - name: "Alice", - avatar: "https://randomuser.me/api/portraits/women/66.jpg", - status: "Typically replies within an hour", - }, - text: `Hey There 👋

I'm here to help, so let me know what's up and I'll be happy to find a solution 🤓`, - button_text: "Need Help?", + link: "https://wa.me/123456789", + user: { + name: "My Company", + avatar: "https://randomuser.me/api/portraits/women/66.jpg", + status: "Typically replies within few hours!" + }, + chat_name: "Sales", + text: "Hey There 👋
Let's talk to get a Price Quote!", + button_text: "", + tooltipText: "We're on WhatsApp!", + tooltipTimeout: 15000, }); ```