File size: 25,115 Bytes
29aaf4e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 |
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Armée IA de Correction Web</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.gradient-bg {
background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
}
.soldier-card {
transition: all 0.3s ease;
transform-style: preserve-3d;
}
.soldier-card:hover {
transform: translateY(-5px) scale(1.02);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.code-input {
font-family: 'Courier New', Courier, monospace;
}
.progress-bar {
transition: width 0.5s ease;
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
</style>
</head>
<body class="bg-gray-100">
<!-- Header -->
<header class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-8">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-6 md:mb-0">
<i class="fas fa-robot text-4xl mr-4"></i>
<div>
<h1 class="text-3xl font-bold">Armée IA de Correction Web</h1>
<p class="text-blue-100">100,000 soldats IA prêts à corriger vos sites</p>
</div>
</div>
<div class="bg-white/10 backdrop-blur-sm rounded-lg p-4">
<div class="flex items-center">
<div class="mr-4">
<div class="text-sm text-blue-200">Soldats actifs</div>
<div class="text-2xl font-bold">100,000</div>
</div>
<div class="h-12 w-12 rounded-full bg-blue-500 flex items-center justify-center pulse">
<i class="fas fa-bolt text-white"></i>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<!-- Stats Section -->
<section class="mb-12 grid grid-cols-1 md:grid-cols-4 gap-6">
<div class="bg-white rounded-lg shadow p-6 flex items-center">
<div class="bg-green-100 p-3 rounded-full mr-4">
<i class="fas fa-check-circle text-green-600 text-xl"></i>
</div>
<div>
<div class="text-gray-500 text-sm">Sites corrigés</div>
<div class="text-2xl font-bold">24,856</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6 flex items-center">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i class="fas fa-clock text-blue-600 text-xl"></i>
</div>
<div>
<div class="text-gray-500 text-sm">En cours</div>
<div class="text-2xl font-bold">1,243</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6 flex items-center">
<div class="bg-purple-100 p-3 rounded-full mr-4">
<i class="fas fa-bug text-purple-600 text-xl"></i>
</div>
<div>
<div class="text-gray-500 text-sm">Erreurs trouvées</div>
<div class="text-2xl font-bold">892,456</div>
</div>
</div>
<div class="bg-white rounded-lg shadow p-6 flex items-center">
<div class="bg-yellow-100 p-3 rounded-full mr-4">
<i class="fas fa-tachometer-alt text-yellow-600 text-xl"></i>
</div>
<div>
<div class="text-gray-500 text-sm">Performance boost</div>
<div class="text-2xl font-bold">+87%</div>
</div>
</div>
</section>
<!-- Submission Section -->
<section class="mb-12 bg-white rounded-lg shadow-lg overflow-hidden">
<div class="border-b border-gray-200">
<div class="flex flex-wrap -mb-px">
<button class="tab-btn active px-6 py-4 font-medium text-sm border-b-2 border-blue-500 text-blue-600" data-tab="url">
<i class="fas fa-link mr-2"></i> Par URL
</button>
<button class="tab-btn px-6 py-4 font-medium text-sm text-gray-500 hover:text-blue-600" data-tab="zip">
<i class="fas fa-file-archive mr-2"></i> Fichier ZIP
</button>
<button class="tab-btn px-6 py-4 font-medium text-sm text-gray-500 hover:text-blue-600" data-tab="code">
<i class="fas fa-code mr-2"></i> Code Direct
</button>
<button class="tab-btn px-6 py-4 font-medium text-sm text-gray-500 hover:text-blue-600" data-tab="git">
<i class="fab fa-github mr-2"></i> GitHub
</button>
</div>
</div>
<div class="p-6">
<!-- URL Tab -->
<div id="url" class="tab-content active">
<div class="mb-6">
<h3 class="text-lg font-medium text-gray-900 mb-2">Soumettre une URL</h3>
<p class="text-gray-600">Entrez l'URL du site web que vous souhaitez faire corriger par notre armée IA.</p>
</div>
<div class="flex flex-col md:flex-row gap-4">
<input type="url" placeholder="https://www.example.com" class="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<button class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg font-medium transition duration-200 flex items-center justify-center">
<i class="fas fa-paper-plane mr-2"></i> Envoyer
</button>
</div>
</div>
<!-- ZIP Tab -->
<div id="zip" class="tab-content">
<div class="mb-6">
<h3 class="text-lg font-medium text-gray-900 mb-2">Téléverser un ZIP</h3>
<p class="text-gray-600">Téléversez une archive ZIP contenant votre site web pour correction.</p>
</div>
<div class="border-2 border-dashed border-gray-300 rounded-lg p-8 text-center">
<div class="flex flex-col items-center justify-center">
<i class="fas fa-file-archive text-4xl text-gray-400 mb-4"></i>
<p class="text-gray-600 mb-4">Glissez-déposez votre fichier ZIP ici ou cliquez pour sélectionner</p>
<input type="file" id="zip-upload" class="hidden" accept=".zip">
<label for="zip-upload" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-2 rounded-lg font-medium transition duration-200 cursor-pointer">
<i class="fas fa-upload mr-2"></i> Sélectionner un fichier
</label>
</div>
</div>
</div>
<!-- Code Tab -->
<div id="code" class="tab-content">
<div class="mb-6">
<h3 class="text-lg font-medium text-gray-900 mb-2">Coller votre code</h3>
<p class="text-gray-600">Collez directement le code HTML, CSS ou JavaScript que vous souhaitez faire corriger.</p>
</div>
<div class="mb-4">
<select class="border border-gray-300 rounded-lg px-4 py-2 focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<option>HTML</option>
<option>CSS</option>
<option>JavaScript</option>
<option>PHP</option>
<option>Autre</option>
</select>
</div>
<textarea class="w-full h-64 code-input border border-gray-300 rounded-lg p-4 focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="Collez votre code ici..."></textarea>
<button class="mt-4 bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg font-medium transition duration-200">
<i class="fas fa-magic mr-2"></i> Corriger le code
</button>
</div>
<!-- GitHub Tab -->
<div id="git" class="tab-content">
<div class="mb-6">
<h3 class="text-lg font-medium text-gray-900 mb-2">Connecter GitHub</h3>
<p class="text-gray-600">Connectez-vous à votre compte GitHub pour corriger un dépôt directement.</p>
</div>
<div class="flex flex-col md:flex-row gap-4">
<input type="text" placeholder="Nom du dépôt (user/repo)" class="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500">
<button class="bg-gray-800 hover:bg-gray-900 text-white px-6 py-3 rounded-lg font-medium transition duration-200 flex items-center justify-center">
<i class="fab fa-github mr-2"></i> Connecter GitHub
</button>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="mb-12">
<h2 class="text-2xl font-bold text-gray-800 mb-6">Ce que notre armée IA peut faire pour vous</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6">
<div class="bg-white rounded-lg shadow p-6 soldier-card">
<div class="bg-blue-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i class="fas fa-search text-blue-600"></i>
</div>
<h3 class="text-lg font-semibold mb-2">Détection d'erreurs</h3>
<p class="text-gray-600">Nos soldats IA scannent votre site pour trouver toutes les erreurs HTML, CSS, JavaScript et problèmes d'accessibilité.</p>
</div>
<div class="bg-white rounded-lg shadow p-6 soldier-card">
<div class="bg-green-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i class="fas fa-wrench text-green-600"></i>
</div>
<h3 class="text-lg font-semibold mb-2">Correction automatique</h3>
<p class="text-gray-600">L'armée corrige automatiquement jusqu'à 95% des problèmes détectés sans intervention humaine.</p>
</div>
<div class="bg-white rounded-lg shadow p-6 soldier-card">
<div class="bg-purple-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i class="fas fa-tachometer-alt text-purple-600"></i>
</div>
<h3 class="text-lg font-semibold mb-2">Optimisation</h3>
<p class="text-gray-600">Amélioration des performances, compression des ressources et suggestions pour un site plus rapide.</p>
</div>
<div class="bg-white rounded-lg shadow p-6 soldier-card">
<div class="bg-yellow-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i class="fas fa-mobile-alt text-yellow-600"></i>
</div>
<h3 class="text-lg font-semibold mb-2">Responsive Design</h3>
<p class="text-gray-600">Vérification et correction des problèmes d'affichage sur tous les appareils et tailles d'écran.</p>
</div>
<div class="bg-white rounded-lg shadow p-6 soldier-card">
<div class="bg-red-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i class="fas fa-shield-alt text-red-600"></i>
</div>
<h3 class="text-lg font-semibold mb-2">Sécurité</h3>
<p class="text-gray-600">Détection des vulnérabilités potentielles et suggestions pour renforcer la sécurité de votre site.</p>
</div>
<div class="bg-white rounded-lg shadow p-6 soldier-card">
<div class="bg-indigo-100 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
<i class="fas fa-download text-indigo-600"></i>
</div>
<h3 class="text-lg font-semibold mb-2">Téléchargement flexible</h3>
<p class="text-gray-600">Récupérez vos corrections sous forme de fichiers HTML individuels, d'archive ZIP ou même directement dans votre dépôt Git.</p>
</div>
</div>
</section>
<!-- Results Example -->
<section class="mb-12 bg-white rounded-lg shadow-lg overflow-hidden">
<div class="p-6 border-b border-gray-200">
<h2 class="text-xl font-semibold text-gray-800">Exemple de résultats</h2>
</div>
<div class="p-6">
<div class="mb-6">
<div class="flex justify-between items-center mb-2">
<h3 class="font-medium">Rapport de correction</h3>
<span class="text-sm text-gray-500">Dernière mise à jour: il y a 2 minutes</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-2.5">
<div class="progress-bar bg-green-600 h-2.5 rounded-full" style="width: 92%"></div>
</div>
<div class="flex justify-between text-sm text-gray-600 mt-1">
<span>92% complété</span>
<span>24/26 problèmes résolus</span>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h4 class="font-medium mb-3">Problèmes résolus</h4>
<ul class="space-y-3">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<div>
<span class="font-medium">Balises HTML mal fermées</span>
<p class="text-sm text-gray-600">5 corrections</p>
</div>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<div>
<span class="font-medium">CSS non utilisé</span>
<p class="text-sm text-gray-600">Suppression de 12KB</p>
</div>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<div>
<span class="font-medium">Images non optimisées</span>
<p class="text-sm text-gray-600">Compression de 8 images</p>
</div>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
<div>
<span class="font-medium">Erreurs JavaScript</span>
<p class="text-sm text-gray-600">3 corrections</p>
</div>
</li>
</ul>
</div>
<div>
<h4 class="font-medium mb-3">Problèmes restants</h4>
<ul class="space-y-3">
<li class="flex items-start">
<i class="fas fa-exclamation-triangle text-yellow-500 mt-1 mr-2"></i>
<div>
<span class="font-medium">Contraste des couleurs</span>
<p class="text-sm text-gray-600">Nécessite vérification humaine</p>
</div>
</li>
<li class="flex items-start">
<i class="fas fa-exclamation-triangle text-yellow-500 mt-1 mr-2"></i>
<div>
<span class="font-medium">Structure sémantique</span>
<p class="text-sm text-gray-600">Suggestions fournies</p>
</div>
</li>
</ul>
</div>
</div>
<div class="mt-8 pt-6 border-t border-gray-200">
<h4 class="font-medium mb-4">Télécharger les corrections</h4>
<div class="flex flex-wrap gap-3">
<button class="flex items-center px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50">
<i class="fas fa-file-code text-blue-500 mr-2"></i> HTML seul
</button>
<button class="flex items-center px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50">
<i class="fas fa-file-archive text-blue-500 mr-2"></i> ZIP complet
</button>
<button class="flex items-center px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50">
<i class="fab fa-github text-blue-500 mr-2"></i> Push sur GitHub
</button>
<button class="flex items-center px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50">
<i class="fas fa-file-pdf text-blue-500 mr-2"></i> Rapport PDF
</button>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">Armée IA de Correction Web</h3>
<p class="text-gray-400">100,000 soldats IA prêts à corriger et optimiser vos sites web automatiquement.</p>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Méthodes</h3>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-white">Par URL</a></li>
<li><a href="#" class="hover:text-white">Fichier ZIP</a></li>
<li><a href="#" class="hover:text-white">Code Direct</a></li>
<li><a href="#" class="hover:text-white">GitHub</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Ressources</h3>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-white">Documentation</a></li>
<li><a href="#" class="hover:text-white">API</a></li>
<li><a href="#" class="hover:text-white">Blog</a></li>
<li><a href="#" class="hover:text-white">Statut</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Contact</h3>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-white">Support</a></li>
<li><a href="#" class="hover:text-white">Twitter</a></li>
<li><a href="#" class="hover:text-white">LinkedIn</a></li>
<li><a href="#" class="hover:text-white">Email</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>© 2023 Armée IA de Correction Web. Tous droits réservés.</p>
</div>
</div>
</footer>
<script>
// Tab switching functionality
document.querySelectorAll('.tab-btn').forEach(btn => {
btn.addEventListener('click', () => {
// Remove active class from all buttons and content
document.querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active', 'text-blue-600', 'border-blue-500'));
document.querySelectorAll('.tab-btn').forEach(b => b.classList.add('text-gray-500'));
document.querySelectorAll('.tab-content').forEach(c => c.classList.remove('active'));
// Add active class to clicked button and corresponding content
btn.classList.add('active', 'text-blue-600', 'border-blue-500');
btn.classList.remove('text-gray-500');
document.getElementById(btn.dataset.tab).classList.add('active');
});
});
// Simulate file upload for demo purposes
document.getElementById('zip-upload').addEventListener('change', function(e) {
const fileName = e.target.files[0]?.name || 'Aucun fichier sélectionné';
alert(`Fichier "${fileName}" prêt à être envoyé à l'armée IA pour correction!`);
});
// Animation for soldier cards on scroll
const observerOptions = {
threshold: 0.1
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = 1;
entry.target.style.transform = 'translateY(0)';
}
});
}, observerOptions);
document.querySelectorAll('.soldier-card').forEach((card, index) => {
card.style.opacity = 0;
card.style.transform = 'translateY(20px)';
card.style.transition = `all 0.5s ease ${index * 0.1}s`;
observer.observe(card);
});
// Simulate progress bar animation
setInterval(() => {
const progressBar = document.querySelector('.progress-bar');
const currentWidth = parseInt(progressBar.style.width) || 0;
if (currentWidth < 100) {
progressBar.style.width = `${currentWidth + 1}%`;
}
}, 1000);
</script>
<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/arm-e-ia-de-correction-web" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |