Spaces:
Running
Running
اين النتيجة
Browse files- index.html +4 -5
index.html
CHANGED
|
@@ -131,8 +131,8 @@
|
|
| 131 |
</div>
|
| 132 |
</div>
|
| 133 |
<div id="resultContainer" class="hidden text-center w-full">
|
| 134 |
-
<img id="resultImage" class="rounded-xl max-w-full mx-auto max-h-[500px]" src="" alt="Result">
|
| 135 |
-
|
| 136 |
<button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg flex items-center">
|
| 137 |
<i data-feather="download" class="mr-2"></i> تحميل
|
| 138 |
</button>
|
|
@@ -303,10 +303,9 @@
|
|
| 303 |
setTimeout(() => {
|
| 304 |
document.getElementById('loadingState').classList.add('hidden');
|
| 305 |
document.getElementById('resultContainer').classList.remove('hidden');
|
| 306 |
-
|
| 307 |
// Use a mock result (in a real app, this would be the processed image from the API)
|
| 308 |
-
document.getElementById('resultImage').src =
|
| 309 |
-
|
| 310 |
});
|
| 311 |
</script>
|
| 312 |
</body>
|
|
|
|
| 131 |
</div>
|
| 132 |
</div>
|
| 133 |
<div id="resultContainer" class="hidden text-center w-full">
|
| 134 |
+
<img id="resultImage" class="rounded-xl max-w-full mx-auto max-h-[500px]" src="http://static.photos/technology/640x360/123" alt="Result">
|
| 135 |
+
<div class="flex justify-center mt-6 space-x-4">
|
| 136 |
<button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-lg flex items-center">
|
| 137 |
<i data-feather="download" class="mr-2"></i> تحميل
|
| 138 |
</button>
|
|
|
|
| 303 |
setTimeout(() => {
|
| 304 |
document.getElementById('loadingState').classList.add('hidden');
|
| 305 |
document.getElementById('resultContainer').classList.remove('hidden');
|
|
|
|
| 306 |
// Use a mock result (in a real app, this would be the processed image from the API)
|
| 307 |
+
document.getElementById('resultImage').src = "http://static.photos/technology/640x360/123";
|
| 308 |
+
}, 3000);
|
| 309 |
});
|
| 310 |
</script>
|
| 311 |
</body>
|