JairoDanielMT commited on
Commit
457bc2a
·
verified ·
1 Parent(s): 8f16017

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +53 -9
index.html CHANGED
@@ -109,12 +109,13 @@
109
  <li>Modelo: *Cloud-first*, centrado en *workspaces* colaborativos.</li>
110
  </ul>
111
  </div>
112
- <!-- Placeholder GIF -->
113
- <div class="w-1/2">
114
- <div class="gif-placeholder aspect-video">
115
- <span class="text-gray-500 text-2xl font-semibold">Espacio para GIF</span>
116
- </div>
117
  </div>
 
118
  </div>
119
  </div>
120
 
@@ -176,11 +177,13 @@
176
  </ul>
177
  </div>
178
  <!-- Placeholder GIF -->
179
- <div class="w-1/2">
180
- <div class="gif-placeholder aspect-video">
181
- <span class="text-gray-500 text-2xl font-semibold">Espacio para GIF</span>
182
- </div>
 
183
  </div>
 
184
  </div>
185
  </div>
186
 
@@ -483,6 +486,47 @@
483
  counter.textContent = `1 / ${totalSlides}`;
484
  });
485
  </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
486
 
487
  </body>
488
  </html>
 
109
  <li>Modelo: *Cloud-first*, centrado en *workspaces* colaborativos.</li>
110
  </ul>
111
  </div>
112
+ <div class="w-1/2 flex justify-center items-center">
113
+ <img src="descarga_e_instalacion_postman.gif"
114
+ alt="Instalación de Postman"
115
+ class="rounded-xl cursor-pointer shadow-lg transition hover:scale-105 duration-300"
116
+ onclick="openModal('descarga_e_instalacion_postman.gif')">
117
  </div>
118
+
119
  </div>
120
  </div>
121
 
 
177
  </ul>
178
  </div>
179
  <!-- Placeholder GIF -->
180
+ <div class="w-1/2 flex justify-center items-center">
181
+ <img src="descarga_e_instalacion_yaak.gif"
182
+ alt="Instalación de Yaak"
183
+ class="rounded-xl cursor-pointer shadow-lg transition hover:scale-105 duration-300"
184
+ onclick="openModal('descarga_e_instalacion_yaak.gif')">
185
  </div>
186
+
187
  </div>
188
  </div>
189
 
 
486
  counter.textContent = `1 / ${totalSlides}`;
487
  });
488
  </script>
489
+ <!-- Modal para mostrar GIF -->
490
+ <div id="gif-modal" class="fixed inset-0 bg-black bg-opacity-80 hidden justify-center items-center z-50">
491
+ <div class="relative">
492
+ <img id="modal-image" src="" alt="GIF ampliado" class="max-w-[90vw] max-h-[80vh] rounded-lg shadow-2xl border border-gray-600">
493
+ <button id="close-modal"
494
+ class="absolute top-2 right-2 bg-gray-800 hover:bg-gray-700 text-white rounded-full px-3 py-1 font-bold text-lg">
495
+
496
+ </button>
497
+ </div>
498
+ </div>
499
+
500
+ <script>
501
+ // Mostrar modal
502
+ function openModal(gifSrc) {
503
+ const modal = document.getElementById('gif-modal');
504
+ const modalImg = document.getElementById('modal-image');
505
+ modalImg.src = gifSrc;
506
+ modal.classList.remove('hidden');
507
+ modal.classList.add('flex');
508
+ }
509
+
510
+ // Cerrar modal
511
+ function closeModal() {
512
+ const modal = document.getElementById('gif-modal');
513
+ modal.classList.add('hidden');
514
+ modal.classList.remove('flex');
515
+ document.getElementById('modal-image').src = "";
516
+ }
517
+
518
+ document.getElementById('close-modal').addEventListener('click', closeModal);
519
+
520
+ // Cierra modal al hacer clic fuera del GIF
521
+ document.getElementById('gif-modal').addEventListener('click', (e) => {
522
+ if (e.target.id === 'gif-modal') closeModal();
523
+ });
524
+
525
+ // Cierra modal con tecla ESC
526
+ document.addEventListener('keydown', (e) => {
527
+ if (e.key === 'Escape') closeModal();
528
+ });
529
+ </script>
530
 
531
  </body>
532
  </html>