Añadido redirección botón jugar

This commit is contained in:
2026-09-23 13:21:52 +02:00
parent 4cb4faff1b
commit 66acfb27d0
+3 -3
View File
@@ -25,12 +25,12 @@ include 'cabecera.php';
<!-- Botón Jugar (solo se muestra si está logueado) -->
<?php if ($isLoggedIn): ?>
<div class="col-12 col-lg-5 col-xl-4">
<button type="button" class="btn btn-play-kahoot" id="btnJugar">
<a href="buscadorSala.php" class="btn btn-play-kahoot" id="btnJugar">
<i class="fa-solid fa-play"></i>
<span>¡JUGAR!</span>
</button>
</a>
</div>
<?php endif; ?>
<?php endif; ?>
<!-- Ranking -->
<div class="col-12 <?= $isLoggedIn ? 'col-lg-7 col-xl-8' : 'col-lg-8' ?>">