Add 2 files
Browse files- index.html +361 -455
- prompts.txt +2 -1
index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>AI Army - Website
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<style>
|
|
@@ -39,6 +39,18 @@
|
|
| 39 |
transform: translateY(-5px);
|
| 40 |
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
| 41 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
</style>
|
| 43 |
</head>
|
| 44 |
<body class="bg-gray-900 text-gray-100 min-h-screen">
|
|
@@ -54,8 +66,8 @@
|
|
| 54 |
<nav>
|
| 55 |
<ul class="flex space-x-6">
|
| 56 |
<li><a href="#" class="hover:text-blue-400 transition">Dashboard</a></li>
|
| 57 |
-
<li><a href="#" class="hover:text-blue-400 transition">
|
| 58 |
-
<li><a href="#" class="hover:text-blue-400 transition">
|
| 59 |
<li><a href="#" class="hover:text-blue-400 transition">Settings</a></li>
|
| 60 |
</ul>
|
| 61 |
</nav>
|
|
@@ -64,142 +76,126 @@
|
|
| 64 |
|
| 65 |
<!-- Main Content -->
|
| 66 |
<main class="container mx-auto py-8 px-4">
|
| 67 |
-
<!--
|
| 68 |
-
<section class="mb-12">
|
| 69 |
-
<div class="grid grid-cols-1 md:grid-cols-4 gap-6">
|
| 70 |
-
<div class="bg-gray-800 p-6 rounded-xl shadow-lg">
|
| 71 |
-
<div class="flex justify-between items-center">
|
| 72 |
-
<div>
|
| 73 |
-
<p class="text-gray-400">Total Soldiers</p>
|
| 74 |
-
<h3 class="text-3xl font-bold">10,000</h3>
|
| 75 |
-
</div>
|
| 76 |
-
<div class="bg-blue-500 p-3 rounded-full">
|
| 77 |
-
<i class="fas fa-robot text-xl"></i>
|
| 78 |
-
</div>
|
| 79 |
-
</div>
|
| 80 |
-
</div>
|
| 81 |
-
<div class="bg-gray-800 p-6 rounded-xl shadow-lg">
|
| 82 |
-
<div class="flex justify-between items-center">
|
| 83 |
-
<div>
|
| 84 |
-
<p class="text-gray-400">Active Missions</p>
|
| 85 |
-
<h3 class="text-3xl font-bold">1,247</h3>
|
| 86 |
-
</div>
|
| 87 |
-
<div class="bg-green-500 p-3 rounded-full">
|
| 88 |
-
<i class="fas fa-bolt text-xl"></i>
|
| 89 |
-
</div>
|
| 90 |
-
</div>
|
| 91 |
-
</div>
|
| 92 |
-
<div class="bg-gray-800 p-6 rounded-xl shadow-lg">
|
| 93 |
-
<div class="flex justify-between items-center">
|
| 94 |
-
<div>
|
| 95 |
-
<p class="text-gray-400">Sites Fixed</p>
|
| 96 |
-
<h3 class="text-3xl font-bold">8,562</h3>
|
| 97 |
-
</div>
|
| 98 |
-
<div class="bg-purple-500 p-3 rounded-full">
|
| 99 |
-
<i class="fas fa-check-circle text-xl"></i>
|
| 100 |
-
</div>
|
| 101 |
-
</div>
|
| 102 |
-
</div>
|
| 103 |
-
<div class="bg-gray-800 p-6 rounded-xl shadow-lg">
|
| 104 |
-
<div class="flex justify-between items-center">
|
| 105 |
-
<div>
|
| 106 |
-
<p class="text-gray-400">Errors Fixed</p>
|
| 107 |
-
<h3 class="text-3xl font-bold">1.2M</h3>
|
| 108 |
-
</div>
|
| 109 |
-
<div class="bg-yellow-500 p-3 rounded-full">
|
| 110 |
-
<i class="fas fa-bug text-xl"></i>
|
| 111 |
-
</div>
|
| 112 |
-
</div>
|
| 113 |
-
</div>
|
| 114 |
-
</div>
|
| 115 |
-
</section>
|
| 116 |
-
|
| 117 |
-
<!-- Mission Control -->
|
| 118 |
<section class="mb-12">
|
| 119 |
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
|
| 120 |
<div class="p-6 border-b border-gray-700">
|
| 121 |
<h2 class="text-xl font-bold flex items-center">
|
| 122 |
-
<i class="fas fa-
|
| 123 |
-
|
| 124 |
</h2>
|
| 125 |
</div>
|
| 126 |
<div class="p-6">
|
| 127 |
-
<div class="grid grid-cols-1 lg:grid-cols-
|
| 128 |
-
<!--
|
| 129 |
-
<div
|
|
|
|
| 130 |
<div class="mb-6">
|
| 131 |
-
<
|
| 132 |
-
<
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
<
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
<
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
|
|
|
| 143 |
</button>
|
| 144 |
</div>
|
|
|
|
| 145 |
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
|
| 151 |
-
<
|
| 152 |
-
|
| 153 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
</div>
|
| 155 |
</div>
|
| 156 |
|
| 157 |
-
<!--
|
| 158 |
-
<div
|
| 159 |
-
<
|
| 160 |
-
<div class="
|
| 161 |
-
<
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 165 |
</div>
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
<
|
| 171 |
-
|
| 172 |
-
<
|
| 173 |
</div>
|
| 174 |
-
<
|
| 175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 176 |
</button>
|
| 177 |
</div>
|
| 178 |
</div>
|
| 179 |
</div>
|
| 180 |
|
| 181 |
-
<!--
|
| 182 |
<div>
|
| 183 |
-
<h3 class="text-lg font-semibold mb-4">
|
| 184 |
-
<div class="bg-gray-700 rounded-lg p-
|
| 185 |
-
<div class="
|
| 186 |
-
|
| 187 |
-
|
| 188 |
-
|
| 189 |
-
|
| 190 |
-
|
| 191 |
-
|
|
|
|
|
|
|
| 192 |
</div>
|
| 193 |
-
<div class="flex
|
| 194 |
-
<
|
| 195 |
-
|
| 196 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 197 |
</div>
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
</div>
|
| 204 |
</div>
|
| 205 |
</div>
|
|
@@ -209,84 +205,91 @@
|
|
| 209 |
</div>
|
| 210 |
</section>
|
| 211 |
|
| 212 |
-
<!--
|
| 213 |
<section class="mb-12">
|
| 214 |
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
|
| 215 |
<div class="p-6 border-b border-gray-700">
|
| 216 |
<h2 class="text-xl font-bold flex items-center">
|
| 217 |
-
<i class="fas fa-chart-
|
| 218 |
-
|
| 219 |
</h2>
|
| 220 |
</div>
|
| 221 |
<div class="p-6">
|
| 222 |
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 223 |
-
<!--
|
| 224 |
<div class="lg:col-span-2">
|
| 225 |
-
<h3 class="text-lg font-semibold mb-4">
|
| 226 |
-
<div class="bg-gray-700 rounded-lg p-
|
| 227 |
-
<div class="
|
| 228 |
<div>
|
| 229 |
-
<
|
| 230 |
-
<
|
| 231 |
</div>
|
| 232 |
<div>
|
| 233 |
-
<
|
| 234 |
-
<
|
| 235 |
</div>
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
|
|
|
|
|
|
| 239 |
</div>
|
| 240 |
-
<div>
|
| 241 |
-
<
|
| 242 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 243 |
</div>
|
| 244 |
</div>
|
| 245 |
-
<
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
<tr>
|
| 249 |
-
<th class="text-left pb-2">Type</th>
|
| 250 |
-
<th class="text-left pb-2">File</th>
|
| 251 |
-
<th class="text-left pb-2">Description</th>
|
| 252 |
-
<th class="text-right pb-2">Line</th>
|
| 253 |
-
</tr>
|
| 254 |
-
</thead>
|
| 255 |
-
<tbody id="issuesList">
|
| 256 |
-
<!-- Issues will be added here by JavaScript -->
|
| 257 |
-
<tr>
|
| 258 |
-
<td colspan="4" class="text-center py-8 text-gray-500">No issues detected yet</td>
|
| 259 |
-
</tr>
|
| 260 |
-
</tbody>
|
| 261 |
-
</table>
|
| 262 |
-
</div>
|
| 263 |
</div>
|
| 264 |
</div>
|
| 265 |
|
| 266 |
-
<!--
|
| 267 |
<div>
|
| 268 |
-
<h3 class="text-lg font-semibold mb-4">
|
| 269 |
-
<div class="bg-gray-700 rounded-lg p-
|
| 270 |
-
<div class="
|
| 271 |
-
<
|
| 272 |
-
|
| 273 |
-
|
|
|
|
|
|
|
|
|
|
| 274 |
</div>
|
| 275 |
-
<div>
|
| 276 |
-
<
|
| 277 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 278 |
</div>
|
| 279 |
-
</div>
|
| 280 |
-
<div class="code-container p-4 mb-4">
|
| 281 |
-
<pre id="codePreview" class="text-gray-300 overflow-auto max-h-64">Select an issue to preview the fix</pre>
|
| 282 |
-
</div>
|
| 283 |
-
<div class="flex space-x-3">
|
| 284 |
-
<button class="bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition flex-1">
|
| 285 |
-
Apply Fix
|
| 286 |
-
</button>
|
| 287 |
-
<button class="bg-gray-600 hover:bg-gray-500 text-white py-2 px-4 rounded-lg transition">
|
| 288 |
-
<i class="fas fa-copy"></i>
|
| 289 |
-
</button>
|
| 290 |
</div>
|
| 291 |
</div>
|
| 292 |
</div>
|
|
@@ -295,146 +298,112 @@
|
|
| 295 |
</div>
|
| 296 |
</section>
|
| 297 |
|
| 298 |
-
<!-- Army
|
| 299 |
-
<section>
|
| 300 |
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
|
| 301 |
<div class="p-6 border-b border-gray-700">
|
| 302 |
<h2 class="text-xl font-bold flex items-center">
|
| 303 |
-
<i class="fas fa-
|
| 304 |
-
AI Army
|
| 305 |
</h2>
|
| 306 |
</div>
|
| 307 |
<div class="p-6">
|
| 308 |
-
<div class="grid grid-cols-1
|
| 309 |
-
<!--
|
| 310 |
-
<div class="
|
| 311 |
-
<
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
<
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
<div class="w-full bg-gray-600 rounded-full h-2">
|
| 332 |
-
<div class="bg-blue-500 h-2 rounded-full" style="width: 87%"></div>
|
| 333 |
-
</div>
|
| 334 |
-
</div>
|
| 335 |
-
|
| 336 |
-
<div class="soldier-card bg-gray-700 rounded-lg p-4 transition duration-300">
|
| 337 |
-
<div class="flex items-center mb-3">
|
| 338 |
-
<div class="bg-purple-500 p-2 rounded-full mr-3">
|
| 339 |
-
<i class="fas fa-robot"></i>
|
| 340 |
-
</div>
|
| 341 |
-
<h3 class="font-semibold">CSS Optimizer</h3>
|
| 342 |
-
</div>
|
| 343 |
-
<div class="text-sm text-gray-400 mb-3">
|
| 344 |
-
<div class="flex justify-between mb-1">
|
| 345 |
-
<span>Missions:</span>
|
| 346 |
-
<span class="text-white">982</span>
|
| 347 |
-
</div>
|
| 348 |
-
<div class="flex justify-between mb-1">
|
| 349 |
-
<span>Success Rate:</span>
|
| 350 |
-
<span class="text-green-400">97.2%</span>
|
| 351 |
-
</div>
|
| 352 |
-
<div class="flex justify-between">
|
| 353 |
-
<span>Status:</span>
|
| 354 |
-
<span class="text-blue-400">Active</span>
|
| 355 |
-
</div>
|
| 356 |
-
</div>
|
| 357 |
-
<div class="w-full bg-gray-600 rounded-full h-2">
|
| 358 |
-
<div class="bg-purple-500 h-2 rounded-full" style="width: 92%"></div>
|
| 359 |
-
</div>
|
| 360 |
-
</div>
|
| 361 |
-
|
| 362 |
-
<div class="soldier-card bg-gray-700 rounded-lg p-4 transition duration-300">
|
| 363 |
-
<div class="flex items-center mb-3">
|
| 364 |
-
<div class="bg-green-500 p-2 rounded-full mr-3">
|
| 365 |
-
<i class="fas fa-robot"></i>
|
| 366 |
-
</div>
|
| 367 |
-
<h3 class="font-semibold">JS Debugger</h3>
|
| 368 |
-
</div>
|
| 369 |
-
<div class="text-sm text-gray-400 mb-3">
|
| 370 |
-
<div class="flex justify-between mb-1">
|
| 371 |
-
<span>Missions:</span>
|
| 372 |
-
<span class="text-white">1,563</span>
|
| 373 |
</div>
|
| 374 |
-
<div class="
|
| 375 |
-
<
|
| 376 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 377 |
</div>
|
| 378 |
-
<div class="flex
|
| 379 |
-
<
|
| 380 |
-
<
|
| 381 |
</div>
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
</div>
|
| 386 |
</div>
|
| 387 |
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
</div>
|
| 395 |
-
<div class="text-sm text-gray-400 mb-3">
|
| 396 |
-
<div class="flex justify-between mb-1">
|
| 397 |
-
<span>Missions:</span>
|
| 398 |
-
<span class="text-white">876</span>
|
| 399 |
-
</div>
|
| 400 |
-
<div class="flex justify-between mb-1">
|
| 401 |
-
<span>Success Rate:</span>
|
| 402 |
-
<span class="text-green-400">96.3%</span>
|
| 403 |
-
</div>
|
| 404 |
-
<div class="flex justify-between">
|
| 405 |
-
<span>Status:</span>
|
| 406 |
-
<span class="text-blue-400">Active</span>
|
| 407 |
-
</div>
|
| 408 |
-
</div>
|
| 409 |
-
<div class="w-full bg-gray-600 rounded-full h-2">
|
| 410 |
-
<div class="bg-yellow-500 h-2 rounded-full" style="width: 85%"></div>
|
| 411 |
-
</div>
|
| 412 |
-
</div>
|
| 413 |
-
|
| 414 |
-
<div class="soldier-card bg-gray-700 rounded-lg p-4 transition duration-300">
|
| 415 |
-
<div class="flex items-center mb-3">
|
| 416 |
-
<div class="bg-red-500 p-2 rounded-full mr-3">
|
| 417 |
-
<i class="fas fa-robot"></i>
|
| 418 |
-
</div>
|
| 419 |
-
<h3 class="font-semibold">Security Expert</h3>
|
| 420 |
-
</div>
|
| 421 |
-
<div class="text-sm text-gray-400 mb-3">
|
| 422 |
-
<div class="flex justify-between mb-1">
|
| 423 |
-
<span>Missions:</span>
|
| 424 |
-
<span class="text-white">1,042</span>
|
| 425 |
</div>
|
| 426 |
-
<div class="
|
| 427 |
-
<
|
| 428 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 429 |
</div>
|
| 430 |
-
<div class="
|
| 431 |
-
<
|
| 432 |
-
<
|
|
|
|
|
|
|
| 433 |
</div>
|
| 434 |
</div>
|
| 435 |
-
<div class="w-full bg-gray-600 rounded-full h-2">
|
| 436 |
-
<div class="bg-red-500 h-2 rounded-full" style="width: 91%"></div>
|
| 437 |
-
</div>
|
| 438 |
</div>
|
| 439 |
</div>
|
| 440 |
</div>
|
|
@@ -453,7 +422,7 @@
|
|
| 453 |
</div>
|
| 454 |
<span class="font-bold">AI Army</span>
|
| 455 |
</div>
|
| 456 |
-
<p class="text-sm text-gray-400 mt-2">
|
| 457 |
</div>
|
| 458 |
<div class="flex space-x-6">
|
| 459 |
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-github"></i></a>
|
|
@@ -469,39 +438,10 @@
|
|
| 469 |
</footer>
|
| 470 |
|
| 471 |
<script>
|
| 472 |
-
//
|
| 473 |
-
document.getElementById('urlBtn').addEventListener('click', function() {
|
| 474 |
-
document.getElementById('urlInput').classList.remove('hidden');
|
| 475 |
-
document.getElementById('zipInput').classList.add('hidden');
|
| 476 |
-
document.getElementById('codeInput').classList.add('hidden');
|
| 477 |
-
this.classList.add('glow');
|
| 478 |
-
document.getElementById('zipBtn').classList.remove('glow');
|
| 479 |
-
document.getElementById('codeBtn').classList.remove('glow');
|
| 480 |
-
});
|
| 481 |
-
|
| 482 |
-
document.getElementById('zipBtn').addEventListener('click', function() {
|
| 483 |
-
document.getElementById('urlInput').classList.add('hidden');
|
| 484 |
-
document.getElementById('zipInput').classList.remove('hidden');
|
| 485 |
-
document.getElementById('codeInput').classList.add('hidden');
|
| 486 |
-
this.classList.add('glow');
|
| 487 |
-
document.getElementById('urlBtn').classList.remove('glow');
|
| 488 |
-
document.getElementById('codeBtn').classList.remove('glow');
|
| 489 |
-
});
|
| 490 |
-
|
| 491 |
-
document.getElementById('codeBtn').addEventListener('click', function() {
|
| 492 |
-
document.getElementById('urlInput').classList.add('hidden');
|
| 493 |
-
document.getElementById('zipInput').classList.add('hidden');
|
| 494 |
-
document.getElementById('codeInput').classList.remove('hidden');
|
| 495 |
-
this.classList.add('glow');
|
| 496 |
-
document.getElementById('urlBtn').classList.remove('glow');
|
| 497 |
-
document.getElementById('zipBtn').classList.remove('glow');
|
| 498 |
-
});
|
| 499 |
-
|
| 500 |
-
// Create soldier grid visualization
|
| 501 |
const soldierGrid = document.getElementById('soldierGrid');
|
| 502 |
-
const totalSoldiers = 100;
|
| 503 |
-
|
| 504 |
-
|
| 505 |
for (let i = 0; i < totalSoldiers; i++) {
|
| 506 |
const soldier = document.createElement('div');
|
| 507 |
soldier.className = 'w-2 h-2 rounded-full bg-gray-600';
|
|
@@ -510,13 +450,65 @@
|
|
| 510 |
soldierGrid.appendChild(soldier);
|
| 511 |
}
|
| 512 |
|
| 513 |
-
//
|
| 514 |
-
function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 515 |
let deployed = 0;
|
| 516 |
const soldiers = document.querySelectorAll('#soldierGrid div');
|
| 517 |
const progressBar = document.getElementById('deploymentProgress');
|
| 518 |
const missionStatus = document.getElementById('missionStatus');
|
| 519 |
|
|
|
|
| 520 |
missionStatus.textContent = "Initializing deployment sequence...";
|
| 521 |
|
| 522 |
const deploymentInterval = setInterval(() => {
|
|
@@ -548,136 +540,50 @@
|
|
| 548 |
} else {
|
| 549 |
clearInterval(deploymentInterval);
|
| 550 |
missionStatus.textContent = "Mission complete! 10,000 AI soldiers deployed and analysis finished.";
|
| 551 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 552 |
}
|
| 553 |
}, 100);
|
| 554 |
-
}
|
| 555 |
-
|
| 556 |
-
// Simulate analysis results
|
| 557 |
-
function simulateAnalysisResults() {
|
| 558 |
-
// Update issue counters
|
| 559 |
-
document.getElementById('totalIssues').textContent = '247';
|
| 560 |
-
document.getElementById('criticalIssues').textContent = '18';
|
| 561 |
-
document.getElementById('warningIssues').textContent = '92';
|
| 562 |
-
document.getElementById('suggestionIssues').textContent = '137';
|
| 563 |
-
|
| 564 |
-
// Add sample issues to the table
|
| 565 |
-
const issuesList = document.getElementById('issuesList');
|
| 566 |
-
issuesList.innerHTML = '';
|
| 567 |
-
|
| 568 |
-
const sampleIssues = [
|
| 569 |
-
{ type: 'Critical', file: 'index.html', description: 'Missing viewport meta tag', line: 5 },
|
| 570 |
-
{ type: 'Warning', file: 'styles.css', description: 'Unused CSS selector', line: 42 },
|
| 571 |
-
{ type: 'Suggestion', file: 'script.js', description: 'console.log() left in production code', line: 87 },
|
| 572 |
-
{ type: 'Critical', file: 'contact.html', description: 'Form without CSRF protection', line: 32 },
|
| 573 |
-
{ type: 'Warning', file: 'styles.css', description: 'Color contrast too low for accessibility', line: 156 },
|
| 574 |
-
{ type: 'Suggestion', file: 'index.html', description: 'Missing alt attributes on images', line: 28 },
|
| 575 |
-
{ type: 'Critical', file: 'script.js', description: 'jQuery version has known vulnerabilities', line: 1 },
|
| 576 |
-
{ type: 'Warning', file: 'products.html', description: 'Lazy loading not implemented for images', line: 64 }
|
| 577 |
-
];
|
| 578 |
-
|
| 579 |
-
sampleIssues.forEach(issue => {
|
| 580 |
-
const row = document.createElement('tr');
|
| 581 |
-
row.className = 'border-b border-gray-600 hover:bg-gray-600 cursor-pointer';
|
| 582 |
-
row.innerHTML = `
|
| 583 |
-
<td class="py-3 ${issue.type === 'Critical' ? 'text-red-400' : issue.type === 'Warning' ? 'text-yellow-400' : 'text-blue-400'}">${issue.type}</td>
|
| 584 |
-
<td class="py-3">${issue.file}</td>
|
| 585 |
-
<td class="py-3">${issue.description}</td>
|
| 586 |
-
<td class="py-3 text-right">${issue.line}</td>
|
| 587 |
-
`;
|
| 588 |
-
|
| 589 |
-
// Add click event to show code preview
|
| 590 |
-
row.addEventListener('click', function() {
|
| 591 |
-
document.getElementById('currentFile').textContent = issue.file;
|
| 592 |
-
document.getElementById('fixedIssues').textContent = `3/${sampleIssues.length}`;
|
| 593 |
-
|
| 594 |
-
// Show sample fixed code
|
| 595 |
-
const codePreview = document.getElementById('codePreview');
|
| 596 |
-
if (issue.file.endsWith('.html')) {
|
| 597 |
-
codePreview.innerHTML = highlightHTML(`<div class="container">
|
| 598 |
-
<header>
|
| 599 |
-
<h1>Fixed ${issue.file}</h1>
|
| 600 |
-
</header>
|
| 601 |
-
<main>
|
| 602 |
-
<!-- ${issue.description} has been fixed -->
|
| 603 |
-
<img src="logo.png" alt="Company Logo">
|
| 604 |
-
</main>
|
| 605 |
-
</div>`);
|
| 606 |
-
} else if (issue.file.endsWith('.css')) {
|
| 607 |
-
codePreview.innerHTML = highlightCSS(`/* Fixed ${issue.file} */
|
| 608 |
-
.container {
|
| 609 |
-
max-width: 1200px;
|
| 610 |
-
margin: 0 auto;
|
| 611 |
-
padding: 20px;
|
| 612 |
-
}
|
| 613 |
|
| 614 |
-
|
| 615 |
-
.
|
| 616 |
-
|
| 617 |
-
|
| 618 |
-
|
| 619 |
-
|
| 620 |
-
|
| 621 |
-
|
| 622 |
-
// ${issue.description} has been resolved
|
| 623 |
-
const buttons = document.querySelectorAll('.btn');
|
| 624 |
-
|
| 625 |
-
buttons.forEach(button => {
|
| 626 |
-
button.addEventListener('click', handleClick);
|
| 627 |
-
});
|
| 628 |
-
|
| 629 |
-
function handleClick(e) {
|
| 630 |
-
// New secure implementation
|
| 631 |
-
e.preventDefault();
|
| 632 |
-
// ...
|
| 633 |
-
}
|
| 634 |
-
});`);
|
| 635 |
-
}
|
| 636 |
-
});
|
| 637 |
|
| 638 |
-
|
| 639 |
-
|
| 640 |
-
|
| 641 |
-
|
| 642 |
-
|
| 643 |
-
|
| 644 |
-
|
| 645 |
-
|
| 646 |
-
|
| 647 |
-
|
| 648 |
-
|
| 649 |
-
|
| 650 |
-
|
| 651 |
-
function highlightCSS(code) {
|
| 652 |
-
return code.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>')
|
| 653 |
-
.replace(/(\/\*.*?\*\/)/g, '<span class="text-gray-500">$1</span>')
|
| 654 |
-
.replace(/([{}:;])/g, '<span class="text-purple-400">$1</span>')
|
| 655 |
-
.replace(/([@][a-z-]+)/g, '<span class="text-green-400">$1</span>')
|
| 656 |
-
.replace(/([a-z-]+)(?=:)/g, '<span class="text-blue-400">$1</span>')
|
| 657 |
-
.replace(/(#[a-f0-9]{3,6}|rgb[a]?\([^)]+\)|[a-z]+\b)(?=[;}])/g, '<span class="text-yellow-300">$1</span>');
|
| 658 |
-
}
|
| 659 |
-
|
| 660 |
-
function highlightJS(code) {
|
| 661 |
-
return code.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>')
|
| 662 |
-
.replace(/(\/\/.*$)/gm, '<span class="text-gray-500">$1</span>')
|
| 663 |
-
.replace(/(\b(function|return|const|let|var|if|else|for|while|do|switch|case|break|continue|try|catch|finally|throw|new|this|class|extends|super|import|export|default|async|await|static)\b)/g, '<span class="text-purple-400">$1</span>')
|
| 664 |
-
.replace(/(["'].*?["'])/g, '<span class="text-yellow-300">$1</span>')
|
| 665 |
-
.replace(/(\b(document|window|console|Array|Object|String|Number|Boolean|Date|Math|JSON|Promise|fetch)\b)/g, '<span class="text-blue-400">$1</span>')
|
| 666 |
-
.replace(/([{}()[\];,.=+-\/*%<>!&|?:])/g, '<span class="text-gray-400">$1</span>');
|
| 667 |
-
}
|
| 668 |
-
|
| 669 |
-
// Start deployment when URL is submitted
|
| 670 |
-
document.querySelector('#urlInput button').addEventListener('click', deploySoldiers);
|
| 671 |
-
document.querySelector('#zipInput .upload-area').addEventListener('click', function() {
|
| 672 |
-
this.querySelector('input').click();
|
| 673 |
-
});
|
| 674 |
-
document.querySelector('#zipInput input').addEventListener('change', function() {
|
| 675 |
-
if (this.files.length > 0) {
|
| 676 |
-
document.querySelector('#zipInput .upload-area p:first-child').textContent = this.files[0].name;
|
| 677 |
-
deploySoldiers();
|
| 678 |
}
|
| 679 |
-
});
|
| 680 |
-
document.querySelector('#codeInput button').addEventListener('click', deploySoldiers);
|
| 681 |
</script>
|
| 682 |
<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=docto41/corriger-et-modifier-code" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 683 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>AI Army - Complete Website Automation</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
<style>
|
|
|
|
| 39 |
transform: translateY(-5px);
|
| 40 |
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
| 41 |
}
|
| 42 |
+
.domain-check {
|
| 43 |
+
transition: all 0.3s;
|
| 44 |
+
}
|
| 45 |
+
.domain-check:hover {
|
| 46 |
+
transform: scale(1.02);
|
| 47 |
+
}
|
| 48 |
+
.seo-score {
|
| 49 |
+
transition: all 0.3s;
|
| 50 |
+
}
|
| 51 |
+
.seo-score:hover {
|
| 52 |
+
transform: scale(1.05);
|
| 53 |
+
}
|
| 54 |
</style>
|
| 55 |
</head>
|
| 56 |
<body class="bg-gray-900 text-gray-100 min-h-screen">
|
|
|
|
| 66 |
<nav>
|
| 67 |
<ul class="flex space-x-6">
|
| 68 |
<li><a href="#" class="hover:text-blue-400 transition">Dashboard</a></li>
|
| 69 |
+
<li><a href="#" class="hover:text-blue-400 transition">Domain Manager</a></li>
|
| 70 |
+
<li><a href="#" class="hover:text-blue-400 transition">SEO Center</a></li>
|
| 71 |
<li><a href="#" class="hover:text-blue-400 transition">Settings</a></li>
|
| 72 |
</ul>
|
| 73 |
</nav>
|
|
|
|
| 76 |
|
| 77 |
<!-- Main Content -->
|
| 78 |
<main class="container mx-auto py-8 px-4">
|
| 79 |
+
<!-- Domain Registration Section -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
<section class="mb-12">
|
| 81 |
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
|
| 82 |
<div class="p-6 border-b border-gray-700">
|
| 83 |
<h2 class="text-xl font-bold flex items-center">
|
| 84 |
+
<i class="fas fa-globe mr-3 text-blue-400"></i>
|
| 85 |
+
Domain Registration & SSL Automation
|
| 86 |
</h2>
|
| 87 |
</div>
|
| 88 |
<div class="p-6">
|
| 89 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
| 90 |
+
<!-- Domain Search -->
|
| 91 |
+
<div>
|
| 92 |
+
<h3 class="text-lg font-semibold mb-4">Register New Domain</h3>
|
| 93 |
<div class="mb-6">
|
| 94 |
+
<label class="block text-gray-400 mb-2">Choose Your Domain</label>
|
| 95 |
+
<div class="flex">
|
| 96 |
+
<input type="text" id="domainInput" placeholder="yourdomain" class="bg-gray-700 text-white p-3 rounded-l-lg flex-grow focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 97 |
+
<select id="domainExtension" class="bg-gray-700 text-white p-3 border-l border-gray-600 focus:outline-none">
|
| 98 |
+
<option>.com</option>
|
| 99 |
+
<option>.net</option>
|
| 100 |
+
<option>.org</option>
|
| 101 |
+
<option>.io</option>
|
| 102 |
+
<option>.ai</option>
|
| 103 |
+
<option>.dev</option>
|
| 104 |
+
</select>
|
| 105 |
+
<button id="checkDomain" class="bg-blue-600 hover:bg-blue-700 text-white py-3 px-6 rounded-r-lg transition">
|
| 106 |
+
Check
|
| 107 |
</button>
|
| 108 |
</div>
|
| 109 |
+
</div>
|
| 110 |
|
| 111 |
+
<!-- Domain Results -->
|
| 112 |
+
<div id="domainResults" class="hidden">
|
| 113 |
+
<h4 class="text-gray-400 mb-3">Available Domains</h4>
|
| 114 |
+
<div class="space-y-3">
|
| 115 |
+
<div class="domain-check bg-gray-700 p-4 rounded-lg flex justify-between items-center">
|
| 116 |
+
<div>
|
| 117 |
+
<span class="font-bold" id="selectedDomain">example.com</span>
|
| 118 |
+
<span class="text-green-400 text-sm ml-2">Available</span>
|
| 119 |
+
</div>
|
| 120 |
+
<div class="text-right">
|
| 121 |
+
<span class="text-gray-400 text-sm line-through mr-2">$12.99</span>
|
| 122 |
+
<span class="font-bold">$9.99/yr</span>
|
| 123 |
+
</div>
|
| 124 |
</div>
|
| 125 |
</div>
|
| 126 |
|
| 127 |
+
<!-- Registration Form -->
|
| 128 |
+
<div class="mt-6">
|
| 129 |
+
<h4 class="text-gray-400 mb-3">Registration Details</h4>
|
| 130 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
|
| 131 |
+
<div>
|
| 132 |
+
<label class="block text-gray-400 text-sm mb-1">First Name</label>
|
| 133 |
+
<input type="text" class="w-full bg-gray-700 text-white p-2 rounded focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 134 |
+
</div>
|
| 135 |
+
<div>
|
| 136 |
+
<label class="block text-gray-400 text-sm mb-1">Last Name</label>
|
| 137 |
+
<input type="text" class="w-full bg-gray-700 text-white p-2 rounded focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 138 |
+
</div>
|
| 139 |
</div>
|
| 140 |
+
<div class="mb-4">
|
| 141 |
+
<label class="block text-gray-400 text-sm mb-1">Email</label>
|
| 142 |
+
<input type="email" class="w-full bg-gray-700 text-white p-2 rounded focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 143 |
+
</div>
|
| 144 |
+
<div class="flex items-center mb-6">
|
| 145 |
+
<input type="checkbox" id="autoSSL" class="mr-2" checked>
|
| 146 |
+
<label for="autoSSL" class="text-gray-400 text-sm">Automatically configure SSL certificate</label>
|
| 147 |
</div>
|
| 148 |
+
<div class="flex items-center mb-6">
|
| 149 |
+
<input type="checkbox" id="autoDNS" class="mr-2" checked>
|
| 150 |
+
<label for="autoDNS" class="text-gray-400 text-sm">Automatically configure DNS records</label>
|
| 151 |
+
</div>
|
| 152 |
+
<button id="registerDomain" class="w-full bg-green-600 hover:bg-green-700 text-white py-3 px-6 rounded-lg transition">
|
| 153 |
+
Register Domain & Deploy AI Army
|
| 154 |
</button>
|
| 155 |
</div>
|
| 156 |
</div>
|
| 157 |
</div>
|
| 158 |
|
| 159 |
+
<!-- Domain Features -->
|
| 160 |
<div>
|
| 161 |
+
<h3 class="text-lg font-semibold mb-4">Automated Domain Features</h3>
|
| 162 |
+
<div class="bg-gray-700 rounded-lg p-6 h-full">
|
| 163 |
+
<div class="space-y-4">
|
| 164 |
+
<div class="flex items-start">
|
| 165 |
+
<div class="bg-blue-500 p-2 rounded-full mr-3 mt-1">
|
| 166 |
+
<i class="fas fa-lock"></i>
|
| 167 |
+
</div>
|
| 168 |
+
<div>
|
| 169 |
+
<h4 class="font-semibold">Instant SSL Certificate</h4>
|
| 170 |
+
<p class="text-gray-400 text-sm">Free Let's Encrypt SSL automatically configured for your domain with auto-renewal.</p>
|
| 171 |
+
</div>
|
| 172 |
</div>
|
| 173 |
+
<div class="flex items-start">
|
| 174 |
+
<div class="bg-purple-500 p-2 rounded-full mr-3 mt-1">
|
| 175 |
+
<i class="fas fa-server"></i>
|
| 176 |
+
</div>
|
| 177 |
+
<div>
|
| 178 |
+
<h4 class="font-semibold">Smart DNS Configuration</h4>
|
| 179 |
+
<p class="text-gray-400 text-sm">Automatic DNS setup with optimized records for performance and security.</p>
|
| 180 |
+
</div>
|
| 181 |
</div>
|
| 182 |
+
<div class="flex items-start">
|
| 183 |
+
<div class="bg-green-500 p-2 rounded-full mr-3 mt-1">
|
| 184 |
+
<i class="fas fa-shield-alt"></i>
|
| 185 |
+
</div>
|
| 186 |
+
<div>
|
| 187 |
+
<h4 class="font-semibold">Security Hardening</h4>
|
| 188 |
+
<p class="text-gray-400 text-sm">Automatic security headers, DDoS protection, and firewall rules applied.</p>
|
| 189 |
+
</div>
|
| 190 |
+
</div>
|
| 191 |
+
<div class="flex items-start">
|
| 192 |
+
<div class="bg-yellow-500 p-2 rounded-full mr-3 mt-1">
|
| 193 |
+
<i class="fas fa-tachometer-alt"></i>
|
| 194 |
+
</div>
|
| 195 |
+
<div>
|
| 196 |
+
<h4 class="font-semibold">Global CDN</h4>
|
| 197 |
+
<p class="text-gray-400 text-sm">Content Delivery Network automatically configured for fast global loading.</p>
|
| 198 |
+
</div>
|
| 199 |
</div>
|
| 200 |
</div>
|
| 201 |
</div>
|
|
|
|
| 205 |
</div>
|
| 206 |
</section>
|
| 207 |
|
| 208 |
+
<!-- SEO Automation Section -->
|
| 209 |
<section class="mb-12">
|
| 210 |
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
|
| 211 |
<div class="p-6 border-b border-gray-700">
|
| 212 |
<h2 class="text-xl font-bold flex items-center">
|
| 213 |
+
<i class="fas fa-chart-line mr-3 text-blue-400"></i>
|
| 214 |
+
Automated SEO Optimization
|
| 215 |
</h2>
|
| 216 |
</div>
|
| 217 |
<div class="p-6">
|
| 218 |
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 219 |
+
<!-- SEO Analysis -->
|
| 220 |
<div class="lg:col-span-2">
|
| 221 |
+
<h3 class="text-lg font-semibold mb-4">SEO Configuration</h3>
|
| 222 |
+
<div class="bg-gray-700 rounded-lg p-6 mb-6">
|
| 223 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
|
| 224 |
<div>
|
| 225 |
+
<label class="block text-gray-400 mb-2">Target Keywords</label>
|
| 226 |
+
<textarea class="w-full bg-gray-600 text-white p-3 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 h-24" placeholder="Enter primary keywords (comma separated)"></textarea>
|
| 227 |
</div>
|
| 228 |
<div>
|
| 229 |
+
<label class="block text-gray-400 mb-2">Business Description</label>
|
| 230 |
+
<textarea class="w-full bg-gray-600 text-white p-3 rounded focus:outline-none focus:ring-2 focus:ring-blue-500 h-24" placeholder="Brief description of your business"></textarea>
|
| 231 |
</div>
|
| 232 |
+
</div>
|
| 233 |
+
<div class="flex flex-wrap gap-4 mb-6">
|
| 234 |
+
<div class="flex items-center">
|
| 235 |
+
<input type="checkbox" id="autoSitemap" class="mr-2" checked>
|
| 236 |
+
<label for="autoSitemap" class="text-gray-400 text-sm">Generate XML Sitemap</label>
|
| 237 |
</div>
|
| 238 |
+
<div class="flex items-center">
|
| 239 |
+
<input type="checkbox" id="autoRobots" class="mr-2" checked>
|
| 240 |
+
<label for="autoRobots" class="text-gray-400 text-sm">Optimize robots.txt</label>
|
| 241 |
+
</div>
|
| 242 |
+
<div class="flex items-center">
|
| 243 |
+
<input type="checkbox" id="autoSchema" class="mr-2" checked>
|
| 244 |
+
<label for="autoSchema" class="text-gray-400 text-sm">Add Schema Markup</label>
|
| 245 |
+
</div>
|
| 246 |
+
<div class="flex items-center">
|
| 247 |
+
<input type="checkbox" id="autoAlt" class="mr-2" checked>
|
| 248 |
+
<label for="autoAlt" class="text-gray-400 text-sm">Optimize Image Alt Text</label>
|
| 249 |
</div>
|
| 250 |
</div>
|
| 251 |
+
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 px-6 rounded-lg transition">
|
| 252 |
+
Apply SEO Optimization
|
| 253 |
+
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 254 |
</div>
|
| 255 |
</div>
|
| 256 |
|
| 257 |
+
<!-- SEO Score -->
|
| 258 |
<div>
|
| 259 |
+
<h3 class="text-lg font-semibold mb-4">SEO Score</h3>
|
| 260 |
+
<div class="bg-gray-700 rounded-lg p-6 h-full">
|
| 261 |
+
<div class="seo-score bg-gradient-to-br from-blue-600 to-purple-600 rounded-full w-32 h-32 mx-auto mb-6 flex items-center justify-center">
|
| 262 |
+
<span class="text-4xl font-bold">87</span>
|
| 263 |
+
</div>
|
| 264 |
+
<div class="space-y-3">
|
| 265 |
+
<div class="flex justify-between">
|
| 266 |
+
<span class="text-gray-400">Technical SEO</span>
|
| 267 |
+
<span class="font-bold text-green-400">95%</span>
|
| 268 |
</div>
|
| 269 |
+
<div class="w-full bg-gray-600 rounded-full h-2">
|
| 270 |
+
<div class="bg-green-500 h-2 rounded-full" style="width: 95%"></div>
|
| 271 |
+
</div>
|
| 272 |
+
<div class="flex justify-between">
|
| 273 |
+
<span class="text-gray-400">Content Quality</span>
|
| 274 |
+
<span class="font-bold text-blue-400">82%</span>
|
| 275 |
+
</div>
|
| 276 |
+
<div class="w-full bg-gray-600 rounded-full h-2">
|
| 277 |
+
<div class="bg-blue-500 h-2 rounded-full" style="width: 82%"></div>
|
| 278 |
+
</div>
|
| 279 |
+
<div class="flex justify-between">
|
| 280 |
+
<span class="text-gray-400">Mobile Friendly</span>
|
| 281 |
+
<span class="font-bold text-purple-400">91%</span>
|
| 282 |
+
</div>
|
| 283 |
+
<div class="w-full bg-gray-600 rounded-full h-2">
|
| 284 |
+
<div class="bg-purple-500 h-2 rounded-full" style="width: 91%"></div>
|
| 285 |
+
</div>
|
| 286 |
+
<div class="flex justify-between">
|
| 287 |
+
<span class="text-gray-400">Page Speed</span>
|
| 288 |
+
<span class="font-bold text-yellow-400">76%</span>
|
| 289 |
+
</div>
|
| 290 |
+
<div class="w-full bg-gray-600 rounded-full h-2">
|
| 291 |
+
<div class="bg-yellow-500 h-2 rounded-full" style="width: 76%"></div>
|
| 292 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 293 |
</div>
|
| 294 |
</div>
|
| 295 |
</div>
|
|
|
|
| 298 |
</div>
|
| 299 |
</section>
|
| 300 |
|
| 301 |
+
<!-- AI Army Deployment -->
|
| 302 |
+
<section class="mb-12">
|
| 303 |
<div class="bg-gray-800 rounded-xl shadow-lg overflow-hidden">
|
| 304 |
<div class="p-6 border-b border-gray-700">
|
| 305 |
<h2 class="text-xl font-bold flex items-center">
|
| 306 |
+
<i class="fas fa-robot mr-3 text-blue-400"></i>
|
| 307 |
+
AI Army Deployment
|
| 308 |
</h2>
|
| 309 |
</div>
|
| 310 |
<div class="p-6">
|
| 311 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 312 |
+
<!-- Deployment Options -->
|
| 313 |
+
<div class="lg:col-span-2">
|
| 314 |
+
<h3 class="text-lg font-semibold mb-4">Deployment Configuration</h3>
|
| 315 |
+
<div class="bg-gray-700 rounded-lg p-6">
|
| 316 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
|
| 317 |
+
<div>
|
| 318 |
+
<label class="block text-gray-400 mb-2">Deployment Mode</label>
|
| 319 |
+
<select class="w-full bg-gray-600 text-white p-3 rounded focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 320 |
+
<option>Full Deployment (10,000 AI Soldiers)</option>
|
| 321 |
+
<option>Standard Deployment (5,000 AI Soldiers)</option>
|
| 322 |
+
<option>Light Deployment (1,000 AI Soldiers)</option>
|
| 323 |
+
<option>Custom Deployment</option>
|
| 324 |
+
</select>
|
| 325 |
+
</div>
|
| 326 |
+
<div>
|
| 327 |
+
<label class="block text-gray-400 mb-2">Target Environment</label>
|
| 328 |
+
<select class="w-full bg-gray-600 text-white p-3 rounded focus:outline-none focus:ring-2 focus:ring-blue-500">
|
| 329 |
+
<option>Production (Live Website)</option>
|
| 330 |
+
<option>Staging Environment</option>
|
| 331 |
+
<option>Development Environment</option>
|
| 332 |
+
</select>
|
| 333 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 334 |
</div>
|
| 335 |
+
<div class="mb-6">
|
| 336 |
+
<label class="block text-gray-400 mb-2">Specialization Teams</label>
|
| 337 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-3">
|
| 338 |
+
<div class="flex items-center">
|
| 339 |
+
<input type="checkbox" id="htmlTeam" class="mr-2" checked>
|
| 340 |
+
<label for="htmlTeam" class="text-gray-400 text-sm">HTML</label>
|
| 341 |
+
</div>
|
| 342 |
+
<div class="flex items-center">
|
| 343 |
+
<input type="checkbox" id="cssTeam" class="mr-2" checked>
|
| 344 |
+
<label for="cssTeam" class="text-gray-400 text-sm">CSS</label>
|
| 345 |
+
</div>
|
| 346 |
+
<div class="flex items-center">
|
| 347 |
+
<input type="checkbox" id="jsTeam" class="mr-2" checked>
|
| 348 |
+
<label for="jsTeam" class="text-gray-400 text-sm">JavaScript</label>
|
| 349 |
+
</div>
|
| 350 |
+
<div class="flex items-center">
|
| 351 |
+
<input type="checkbox" id="seoTeam" class="mr-2" checked>
|
| 352 |
+
<label for="seoTeam" class="text-gray-400 text-sm">SEO</label>
|
| 353 |
+
</div>
|
| 354 |
+
<div class="flex items-center">
|
| 355 |
+
<input type="checkbox" id="securityTeam" class="mr-2" checked>
|
| 356 |
+
<label for="securityTeam" class="text-gray-400 text-sm">Security</label>
|
| 357 |
+
</div>
|
| 358 |
+
<div class="flex items-center">
|
| 359 |
+
<input type="checkbox" id="perfTeam" class="mr-2" checked>
|
| 360 |
+
<label for="perfTeam" class="text-gray-400 text-sm">Performance</label>
|
| 361 |
+
</div>
|
| 362 |
+
<div class="flex items-center">
|
| 363 |
+
<input type="checkbox" id="accessTeam" class="mr-2">
|
| 364 |
+
<label for="accessTeam" class="text-gray-400 text-sm">Accessibility</label>
|
| 365 |
+
</div>
|
| 366 |
+
<div class="flex items-center">
|
| 367 |
+
<input type="checkbox" id="mobileTeam" class="mr-2" checked>
|
| 368 |
+
<label for="mobileTeam" class="text-gray-400 text-sm">Mobile</label>
|
| 369 |
+
</div>
|
| 370 |
+
</div>
|
| 371 |
</div>
|
| 372 |
+
<div class="flex items-center mb-6">
|
| 373 |
+
<input type="checkbox" id="autoDeploy" class="mr-2" checked>
|
| 374 |
+
<label for="autoDeploy" class="text-gray-400">Automatically deploy fixes after analysis</label>
|
| 375 |
</div>
|
| 376 |
+
<button id="deployArmy" class="w-full bg-purple-600 hover:bg-purple-700 text-white py-3 px-6 rounded-lg transition">
|
| 377 |
+
Deploy AI Army
|
| 378 |
+
</button>
|
| 379 |
</div>
|
| 380 |
</div>
|
| 381 |
|
| 382 |
+
<!-- Deployment Visualization -->
|
| 383 |
+
<div>
|
| 384 |
+
<h3 class="text-lg font-semibold mb-4">Deployment Status</h3>
|
| 385 |
+
<div class="bg-gray-700 rounded-lg p-6 h-full">
|
| 386 |
+
<div class="grid grid-cols-10 gap-1 mb-4" id="soldierGrid">
|
| 387 |
+
<!-- Soldiers will be added here by JavaScript -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 388 |
</div>
|
| 389 |
+
<div class="mt-6">
|
| 390 |
+
<h4 class="text-gray-400 mb-2">Deployment Progress</h4>
|
| 391 |
+
<div class="w-full bg-gray-600 rounded-full h-4">
|
| 392 |
+
<div id="deploymentProgress" class="progress-bar bg-blue-500 h-4 rounded-full" style="width: 0%"></div>
|
| 393 |
+
</div>
|
| 394 |
+
<div class="flex justify-between text-sm text-gray-400 mt-2">
|
| 395 |
+
<span>0%</span>
|
| 396 |
+
<span>50%</span>
|
| 397 |
+
<span>100%</span>
|
| 398 |
+
</div>
|
| 399 |
</div>
|
| 400 |
+
<div class="mt-6">
|
| 401 |
+
<h4 class="text-gray-400 mb-2">Current Mission</h4>
|
| 402 |
+
<div class="bg-gray-800 rounded-lg p-4">
|
| 403 |
+
<p class="text-sm text-gray-300" id="missionStatus">Awaiting deployment instructions...</p>
|
| 404 |
+
</div>
|
| 405 |
</div>
|
| 406 |
</div>
|
|
|
|
|
|
|
|
|
|
| 407 |
</div>
|
| 408 |
</div>
|
| 409 |
</div>
|
|
|
|
| 422 |
</div>
|
| 423 |
<span class="font-bold">AI Army</span>
|
| 424 |
</div>
|
| 425 |
+
<p class="text-sm text-gray-400 mt-2">Complete website automation with 10,000 AI soldiers</p>
|
| 426 |
</div>
|
| 427 |
<div class="flex space-x-6">
|
| 428 |
<a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-github"></i></a>
|
|
|
|
| 438 |
</footer>
|
| 439 |
|
| 440 |
<script>
|
| 441 |
+
// Initialize soldier grid
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 442 |
const soldierGrid = document.getElementById('soldierGrid');
|
| 443 |
+
const totalSoldiers = 100; // Representing 10,000 soldiers
|
| 444 |
+
|
|
|
|
| 445 |
for (let i = 0; i < totalSoldiers; i++) {
|
| 446 |
const soldier = document.createElement('div');
|
| 447 |
soldier.className = 'w-2 h-2 rounded-full bg-gray-600';
|
|
|
|
| 450 |
soldierGrid.appendChild(soldier);
|
| 451 |
}
|
| 452 |
|
| 453 |
+
// Domain registration functionality
|
| 454 |
+
document.getElementById('checkDomain').addEventListener('click', function() {
|
| 455 |
+
const domainName = document.getElementById('domainInput').value.trim();
|
| 456 |
+
const extension = document.getElementById('domainExtension').value;
|
| 457 |
+
|
| 458 |
+
if (domainName) {
|
| 459 |
+
document.getElementById('selectedDomain').textContent = domainName + extension;
|
| 460 |
+
document.getElementById('domainResults').classList.remove('hidden');
|
| 461 |
+
|
| 462 |
+
// Simulate domain checking
|
| 463 |
+
setTimeout(() => {
|
| 464 |
+
this.textContent = "Available!";
|
| 465 |
+
this.classList.remove('bg-blue-600');
|
| 466 |
+
this.classList.add('bg-green-600');
|
| 467 |
+
|
| 468 |
+
setTimeout(() => {
|
| 469 |
+
this.textContent = "Check";
|
| 470 |
+
this.classList.remove('bg-green-600');
|
| 471 |
+
this.classList.add('bg-blue-600');
|
| 472 |
+
}, 2000);
|
| 473 |
+
}, 1000);
|
| 474 |
+
}
|
| 475 |
+
});
|
| 476 |
+
|
| 477 |
+
// Domain registration
|
| 478 |
+
document.getElementById('registerDomain').addEventListener('click', function() {
|
| 479 |
+
const domain = document.getElementById('selectedDomain').textContent;
|
| 480 |
+
const missionStatus = document.getElementById('missionStatus');
|
| 481 |
+
|
| 482 |
+
missionStatus.textContent = `Registering ${domain} and configuring SSL...`;
|
| 483 |
+
|
| 484 |
+
// Simulate domain registration
|
| 485 |
+
setTimeout(() => {
|
| 486 |
+
missionStatus.textContent = "Domain registered successfully! Configuring DNS...";
|
| 487 |
+
|
| 488 |
+
setTimeout(() => {
|
| 489 |
+
missionStatus.textContent = "DNS configured. Setting up SSL certificate...";
|
| 490 |
+
|
| 491 |
+
setTimeout(() => {
|
| 492 |
+
missionStatus.textContent = "SSL certificate installed. Ready for deployment!";
|
| 493 |
+
this.textContent = "Deployment Complete!";
|
| 494 |
+
this.classList.remove('bg-green-600');
|
| 495 |
+
this.classList.add('bg-purple-600');
|
| 496 |
+
|
| 497 |
+
// Enable deployment button
|
| 498 |
+
document.getElementById('deployArmy').disabled = false;
|
| 499 |
+
}, 1500);
|
| 500 |
+
}, 1500);
|
| 501 |
+
}, 1500);
|
| 502 |
+
});
|
| 503 |
+
|
| 504 |
+
// AI Army deployment
|
| 505 |
+
document.getElementById('deployArmy').addEventListener('click', function() {
|
| 506 |
let deployed = 0;
|
| 507 |
const soldiers = document.querySelectorAll('#soldierGrid div');
|
| 508 |
const progressBar = document.getElementById('deploymentProgress');
|
| 509 |
const missionStatus = document.getElementById('missionStatus');
|
| 510 |
|
| 511 |
+
this.disabled = true;
|
| 512 |
missionStatus.textContent = "Initializing deployment sequence...";
|
| 513 |
|
| 514 |
const deploymentInterval = setInterval(() => {
|
|
|
|
| 540 |
} else {
|
| 541 |
clearInterval(deploymentInterval);
|
| 542 |
missionStatus.textContent = "Mission complete! 10,000 AI soldiers deployed and analysis finished.";
|
| 543 |
+
this.textContent = "Deployment Complete";
|
| 544 |
+
|
| 545 |
+
// Show success notification
|
| 546 |
+
setTimeout(() => {
|
| 547 |
+
const notification = document.createElement('div');
|
| 548 |
+
notification.className = 'fixed bottom-4 right-4 bg-green-600 text-white px-6 py-3 rounded-lg shadow-lg flex items-center';
|
| 549 |
+
notification.innerHTML = `
|
| 550 |
+
<i class="fas fa-check-circle mr-2"></i>
|
| 551 |
+
<span>AI Army successfully deployed and optimized your website!</span>
|
| 552 |
+
`;
|
| 553 |
+
document.body.appendChild(notification);
|
| 554 |
+
|
| 555 |
+
setTimeout(() => {
|
| 556 |
+
notification.remove();
|
| 557 |
+
}, 5000);
|
| 558 |
+
}, 1000);
|
| 559 |
}
|
| 560 |
}, 100);
|
| 561 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 562 |
|
| 563 |
+
// SEO score animation
|
| 564 |
+
const seoScoreElement = document.querySelector('.seo-score');
|
| 565 |
+
let score = 0;
|
| 566 |
+
const targetScore = 87;
|
| 567 |
+
const scoreInterval = setInterval(() => {
|
| 568 |
+
if (score < targetScore) {
|
| 569 |
+
score++;
|
| 570 |
+
seoScoreElement.querySelector('span').textContent = score;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 571 |
|
| 572 |
+
// Change color based on score
|
| 573 |
+
if (score < 50) {
|
| 574 |
+
seoScoreElement.classList.remove('from-blue-600', 'to-purple-600');
|
| 575 |
+
seoScoreElement.classList.add('from-red-600', 'to-yellow-600');
|
| 576 |
+
} else if (score < 80) {
|
| 577 |
+
seoScoreElement.classList.remove('from-red-600', 'to-yellow-600');
|
| 578 |
+
seoScoreElement.classList.add('from-yellow-600', 'to-orange-600');
|
| 579 |
+
} else {
|
| 580 |
+
seoScoreElement.classList.remove('from-yellow-600', 'to-orange-600');
|
| 581 |
+
seoScoreElement.classList.add('from-blue-600', 'to-purple-600');
|
| 582 |
+
}
|
| 583 |
+
} else {
|
| 584 |
+
clearInterval(scoreInterval);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 585 |
}
|
| 586 |
+
}, 30);
|
|
|
|
| 587 |
</script>
|
| 588 |
<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=docto41/corriger-et-modifier-code" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 589 |
</html>
|
prompts.txt
CHANGED
|
@@ -1 +1,2 @@
|
|
| 1 |
-
creer une armée DE SOLDAT d' IA DE 10000 pour modifier et corriger toute un site complet , corriger les erreurs des gros site a partir de url , ficher zip , code , html etc...
|
|
|
|
|
|
| 1 |
+
creer une armée DE SOLDAT d' IA DE 10000 pour modifier et corriger toute un site complet , corriger les erreurs des gros site a partir de url , ficher zip , code , html etc...
|
| 2 |
+
possibilité de personalisé les url et enregister directement nouveau domain robotisé automatique avec SSL toute les outils de référencement direct en automatique
|