From d800c2cbc2d8e82719d03e0c9949a5fc081d9f96 Mon Sep 17 00:00:00 2001 From: gustavo Date: Thu, 7 Aug 2025 12:06:10 +0000 Subject: [PATCH] Add contactos page --- views/templates/page-contactos.twig | 85 +++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 views/templates/page-contactos.twig diff --git a/views/templates/page-contactos.twig b/views/templates/page-contactos.twig new file mode 100644 index 0000000..6c55a6e --- /dev/null +++ b/views/templates/page-contactos.twig @@ -0,0 +1,85 @@ +{% extends 'layouts/base.twig' %} + +{% block content %} + + +
+
+ + +
+ +
+ {% set url_mapa = contacto_info.url_mapa %} + {% if url_mapa %} + {% set coordenadas = url_mapa|split('/')|slice(-2) %} + {% set latitud = coordenadas[0] %} + {% set longitud = coordenadas[1] %} + +
+ +
+ + + + Ver el mapa más grande + + + {% endif %} +
+ + +
+
+

{{ contacto_info.nombre }}

+

{{ contacto_info.direccion }}

+

{{ contacto_info.forma_contacto }}

+ +
+ {% if contacto_info.url_facebook %} + + + {% endif %} + {% if contacto_info.url_twitter %} + + + {% endif %} + {% if contacto_info.url_web %} + + + {% endif %} +
+ +
+
+
+ + +
+
+

Contacto

+
+
+
+
+ {{ contacto_info.form | raw }} +
+
+
+
+
+
+ +
+ {{ page.content }} +
+ +
+
+{% endblock %}