Spaces:
Running
Running
Update templates/philosophie.html
Browse files- templates/philosophie.html +24 -6
templates/philosophie.html
CHANGED
@@ -283,12 +283,30 @@
|
|
283 |
return;
|
284 |
}
|
285 |
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
292 |
|
293 |
const data = {
|
294 |
question: question,
|
|
|
283 |
return;
|
284 |
}
|
285 |
|
286 |
+
// Animation de chargement sophistiquée
|
287 |
+
Swal.fire({
|
288 |
+
title: 'Génération en cours',
|
289 |
+
html: `
|
290 |
+
<div class="space-y-4">
|
291 |
+
<div class="flex justify-center">
|
292 |
+
<div class="w-16 h-16 relative">
|
293 |
+
<div class="absolute inset-0 rounded-full border-4 border-violet-200 animate-ping"></div>
|
294 |
+
<div class="absolute inset-0 rounded-full border-4 border-violet-500 animate-pulse"></div>
|
295 |
+
</div>
|
296 |
+
</div>
|
297 |
+
<div class="text-gray-600">
|
298 |
+
<p class="animate-pulse">Analyse philosophique en cours...</p>
|
299 |
+
<p class="text-sm mt-2 text-gray-500">Veuillez patienter quelques instants</p>
|
300 |
+
</div>
|
301 |
+
</div>
|
302 |
+
`,
|
303 |
+
allowOutsideClick: false,
|
304 |
+
showConfirmButton: false,
|
305 |
+
customClass: {
|
306 |
+
popup: 'rounded-2xl'
|
307 |
+
}
|
308 |
+
});
|
309 |
+
|
310 |
|
311 |
const data = {
|
312 |
question: question,
|