diff --git a/assets/css/main.css b/assets/css/main.css index f3461aa..22155f4 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -432,7 +432,7 @@ main img { margin: 0 auto; display: flex; } -.promotions img { +.promotions a { width: 100%; height: 150px; display: block; diff --git a/assets/js/promotions.js b/assets/js/promotions.js index 3a60c22..782eaf0 100644 --- a/assets/js/promotions.js +++ b/assets/js/promotions.js @@ -1,5 +1,5 @@ window.onload = function (promotions) { - // Variables + // Promociones (Cambiar por el contenido del array "promotions") const IMAGENES = [ '../img/promos/promo_vuelve.jpg', '../img/promos/promo_palomitas.jpg', diff --git a/assets/php/template.php b/assets/php/template.php index d4d9a3b..b88c2bc 100644 --- a/assets/php/template.php +++ b/assets/php/template.php @@ -38,6 +38,7 @@ case strpos($this->page, 'logout'): $this->page = 'Cerrar Sesión'; break; case strpos($this->page, 'register'): $this->page = 'Registro de Usuario'; break; case strpos($this->page, 'showtimes'): $this->page = 'Cartelera'; break; + case strpos($this->page, 'promotions'): $this->page = 'Promociones'; break; case strpos($this->page, 'cinemas'): $this->page = 'Nuestros Cines'; break; case strpos($this->page, 'about_us'): $this->page = 'Sobre FDI-Cines'; $this->prefix = '../../'; break; case strpos($this->page, 'terms'): $this->page = 'Términos y Condiciones'; $this->prefix = '../../'; break; @@ -107,6 +108,7 @@