abdelhak66 commited on
Commit
a40cb4a
·
verified ·
1 Parent(s): c162a96

Add 1 files

Browse files
Files changed (1) hide show
  1. index.html +252 -329
index.html CHANGED
@@ -14,49 +14,27 @@
14
  transform: translateY(-5px);
15
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
16
  }
17
- .tooltip {
18
- position: relative;
19
- display: inline-block;
20
  }
21
- .tooltip .tooltip-text {
22
- visibility: hidden;
23
- width: 200px;
24
- background-color: #555;
25
- color: #fff;
26
- text-align: center;
27
- border-radius: 6px;
28
- padding: 5px;
29
- position: absolute;
30
- z-index: 1;
31
- bottom: 125%;
32
- left: 50%;
33
- margin-left: -100px;
34
- opacity: 0;
35
- transition: opacity 0.3s;
36
  }
37
- .tooltip:hover .tooltip-text {
38
- visibility: visible;
39
- opacity: 1;
40
  }
41
- .deployment-step {
42
- counter-increment: step-counter;
43
- position: relative;
44
- padding-left: 3.5rem;
45
  }
46
- .deployment-step::before {
47
- content: counter(step-counter);
48
- position: absolute;
49
- left: 0;
50
- top: 0;
51
- width: 2.5rem;
52
- height: 2.5rem;
53
- background: linear-gradient(135deg, #6e8efb, #a777e3);
54
- color: white;
55
- border-radius: 50%;
56
- display: flex;
57
- align-items: center;
58
- justify-content: center;
59
- font-weight: bold;
60
  }
61
  </style>
62
  </head>
@@ -84,11 +62,33 @@
84
 
85
  <!-- Main Content -->
86
  <main class="container mx-auto px-4 py-8">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  <!-- Integrations Section -->
88
  <section class="mb-12 bg-white rounded-xl shadow-md overflow-hidden">
89
  <div class="gradient-bg p-6 text-white">
90
- <h2 class="text-2xl font-bold">AI Module Integrations</h2>
91
- <p class="opacity-90">Connect with your favorite tools and services</p>
 
 
 
 
 
 
 
92
  </div>
93
 
94
  <div class="p-6">
@@ -99,14 +99,14 @@
99
  <tr>
100
  <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">AI Module</th>
101
  <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Integration Tools</th>
102
- <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Primary Use Cases</th>
103
  <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
 
104
  <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
105
  </tr>
106
  </thead>
107
- <tbody class="bg-white divide-y divide-gray-200">
108
  <!-- Voice AI -->
109
- <tr>
110
  <td class="px-6 py-4 whitespace-nowrap">
111
  <div class="flex items-center">
112
  <div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center">
@@ -114,29 +114,35 @@
114
  </div>
115
  <div class="ml-4">
116
  <div class="text-sm font-medium text-gray-900">Voice AI</div>
 
117
  </div>
118
  </div>
119
  </td>
120
  <td class="px-6 py-4 whitespace-nowrap">
121
- <div class="flex space-x-2">
122
  <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs font-medium">Twilio</span>
123
  <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-xs font-medium">Plivo</span>
124
  </div>
125
  </td>
126
- <td class="px-6 py-4">
127
- <div class="text-sm text-gray-500">Call handling, voicemail, IVR systems</div>
 
 
128
  </td>
129
  <td class="px-6 py-4 whitespace-nowrap">
130
- <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Connected</span>
131
  </td>
132
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
 
 
 
133
  <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
134
  <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
135
  </td>
136
  </tr>
137
 
138
  <!-- Conversation AI -->
139
- <tr>
140
  <td class="px-6 py-4 whitespace-nowrap">
141
  <div class="flex items-center">
142
  <div class="flex-shrink-0 h-10 w-10 bg-purple-100 rounded-full flex items-center justify-center">
@@ -144,29 +150,35 @@
144
  </div>
145
  <div class="ml-4">
146
  <div class="text-sm font-medium text-gray-900">Conversation AI</div>
 
147
  </div>
148
  </div>
149
  </td>
150
  <td class="px-6 py-4 whitespace-nowrap">
151
- <div class="flex space-x-2">
152
  <span class="bg-green-100 text-green-800 px-2 py-1 rounded text-xs font-medium">Lovable.dev</span>
153
  <span class="bg-yellow-100 text-yellow-800 px-2 py-1 rounded text-xs font-medium">Dialogflow</span>
154
  </div>
155
  </td>
156
- <td class="px-6 py-4">
157
- <div class="text-sm text-gray-500">Website/live chat, messaging automation</div>
 
 
158
  </td>
159
  <td class="px-6 py-4 whitespace-nowrap">
160
- <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Connected</span>
161
  </td>
162
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
 
 
 
163
  <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
164
  <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
165
  </td>
166
  </tr>
167
 
168
  <!-- Reviews AI -->
169
- <tr>
170
  <td class="px-6 py-4 whitespace-nowrap">
171
  <div class="flex items-center">
172
  <div class="flex-shrink-0 h-10 w-10 bg-green-100 rounded-full flex items-center justify-center">
@@ -174,29 +186,35 @@
174
  </div>
175
  <div class="ml-4">
176
  <div class="text-sm font-medium text-gray-900">Reviews AI</div>
 
177
  </div>
178
  </div>
179
  </td>
180
  <td class="px-6 py-4 whitespace-nowrap">
181
- <div class="flex space-x-2">
182
  <span class="bg-red-100 text-red-800 px-2 py-1 rounded text-xs font-medium">Google API</span>
183
  <span class="bg-yellow-100 text-yellow-800 px-2 py-1 rounded text-xs font-medium">Yelp API</span>
184
  </div>
185
  </td>
186
- <td class="px-6 py-4">
187
- <div class="text-sm text-gray-500">Review generation, sentiment analysis</div>
 
 
188
  </td>
189
  <td class="px-6 py-4 whitespace-nowrap">
190
- <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
191
  </td>
192
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
193
- <button class="text-blue-600 hover:text-blue-900 mr-3">Connect</button>
194
- <button class="text-gray-600 hover:text-gray-900" disabled>Disconnect</button>
 
 
 
195
  </td>
196
  </tr>
197
 
198
  <!-- Funnel AI -->
199
- <tr>
200
  <td class="px-6 py-4 whitespace-nowrap">
201
  <div class="flex items-center">
202
  <div class="flex-shrink-0 h-10 w-10 bg-yellow-100 rounded-full flex items-center justify-center">
@@ -204,29 +222,35 @@
204
  </div>
205
  <div class="ml-4">
206
  <div class="text-sm font-medium text-gray-900">Funnel AI</div>
 
207
  </div>
208
  </div>
209
  </td>
210
  <td class="px-6 py-4 whitespace-nowrap">
211
- <div class="flex space-x-2">
212
  <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs font-medium">GoHighLevel</span>
213
  <span class="bg-gray-100 text-gray-800 px-2 py-1 rounded text-xs font-medium">WordPress</span>
214
  </div>
215
  </td>
216
- <td class="px-6 py-4">
217
- <div class="text-sm text-gray-500">Landing page automation, funnel creation</div>
 
 
218
  </td>
219
  <td class="px-6 py-4 whitespace-nowrap">
220
- <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Connected</span>
221
  </td>
222
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
 
 
 
223
  <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
224
  <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
225
  </td>
226
  </tr>
227
 
228
  <!-- Content AI -->
229
- <tr>
230
  <td class="px-6 py-4 whitespace-nowrap">
231
  <div class="flex items-center">
232
  <div class="flex-shrink-0 h-10 w-10 bg-indigo-100 rounded-full flex items-center justify-center">
@@ -234,29 +258,35 @@
234
  </div>
235
  <div class="ml-4">
236
  <div class="text-sm font-medium text-gray-900">Content AI</div>
 
237
  </div>
238
  </div>
239
  </td>
240
  <td class="px-6 py-4 whitespace-nowrap">
241
- <div class="flex space-x-2">
242
  <span class="bg-green-100 text-green-800 px-2 py-1 rounded text-xs font-medium">OpenAI GPT</span>
243
  <span class="bg-red-100 text-red-800 px-2 py-1 rounded text-xs font-medium">Jasper</span>
244
  </div>
245
  </td>
246
- <td class="px-6 py-4">
247
- <div class="text-sm text-gray-500">Blog/social media content generation</div>
 
 
248
  </td>
249
  <td class="px-6 py-4 whitespace-nowrap">
250
- <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Connected</span>
251
  </td>
252
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
 
 
 
253
  <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
254
  <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
255
  </td>
256
  </tr>
257
 
258
  <!-- Workflow AI -->
259
- <tr>
260
  <td class="px-6 py-4 whitespace-nowrap">
261
  <div class="flex items-center">
262
  <div class="flex-shrink-0 h-10 w-10 bg-red-100 rounded-full flex items-center justify-center">
@@ -264,22 +294,28 @@
264
  </div>
265
  <div class="ml-4">
266
  <div class="text-sm font-medium text-gray-900">Workflow AI</div>
 
267
  </div>
268
  </div>
269
  </td>
270
  <td class="px-6 py-4 whitespace-nowrap">
271
- <div class="flex space-x-2">
272
  <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs font-medium">Zapier</span>
273
  <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-xs font-medium">Make</span>
274
  </div>
275
  </td>
276
- <td class="px-6 py-4">
277
- <div class="text-sm text-gray-500">CRM/email automation, task workflows</div>
 
 
278
  </td>
279
  <td class="px-6 py-4 whitespace-nowrap">
280
- <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Connected</span>
281
  </td>
282
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
 
 
 
283
  <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
284
  <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
285
  </td>
@@ -288,239 +324,40 @@
288
  </table>
289
  </div>
290
 
291
- <!-- Add New Integration -->
292
- <div class="mt-6 border-t pt-6">
293
- <h3 class="text-lg font-medium text-gray-900 mb-4">Add New Integration</h3>
294
- <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
295
- <select class="border rounded-lg px-4 py-2 focus:outline-none focus:ring-1 focus:ring-purple-500">
296
- <option disabled selected>Select AI Module</option>
297
- <option>Voice AI</option>
298
- <option>Conversation AI</option>
299
- <option>Reviews AI</option>
300
- <option>Funnel AI</option>
301
- <option>Content AI</option>
302
- <option>Workflow AI</option>
303
- </select>
304
-
305
- <select class="border rounded-lg px-4 py-2 focus:outline-none focus:ring-1 focus:ring-purple-500">
306
- <option disabled selected>Select Integration Tool</option>
307
- <option>Twilio</option>
308
- <option>Plivo</option>
309
- <option>Lovable.dev</option>
310
- <option>Dialogflow</option>
311
- <option>Google API</option>
312
- <option>Yelp API</option>
313
- <option>GoHighLevel</option>
314
- <option>WordPress</option>
315
- <option>OpenAI GPT</option>
316
- <option>Jasper</option>
317
- <option>Zapier</option>
318
- <option>Make (Integromat)</option>
319
- </select>
320
-
321
- <button class="bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-lg font-medium transition duration-300">
322
- Connect Service
323
- </button>
324
- </div>
325
- </div>
326
- </div>
327
- </section>
328
-
329
- <!-- Deployment Steps Section -->
330
- <section class="bg-white rounded-xl shadow-md overflow-hidden">
331
- <div class="gradient-bg p-6 text-white">
332
- <h2 class="text-2xl font-bold">Deployment Guide</h2>
333
- <p class="opacity-90">Step-by-step instructions to deploy your AI Employee Suite</p>
334
- </div>
335
-
336
- <div class="p-6">
337
- <ol class="space-y-8 list-decimal list-inside">
338
- <!-- Step 1 -->
339
- <li class="deployment-step">
340
- <h3 class="text-xl font-semibold text-gray-800 mb-2">Host the Code</h3>
341
- <div class="ml-2">
342
- <p class="text-gray-600 mb-4">Choose a serverless platform to host your AI Employee Suite:</p>
343
- <div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
344
- <div class="bg-gray-100 p-4 rounded-lg">
345
- <div class="flex items-center mb-2">
346
- <i class="fab fa-aws text-orange-500 text-xl mr-2"></i>
347
- <h4 class="font-medium">AWS Lambda</h4>
348
- </div>
349
- <p class="text-sm text-gray-600">Ideal for scalable, event-driven execution with tight AWS integration.</p>
350
- <button class="mt-2 text-blue-600 text-sm font-medium">View Setup Guide</button>
351
- </div>
352
- <div class="bg-gray-100 p-4 rounded-lg">
353
- <div class="flex items-center mb-2">
354
- <i class="fab fa-google text-blue-500 text-xl mr-2"></i>
355
- <h4 class="font-medium">Google Cloud Functions</h4>
356
- </div>
357
- <p class="text-sm text-gray-600">Great for projects already using Google Cloud services.</p>
358
- <button class="mt-2 text-blue-600 text-sm font-medium">View Setup Guide</button>
359
- </div>
360
- </div>
361
- <div class="bg-gray-800 text-green-400 p-4 rounded-lg overflow-x-auto">
362
- <code class="text-sm">
363
- # Sample deployment command<br>
364
- $ gcloud functions deploy ai-employee-suite \<br>
365
- &nbsp;&nbsp;--runtime python39 \<br>
366
- &nbsp;&nbsp;--trigger-http \<br>
367
- &nbsp;&nbsp;--allow-unauthenticated
368
- </code>
369
- </div>
370
  </div>
371
- </li>
372
-
373
- <!-- Step 2 -->
374
- <li class="deployment-step">
375
- <h3 class="text-xl font-semibold text-gray-800 mb-2">Connect APIs</h3>
376
- <div class="ml-2">
377
- <p class="text-gray-600 mb-4">Integrate with essential services for full functionality:</p>
378
- <div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-4">
379
- <div class="bg-gray-100 p-4 rounded-lg">
380
- <div class="flex items-center mb-2">
381
- <i class="fas fa-credit-card text-purple-500 text-xl mr-2"></i>
382
- <h4 class="font-medium">Stripe</h4>
383
- </div>
384
- <p class="text-sm text-gray-600">For payment processing and monetization.</p>
385
- <div class="mt-2 flex items-center">
386
- <span class="bg-green-100 text-green-800 px-2 py-1 rounded text-xs font-medium">Connected</span>
387
- <button class="ml-2 text-blue-600 text-xs font-medium">Configure</button>
388
- </div>
389
- </div>
390
- <div class="bg-gray-100 p-4 rounded-lg">
391
- <div class="flex items-center mb-2">
392
- <i class="fas fa-level-up-alt text-blue-500 text-xl mr-2"></i>
393
- <h4 class="font-medium">GoHighLevel</h4>
394
- </div>
395
- <p class="text-sm text-gray-600">For funnel automation and CRM features.</p>
396
- <div class="mt-2 flex items-center">
397
- <span class="bg-green-100 text-green-800 px-2 py-1 rounded text-xs font-medium">Connected</span>
398
- <button class="ml-2 text-blue-600 text-xs font-medium">Configure</button>
399
- </div>
400
- </div>
401
- <div class="bg-gray-100 p-4 rounded-lg">
402
- <div class="flex items-center mb-2">
403
- <i class="fas fa-phone text-green-500 text-xl mr-2"></i>
404
- <h4 class="font-medium">Twilio</h4>
405
- </div>
406
- <p class="text-sm text-gray-600">For Voice AI call handling and SMS.</p>
407
- <div class="mt-2 flex items-center">
408
- <span class="bg-green-100 text-green-800 px-2 py-1 rounded text-xs font-medium">Connected</span>
409
- <button class="ml-2 text-blue-600 text-xs font-medium">Configure</button>
410
- </div>
411
- </div>
412
- </div>
413
- <div class="bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-4">
414
- <div class="flex">
415
- <div class="flex-shrink-0">
416
- <i class="fas fa-exclamation-circle text-yellow-400"></i>
417
- </div>
418
- <div class="ml-3">
419
- <p class="text-sm text-yellow-700">
420
- Ensure all API keys are stored securely using environment variables or a secrets manager.
421
- </p>
422
- </div>
423
- </div>
424
- </div>
425
  </div>
426
- </li>
427
-
428
- <!-- Step 3 -->
429
- <li class="deployment-step">
430
- <h3 class="text-xl font-semibold text-gray-800 mb-2">Embed in Platforms</h3>
431
- <div class="ml-2">
432
- <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
433
- <div>
434
- <h4 class="font-medium text-gray-700 mb-2">Website Chatbot</h4>
435
- <p class="text-gray-600 text-sm mb-3">Add the Lovable.dev chatbot to your website:</p>
436
- <div class="bg-gray-800 text-green-400 p-4 rounded-lg overflow-x-auto">
437
- <code class="text-sm">
438
- &lt;!-- Add to your website's &lt;head&gt; --&gt;<br>
439
- &lt;script src="https://cdn.lovable.dev/chatbot.js"&gt;&lt;/script&gt;<br>
440
- &lt;script&gt;<br>
441
- &nbsp;&nbsp;window.lovableSettings = {<br>
442
- &nbsp;&nbsp;&nbsp;&nbsp;apiKey: 'YOUR_API_KEY',<br>
443
- &nbsp;&nbsp;&nbsp;&nbsp;position: 'bottom-right'<br>
444
- &nbsp;&nbsp;};<br>
445
- &lt;/script&gt;
446
- </code>
447
- </div>
448
- <button class="mt-3 text-sm text-blue-600 font-medium">Copy Embed Code</button>
449
- </div>
450
- <div>
451
- <h4 class="font-medium text-gray-700 mb-2">Webhook Setup</h4>
452
- <p class="text-gray-600 text-sm mb-3">Configure webhooks to trigger workflows:</p>
453
- <div class="bg-gray-100 p-4 rounded-lg">
454
- <div class="flex items-center mb-2">
455
- <i class="fab fa-slack text-purple-500 text-xl mr-2"></i>
456
- <h4 class="font-medium">Sample Webhook URL</h4>
457
- </div>
458
- <div class="bg-white p-2 rounded border text-sm text-gray-700 mb-2 overflow-x-auto">
459
- https://api.yourservice.com/webhook/ai-employee?token=SECURE_TOKEN
460
- </div>
461
- <p class="text-xs text-gray-500">Use this URL in Zapier/Make to trigger workflows</p>
462
- </div>
463
- </div>
464
- </div>
465
- </div>
466
- </li>
467
-
468
- <!-- Step 4 -->
469
- <li class="deployment-step">
470
- <h3 class="text-xl font-semibold text-gray-800 mb-2">Testing & Monitoring</h3>
471
- <div class="ml-2">
472
- <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
473
- <div class="bg-gray-100 p-4 rounded-lg">
474
- <h4 class="font-medium text-gray-700 mb-2">Test All Modules</h4>
475
- <ul class="list-disc pl-5 text-sm text-gray-600 space-y-1">
476
- <li>Verify voice call quality</li>
477
- <li>Test chatbot responses</li>
478
- <li>Check review generation</li>
479
- <li>Validate funnel creation</li>
480
- </ul>
481
- <button class="mt-3 bg-purple-600 hover:bg-purple-700 text-white py-1 px-3 rounded text-sm font-medium">
482
- Run Test Suite
483
- </button>
484
- </div>
485
- <div class="bg-gray-100 p-4 rounded-lg">
486
- <h4 class="font-medium text-gray-700 mb-2">Monitoring Setup</h4>
487
- <div class="flex items-center space-x-3">
488
- <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs font-medium">New Relic</span>
489
- <span class="bg-orange-100 text-orange-800 px-2 py-1 rounded text-xs font-medium">Datadog</span>
490
- <span class="bg-yellow-100 text-yellow-800 px-2 py-1 rounded text-xs font-medium">Sentry</span>
491
- </div>
492
- <p class="text-xs text-gray-500 mt-2">Recommended for performance tracking and error monitoring</p>
493
- <button class="mt-3 text-sm text-blue-600 font-medium">Configure Monitoring</button>
494
- </div>
495
- </div>
496
- </div>
497
- </li>
498
- </ol>
499
-
500
- <!-- Deployment Completion -->
501
- <div class="mt-8 border-t pt-6">
502
- <div class="bg-green-50 border-l-4 border-green-400 p-4">
503
- <div class="flex">
504
- <div class="flex-shrink-0">
505
- <i class="fas fa-check-circle text-green-400"></i>
506
- </div>
507
- <div class="ml-3">
508
- <p class="text-sm text-green-700">
509
- <span class="font-bold">Congratulations!</span> Your AI Employee Suite is now ready for deployment.
510
- Follow these final steps to go live.
511
- </p>
512
- </div>
513
  </div>
514
  </div>
515
-
516
- <div class="mt-4 flex justify-end space-x-3">
517
- <button class="bg-gray-200 hover:bg-gray-300 text-gray-800 py-2 px-4 rounded-lg font-medium">
518
- Save for Later
519
- </button>
520
- <button class="gradient-bg hover:opacity-90 text-white py-2 px-4 rounded-lg font-medium">
521
- Complete Deployment
522
- </button>
523
- </div>
524
  </div>
525
  </div>
526
  </section>
@@ -548,34 +385,120 @@
548
  </footer>
549
 
550
  <script>
551
- // Simple function to handle the "Copy Embed Code" button
552
- document.querySelectorAll('button').forEach(button => {
553
- if (button.textContent.includes('Copy Embed Code')) {
554
- button.addEventListener('click', function() {
555
- const codeBlock = this.previousElementSibling.querySelector('code');
556
- navigator.clipboard.writeText(codeBlock.textContent);
557
-
558
- // Change button text temporarily
559
- const originalText = this.textContent;
560
- this.textContent = 'Copied!';
561
- this.classList.add('text-green-600');
562
-
563
- setTimeout(() => {
564
- this.textContent = originalText;
565
- this.classList.remove('text-green-600');
566
- }, 2000);
567
- });
568
  }
569
  });
570
-
571
- // Handle test suite button
572
- const testSuiteButton = document.querySelector('button:contains("Run Test Suite")');
573
- if (testSuiteButton) {
574
- testSuiteButton.addEventListener('click', function() {
575
- alert('Running comprehensive test suite... Check console for results.');
576
- console.log('AI Employee Suite Test Results:\n- Voice AI: ✅\n- Conversation AI: ✅\n- Reviews AI: ✅\n- Funnel AI: ✅\n- Content AI: ✅\n- Workflow AI: ✅');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
577
  });
578
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
579
  </script>
580
  <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - <a href="https://enzostvs-deepsite.hf.space?remix=abdelhak66/customer-support" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
581
  </html>
 
14
  transform: translateY(-5px);
15
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
16
  }
17
+ .pulse {
18
+ animation: pulse 2s infinite;
 
19
  }
20
+ @keyframes pulse {
21
+ 0% { opacity: 1; }
22
+ 50% { opacity: 0.5; }
23
+ 100% { opacity: 1; }
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
+ .status-badge {
26
+ transition: all 0.3s ease;
 
27
  }
28
+ .not-responding {
29
+ background-color: #fee2e2 !important;
30
+ color: #dc2626 !important;
31
+ border-left: 4px solid #dc2626;
32
  }
33
+ .connection-test-btn {
34
+ transition: all 0.3s ease;
35
+ }
36
+ .connection-test-btn:hover {
37
+ transform: scale(1.05);
 
 
 
 
 
 
 
 
 
38
  }
39
  </style>
40
  </head>
 
62
 
63
  <!-- Main Content -->
64
  <main class="container mx-auto px-4 py-8">
65
+ <!-- Status Alert -->
66
+ <div id="statusAlert" class="hidden bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-6 rounded-r">
67
+ <div class="flex">
68
+ <div class="flex-shrink-0">
69
+ <i class="fas fa-exclamation-triangle text-yellow-400"></i>
70
+ </div>
71
+ <div class="ml-3">
72
+ <p class="text-sm text-yellow-700">
73
+ <span class="font-semibold">Connection Issues Detected</span> Some AI modules are not responding properly.
74
+ <button id="refreshAllBtn" class="ml-2 text-yellow-700 underline font-medium">Refresh All Connections</button>
75
+ </p>
76
+ </div>
77
+ </div>
78
+ </div>
79
+
80
  <!-- Integrations Section -->
81
  <section class="mb-12 bg-white rounded-xl shadow-md overflow-hidden">
82
  <div class="gradient-bg p-6 text-white">
83
+ <div class="flex justify-between items-center">
84
+ <div>
85
+ <h2 class="text-2xl font-bold">AI Module Integrations</h2>
86
+ <p class="opacity-90">Connect with your favorite tools and services</p>
87
+ </div>
88
+ <button id="testAllConnections" class="bg-white text-purple-600 hover:bg-purple-50 px-4 py-2 rounded-lg font-medium flex items-center">
89
+ <i class="fas fa-sync-alt mr-2"></i> Test All Connections
90
+ </button>
91
+ </div>
92
  </div>
93
 
94
  <div class="p-6">
 
99
  <tr>
100
  <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">AI Module</th>
101
  <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Integration Tools</th>
 
102
  <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
103
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Response Time</th>
104
  <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
105
  </tr>
106
  </thead>
107
+ <tbody class="bg-white divide-y divide-gray-200" id="integrationTableBody">
108
  <!-- Voice AI -->
109
+ <tr id="voiceAI" class="integration-row">
110
  <td class="px-6 py-4 whitespace-nowrap">
111
  <div class="flex items-center">
112
  <div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center">
 
114
  </div>
115
  <div class="ml-4">
116
  <div class="text-sm font-medium text-gray-900">Voice AI</div>
117
+ <div class="text-xs text-gray-500">Call handling, voicemail</div>
118
  </div>
119
  </div>
120
  </td>
121
  <td class="px-6 py-4 whitespace-nowrap">
122
+ <div class="flex flex-wrap gap-2">
123
  <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs font-medium">Twilio</span>
124
  <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-xs font-medium">Plivo</span>
125
  </div>
126
  </td>
127
+ <td class="px-6 py-4 whitespace-nowrap">
128
+ <span class="status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
129
+ <i class="fas fa-check-circle mr-1"></i> Connected
130
+ </span>
131
  </td>
132
  <td class="px-6 py-4 whitespace-nowrap">
133
+ <span class="text-sm text-gray-700">320ms</span>
134
  </td>
135
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
136
+ <button class="connection-test-btn bg-blue-100 text-blue-700 hover:bg-blue-200 px-3 py-1 rounded text-xs font-medium mr-2">
137
+ <i class="fas fa-bolt mr-1"></i> Test
138
+ </button>
139
  <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
140
  <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
141
  </td>
142
  </tr>
143
 
144
  <!-- Conversation AI -->
145
+ <tr id="conversationAI" class="integration-row not-responding">
146
  <td class="px-6 py-4 whitespace-nowrap">
147
  <div class="flex items-center">
148
  <div class="flex-shrink-0 h-10 w-10 bg-purple-100 rounded-full flex items-center justify-center">
 
150
  </div>
151
  <div class="ml-4">
152
  <div class="text-sm font-medium text-gray-900">Conversation AI</div>
153
+ <div class="text-xs text-gray-500">Website/live chat</div>
154
  </div>
155
  </div>
156
  </td>
157
  <td class="px-6 py-4 whitespace-nowrap">
158
+ <div class="flex flex-wrap gap-2">
159
  <span class="bg-green-100 text-green-800 px-2 py-1 rounded text-xs font-medium">Lovable.dev</span>
160
  <span class="bg-yellow-100 text-yellow-800 px-2 py-1 rounded text-xs font-medium">Dialogflow</span>
161
  </div>
162
  </td>
163
+ <td class="px-6 py-4 whitespace-nowrap">
164
+ <span class="status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800 pulse">
165
+ <i class="fas fa-exclamation-triangle mr-1"></i> Not Responding
166
+ </span>
167
  </td>
168
  <td class="px-6 py-4 whitespace-nowrap">
169
+ <span class="text-sm text-gray-700">Timeout</span>
170
  </td>
171
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
172
+ <button class="connection-test-btn bg-blue-100 text-blue-700 hover:bg-blue-200 px-3 py-1 rounded text-xs font-medium mr-2">
173
+ <i class="fas fa-bolt mr-1"></i> Test
174
+ </button>
175
  <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
176
  <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
177
  </td>
178
  </tr>
179
 
180
  <!-- Reviews AI -->
181
+ <tr id="reviewsAI" class="integration-row">
182
  <td class="px-6 py-4 whitespace-nowrap">
183
  <div class="flex items-center">
184
  <div class="flex-shrink-0 h-10 w-10 bg-green-100 rounded-full flex items-center justify-center">
 
186
  </div>
187
  <div class="ml-4">
188
  <div class="text-sm font-medium text-gray-900">Reviews AI</div>
189
+ <div class="text-xs text-gray-500">Review generation</div>
190
  </div>
191
  </div>
192
  </td>
193
  <td class="px-6 py-4 whitespace-nowrap">
194
+ <div class="flex flex-wrap gap-2">
195
  <span class="bg-red-100 text-red-800 px-2 py-1 rounded text-xs font-medium">Google API</span>
196
  <span class="bg-yellow-100 text-yellow-800 px-2 py-1 rounded text-xs font-medium">Yelp API</span>
197
  </div>
198
  </td>
199
+ <td class="px-6 py-4 whitespace-nowrap">
200
+ <span class="status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
201
+ <i class="fas fa-check-circle mr-1"></i> Connected
202
+ </span>
203
  </td>
204
  <td class="px-6 py-4 whitespace-nowrap">
205
+ <span class="text-sm text-gray-700">420ms</span>
206
  </td>
207
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
208
+ <button class="connection-test-btn bg-blue-100 text-blue-700 hover:bg-blue-200 px-3 py-1 rounded text-xs font-medium mr-2">
209
+ <i class="fas fa-bolt mr-1"></i> Test
210
+ </button>
211
+ <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
212
+ <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
213
  </td>
214
  </tr>
215
 
216
  <!-- Funnel AI -->
217
+ <tr id="funnelAI" class="integration-row not-responding">
218
  <td class="px-6 py-4 whitespace-nowrap">
219
  <div class="flex items-center">
220
  <div class="flex-shrink-0 h-10 w-10 bg-yellow-100 rounded-full flex items-center justify-center">
 
222
  </div>
223
  <div class="ml-4">
224
  <div class="text-sm font-medium text-gray-900">Funnel AI</div>
225
+ <div class="text-xs text-gray-500">Landing page automation</div>
226
  </div>
227
  </div>
228
  </td>
229
  <td class="px-6 py-4 whitespace-nowrap">
230
+ <div class="flex flex-wrap gap-2">
231
  <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs font-medium">GoHighLevel</span>
232
  <span class="bg-gray-100 text-gray-800 px-2 py-1 rounded text-xs font-medium">WordPress</span>
233
  </div>
234
  </td>
235
+ <td class="px-6 py-4 whitespace-nowrap">
236
+ <span class="status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800 pulse">
237
+ <i class="fas fa-exclamation-triangle mr-1"></i> Not Responding
238
+ </span>
239
  </td>
240
  <td class="px-6 py-4 whitespace-nowrap">
241
+ <span class="text-sm text-gray-700">Timeout</span>
242
  </td>
243
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
244
+ <button class="connection-test-btn bg-blue-100 text-blue-700 hover:bg-blue-200 px-3 py-1 rounded text-xs font-medium mr-2">
245
+ <i class="fas fa-bolt mr-1"></i> Test
246
+ </button>
247
  <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
248
  <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
249
  </td>
250
  </tr>
251
 
252
  <!-- Content AI -->
253
+ <tr id="contentAI" class="integration-row">
254
  <td class="px-6 py-4 whitespace-nowrap">
255
  <div class="flex items-center">
256
  <div class="flex-shrink-0 h-10 w-10 bg-indigo-100 rounded-full flex items-center justify-center">
 
258
  </div>
259
  <div class="ml-4">
260
  <div class="text-sm font-medium text-gray-900">Content AI</div>
261
+ <div class="text-xs text-gray-500">Blog/social media</div>
262
  </div>
263
  </div>
264
  </td>
265
  <td class="px-6 py-4 whitespace-nowrap">
266
+ <div class="flex flex-wrap gap-2">
267
  <span class="bg-green-100 text-green-800 px-2 py-1 rounded text-xs font-medium">OpenAI GPT</span>
268
  <span class="bg-red-100 text-red-800 px-2 py-1 rounded text-xs font-medium">Jasper</span>
269
  </div>
270
  </td>
271
+ <td class="px-6 py-4 whitespace-nowrap">
272
+ <span class="status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
273
+ <i class="fas fa-check-circle mr-1"></i> Connected
274
+ </span>
275
  </td>
276
  <td class="px-6 py-4 whitespace-nowrap">
277
+ <span class="text-sm text-gray-700">580ms</span>
278
  </td>
279
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
280
+ <button class="connection-test-btn bg-blue-100 text-blue-700 hover:bg-blue-200 px-3 py-1 rounded text-xs font-medium mr-2">
281
+ <i class="fas fa-bolt mr-1"></i> Test
282
+ </button>
283
  <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
284
  <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
285
  </td>
286
  </tr>
287
 
288
  <!-- Workflow AI -->
289
+ <tr id="workflowAI" class="integration-row">
290
  <td class="px-6 py-4 whitespace-nowrap">
291
  <div class="flex items-center">
292
  <div class="flex-shrink-0 h-10 w-10 bg-red-100 rounded-full flex items-center justify-center">
 
294
  </div>
295
  <div class="ml-4">
296
  <div class="text-sm font-medium text-gray-900">Workflow AI</div>
297
+ <div class="text-xs text-gray-500">CRM/email automation</div>
298
  </div>
299
  </div>
300
  </td>
301
  <td class="px-6 py-4 whitespace-nowrap">
302
+ <div class="flex flex-wrap gap-2">
303
  <span class="bg-blue-100 text-blue-800 px-2 py-1 rounded text-xs font-medium">Zapier</span>
304
  <span class="bg-purple-100 text-purple-800 px-2 py-1 rounded text-xs font-medium">Make</span>
305
  </div>
306
  </td>
307
+ <td class="px-6 py-4 whitespace-nowrap">
308
+ <span class="status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
309
+ <i class="fas fa-check-circle mr-1"></i> Connected
310
+ </span>
311
  </td>
312
  <td class="px-6 py-4 whitespace-nowrap">
313
+ <span class="text-sm text-gray-700">210ms</span>
314
  </td>
315
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">
316
+ <button class="connection-test-btn bg-blue-100 text-blue-700 hover:bg-blue-200 px-3 py-1 rounded text-xs font-medium mr-2">
317
+ <i class="fas fa-bolt mr-1"></i> Test
318
+ </button>
319
  <button class="text-blue-600 hover:text-blue-900 mr-3">Configure</button>
320
  <button class="text-gray-600 hover:text-gray-900">Disconnect</button>
321
  </td>
 
324
  </table>
325
  </div>
326
 
327
+ <!-- Connection Troubleshooting -->
328
+ <div class="mt-8 bg-gray-50 p-6 rounded-lg border border-gray-200">
329
+ <h3 class="text-lg font-medium text-gray-900 mb-4 flex items-center">
330
+ <i class="fas fa-tools text-yellow-500 mr-2"></i> Connection Troubleshooting
331
+ </h3>
332
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
333
+ <div>
334
+ <h4 class="font-medium text-gray-700 mb-2">Common Issues</h4>
335
+ <ul class="list-disc pl-5 text-sm text-gray-600 space-y-1">
336
+ <li>API key expired</li>
337
+ <li>Service rate limits</li>
338
+ <li>Network connectivity</li>
339
+ <li>Incorrect configuration</li>
340
+ </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
341
  </div>
342
+ <div>
343
+ <h4 class="font-medium text-gray-700 mb-2">Quick Fixes</h4>
344
+ <ul class="list-disc pl-5 text-sm text-gray-600 space-y-1">
345
+ <li>Refresh API tokens</li>
346
+ <li>Check service status</li>
347
+ <li>Verify network settings</li>
348
+ <li>Review documentation</li>
349
+ </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  </div>
351
+ <div>
352
+ <h4 class="font-medium text-gray-700 mb-2">Need Help?</h4>
353
+ <button class="bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-lg font-medium w-full mb-2">
354
+ <i class="fas fa-question-circle mr-2"></i> Support Center
355
+ </button>
356
+ <button class="bg-white border border-purple-600 text-purple-600 hover:bg-purple-50 py-2 px-4 rounded-lg font-medium w-full">
357
+ <i class="fas fa-book mr-2"></i> Documentation
358
+ </button>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
  </div>
360
  </div>
 
 
 
 
 
 
 
 
 
361
  </div>
362
  </div>
363
  </section>
 
385
  </footer>
386
 
387
  <script>
388
+ // Show status alert if any modules are not responding
389
+ document.addEventListener('DOMContentLoaded', function() {
390
+ const notRespondingModules = document.querySelectorAll('.not-responding');
391
+ if (notRespondingModules.length > 0) {
392
+ document.getElementById('statusAlert').classList.remove('hidden');
 
 
 
 
 
 
 
 
 
 
 
 
393
  }
394
  });
395
+
396
+ // Test connection for individual module
397
+ document.querySelectorAll('.connection-test-btn').forEach(btn => {
398
+ btn.addEventListener('click', function() {
399
+ const row = this.closest('.integration-row');
400
+ const statusBadge = row.querySelector('.status-badge');
401
+ const responseTime = row.querySelector('td:nth-child(4) span');
402
+
403
+ // Show testing state
404
+ statusBadge.innerHTML = '<i class="fas fa-sync-alt fa-spin mr-1"></i> Testing...';
405
+ statusBadge.className = 'status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800';
406
+
407
+ // Simulate API test
408
+ setTimeout(() => {
409
+ if (row.classList.contains('not-responding')) {
410
+ // 30% chance to fix the connection
411
+ if (Math.random() < 0.3) {
412
+ row.classList.remove('not-responding');
413
+ statusBadge.innerHTML = '<i class="fas fa-check-circle mr-1"></i> Connected';
414
+ statusBadge.className = 'status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800';
415
+ responseTime.textContent = (Math.floor(Math.random() * 500) + 100) + 'ms';
416
+
417
+ // Update status alert if all fixed
418
+ if (document.querySelectorAll('.not-responding').length === 0) {
419
+ document.getElementById('statusAlert').classList.add('hidden');
420
+ }
421
+ } else {
422
+ statusBadge.innerHTML = '<i class="fas fa-exclamation-triangle mr-1"></i> Not Responding';
423
+ statusBadge.className = 'status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800 pulse';
424
+ responseTime.textContent = 'Timeout';
425
+ }
426
+ } else {
427
+ // For working connections, just update response time
428
+ statusBadge.innerHTML = '<i class="fas fa-check-circle mr-1"></i> Connected';
429
+ statusBadge.className = 'status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800';
430
+ responseTime.textContent = (Math.floor(Math.random() * 500) + 100) + 'ms';
431
+ }
432
+ }, 1000);
433
  });
434
+ });
435
+
436
+ // Test all connections
437
+ document.getElementById('testAllConnections').addEventListener('click', function() {
438
+ const btn = this;
439
+ const originalText = btn.innerHTML;
440
+
441
+ // Show loading state
442
+ btn.innerHTML = '<i class="fas fa-sync-alt fa-spin mr-2"></i> Testing All...';
443
+ btn.disabled = true;
444
+
445
+ // Test each connection
446
+ const testButtons = document.querySelectorAll('.connection-test-btn');
447
+ let testsCompleted = 0;
448
+
449
+ testButtons.forEach(testBtn => {
450
+ testBtn.click();
451
+ testsCompleted++;
452
+
453
+ if (testsCompleted === testButtons.length) {
454
+ setTimeout(() => {
455
+ btn.innerHTML = originalText;
456
+ btn.disabled = false;
457
+
458
+ // Check if any modules are still not responding
459
+ const notRespondingModules = document.querySelectorAll('.not-responding');
460
+ if (notRespondingModules.length > 0) {
461
+ document.getElementById('statusAlert').classList.remove('hidden');
462
+ } else {
463
+ document.getElementById('statusAlert').classList.add('hidden');
464
+ }
465
+ }, 1500);
466
+ }
467
+ });
468
+ });
469
+
470
+ // Refresh all connections
471
+ document.getElementById('refreshAllBtn').addEventListener('click', function() {
472
+ const notRespondingModules = document.querySelectorAll('.not-responding');
473
+
474
+ notRespondingModules.forEach(module => {
475
+ const statusBadge = module.querySelector('.status-badge');
476
+ const responseTime = module.querySelector('td:nth-child(4) span');
477
+
478
+ // Show refreshing state
479
+ statusBadge.innerHTML = '<i class="fas fa-sync-alt fa-spin mr-1"></i> Refreshing...';
480
+ statusBadge.className = 'status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800';
481
+
482
+ // Simulate refresh with 70% success rate
483
+ setTimeout(() => {
484
+ if (Math.random() < 0.7) {
485
+ module.classList.remove('not-responding');
486
+ statusBadge.innerHTML = '<i class="fas fa-check-circle mr-1"></i> Connected';
487
+ statusBadge.className = 'status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800';
488
+ responseTime.textContent = (Math.floor(Math.random() * 500) + 100) + 'ms';
489
+
490
+ // Update status alert if all fixed
491
+ if (document.querySelectorAll('.not-responding').length === 0) {
492
+ document.getElementById('statusAlert').classList.add('hidden');
493
+ }
494
+ } else {
495
+ statusBadge.innerHTML = '<i class="fas fa-exclamation-triangle mr-1"></i> Not Responding';
496
+ statusBadge.className = 'status-badge px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800 pulse';
497
+ responseTime.textContent = 'Timeout';
498
+ }
499
+ }, 1500);
500
+ });
501
+ });
502
  </script>
503
  <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - <a href="https://enzostvs-deepsite.hf.space?remix=abdelhak66/customer-support" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
504
  </html>