From e293c58f769ce470604b72822baf0409c2869fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa?= Date: Fri, 1 Aug 2025 15:07:58 +0200 Subject: [PATCH] aula-virtual page --- components/CardCourse.vue | 41 ++++++++++++ components/CardTool.vue | 20 +++--- components/SectionWithCards.vue | 16 ++++- data/es/aula-virtual.json | 104 ++++++++++++++++++++++++++++++ data/es/certifica-t.json | 1 + data/es/consumo-cuidado.json | 1 + data/es/foro.json | 1 + data/es/iguales.json | 1 + data/es/index.json | 1 + pages/[langcode]/aula-virtual.vue | 52 +++++++++++---- 10 files changed, 213 insertions(+), 25 deletions(-) create mode 100644 components/CardCourse.vue create mode 100644 data/es/aula-virtual.json diff --git a/components/CardCourse.vue b/components/CardCourse.vue new file mode 100644 index 0000000..954448e --- /dev/null +++ b/components/CardCourse.vue @@ -0,0 +1,41 @@ + + + \ No newline at end of file diff --git a/components/CardTool.vue b/components/CardTool.vue index d8196c6..9f57f87 100644 --- a/components/CardTool.vue +++ b/components/CardTool.vue @@ -22,20 +22,15 @@ /> -

{{ index }}

{{ title }}

-
-
+
+
imagen-error -->
+
+

+ {{ number }}

+

{{ title }}

@@ -68,12 +67,9 @@ export default { }, image: { type: Object, - default: () => ({ - src: "", - alt: "", - }), + default: null, }, - index: { + number: { type: String, default: null }, diff --git a/components/SectionWithCards.vue b/components/SectionWithCards.vue index eaf02cd..4eeb61d 100644 --- a/components/SectionWithCards.vue +++ b/components/SectionWithCards.vue @@ -29,18 +29,26 @@ 'col-span-12 lg:col-span-4': display === 'col-3-transparent', 'col-span-12 md:col-span-6 lg:col-span-3': display === 'col-4', }"> - +
-

{{ buttonSection.title }}

+

{{ buttonSection.title }}

{{ buttonSection?.button?.label }} @@ -77,6 +85,10 @@ export default { type: String, default: "", }, + cardsType: { + type: String, + default: "transparent", // 'colored', 'number', 'transparent' + }, cards: { type: Array, default: () => [], diff --git a/data/es/aula-virtual.json b/data/es/aula-virtual.json new file mode 100644 index 0000000..a8af62f --- /dev/null +++ b/data/es/aula-virtual.json @@ -0,0 +1,104 @@ +[ + { + "component": "HeroPages", + "props": { + "id": "hero-pages-aula-virtual", + "title": "Aula virtual", + "subtitle": "Formándonos en desarrollo sostenible e inclusivo.
Un espacio formativo online abierto y gratuito.", + "bgColor": "aula", + "bgImage": { + "src": "hero-aula-formas.png", + "alt": "Aula Imagenes Fondo" + }, + "button": { + "label": "entrar al aula", + "link": "", + "color": "button" + } + } + }, + { + "component": "TextWithImage", + "id": "aula-virtual-contenido", + "props": { + "title": "¿Qué encontrarás en el Aula Virtual?", + "paragraphs": [ + "El Aula Virtual es un espacio formativo online, que ofrece cursos abiertos y gratuitos sobre temáticas clave para el desarrollo sostenible e inclusivo de las entidades de economía social.", + "Permite acceder a conocimientos prácticos sobre herramientas ya disponibles en el ecosistema Kit-Eco.Social, y da continuidad a los encuentros presenciales del proyecto." + ], + "position": "right", + "bgColor": "light", + "image": { + "src": "manos-sobre-ordenador.png", + "alt": "Manos sobre un ordenador", + "display": "normal" + } + } + }, + { + "component": "SectionWithCards", + "props": { + "id": "pasos-aula-virtual", + "title": "Empieza en 3 pasos simples", + "display": "col-3-transparent", + "bgColor": "aula", + "cardsType": "number", + "cards": [ + { + "color": "number", + "title": "Accede a la plataforma", + "description": "Haz clic en el botón “Entrar al Aula” para entrar en Moodle, la plataforma donde se alojan los cursos.", + "number": "1" + }, + { + "color": "number", + "title": "Elige tu curso", + "description": "Explora el catálogo y selecciona el curso que mejor se adapte a tu entidad o a tu rol dentro de ella.", + "number": "2" + }, + { + "color": "number", + "title": "Aprende a tu ritmo", + "description": "Accede al contenido cuando quieras. Sin horarios ni plazos.", + "number": "3" + } + ] + } + }, + { + "component": "SectionWithCards", + "props": { + "id": "que-cursos-puedes-hacer", + "title": "¿Qué cursos puedes hacer?", + "description": "Cursos gratuitos para entidades sociales que quieren crecer, cooperar y transformarse.
Estos son algunos de los que encontrarás:", + "display": "col-3-transparent", + "cardsType": "course", + "bgColor": "aula", + "cards": [ + { + "color": "ods", + "title": "Agenda 2030 y medición del impacto", + "description": "Aplica los ODS en tu entidad y mide tu progreso con la herramienta OpenODS." + }, + { + "color": "consumo", + "title": "Vender en clave social", + "description": "Aprende a usar la plataforma Consumo Cuidado para ofrecer tus productos o servicios de forma ética y cooperativa." + }, + { + "color": "iguales", + "title": "Igualdad y autodiagnóstico", + "description": "Incorpora la perspectiva de género y realiza un autodiagnóstico participativo para avanzar en igualdad." + } + ], + "hasButton": true, + "buttonSection": { + "button": { + "label": "Comienza tu formación", + "link": "", + "color": "button" + } + } + } + } +] \ No newline at end of file diff --git a/data/es/certifica-t.json b/data/es/certifica-t.json index 2151bdf..1c680f9 100644 --- a/data/es/certifica-t.json +++ b/data/es/certifica-t.json @@ -44,6 +44,7 @@ "description": "Todo lo que necesitas para empezar tu camino hacia la certificación.", "display": "col-2", "bgColor": "certifica", + "cardsType": "transparent", "cards": [ { "color": "transparent", diff --git a/data/es/consumo-cuidado.json b/data/es/consumo-cuidado.json index 1bb3017..ff02219 100644 --- a/data/es/consumo-cuidado.json +++ b/data/es/consumo-cuidado.json @@ -44,6 +44,7 @@ "description": "Consumo Cuidado no es una tienda online tradicional.
Es una plataforma tipo escaparate digital descentralizado.", "display": "col-3-transparent", "bgColor": "consumo", + "cardsType": "transparent", "cards": [ { "color": "transparent", diff --git a/data/es/foro.json b/data/es/foro.json index 8b68e91..0d79384 100644 --- a/data/es/foro.json +++ b/data/es/foro.json @@ -42,6 +42,7 @@ "description": "Un lugar para encontrar respuestas, aportar ideas y sumar experiencias.", "display": "col-3-transparent", "bgColor": "foro", + "cardsType": "transparent", "cards": [ { "color": "transparent", diff --git a/data/es/iguales.json b/data/es/iguales.json index 8532c1b..bed953e 100644 --- a/data/es/iguales.json +++ b/data/es/iguales.json @@ -44,6 +44,7 @@ "description": "Responde un formulario y recibe un itinerario con propuestas adaptadas a tu entidad.", "display": "col-3-transparent", "bgColor": "iguales", + "cardsType": "transparent", "cards": [ { "color": "transparent", diff --git a/data/es/index.json b/data/es/index.json index 1df6358..d3b27eb 100644 --- a/data/es/index.json +++ b/data/es/index.json @@ -63,6 +63,7 @@ "description": "Elige la herramienta que mejor se adapte a tu entidad. Todas son gratuitas, prácticas y pensadas para organizaciones de economía social.", "display": "col-3", "bgColor": "gradient-conic", + "cardsType": "colored", "cards": [ { "color": "consumo", diff --git a/pages/[langcode]/aula-virtual.vue b/pages/[langcode]/aula-virtual.vue index 430a1c1..6de6bed 100644 --- a/pages/[langcode]/aula-virtual.vue +++ b/pages/[langcode]/aula-virtual.vue @@ -1,16 +1,46 @@ - - \ No newline at end of file +} + \ No newline at end of file