diff --git a/assets/css/main.css b/assets/css/main.css index 61ca729..c000b22 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -48,6 +48,7 @@ /* Spacing */ --spacing-32: 2rem; /* 32px */ --spacing-10.2: 10.25rem; /* 164px */ + --spacing-20.1: 20.168rem; /* 322px */ --spacing-21.8: 21.875rem; /* 350px */ --spacing-25.6: 25.688rem; /* 411px */ --spacing-44.8: 44.813rem; /* 717px */ @@ -61,7 +62,7 @@ /* Mobile < 640px; */ /* Super desktop */ -@media screen and (min-width: 1920px) { +@media screen and (min-width: 1023px) { :root { --default-font-size: var(--font-size-lg); /* 18px */ --layout-padding-x: 2rem; /* 32px */ @@ -179,6 +180,46 @@ html { scroll-behavior: smooth; } +h1 { + font-size: var(--font-size-H1); +} + +h2 { + font-size: var(--font-size-H2); +} + +h3 { + font-size: var(--font-size-H3); +} + +h4 { + font-size: var(--font-size-H4); +} + +h5 { + font-size: var(--font-size-H5); +} + +.text-2xl { + font-size: var(--font-size-2xl); +} +.text-lg { + font-size: var(--font-size-lg); +} +.text-base { + font-size: var(--font-size-base); +} +.text-sm { + font-size: var(--font-size-sm); +} +.text-xs { + font-size: var(--font-size-xs); +} + +.text-button-base { + font-size: var(--font-size-button-base); +} + .body-overflow-hidden { overflow: hidden; } diff --git a/components/LogosWithText.vue b/components/LogosWithText.vue new file mode 100644 index 0000000..d27cacb --- /dev/null +++ b/components/LogosWithText.vue @@ -0,0 +1,47 @@ + + + diff --git a/components/TextWithImage.vue b/components/TextWithImage.vue new file mode 100644 index 0000000..663d762 --- /dev/null +++ b/components/TextWithImage.vue @@ -0,0 +1,56 @@ + + + \ No newline at end of file diff --git a/components/WhatIs.vue b/components/WhatIs.vue index 2c910cc..3df5ece 100644 --- a/components/WhatIs.vue +++ b/components/WhatIs.vue @@ -11,7 +11,7 @@ diff --git a/data/es/index.json b/data/es/index.json index 7d04620..5c95075 100644 --- a/data/es/index.json +++ b/data/es/index.json @@ -125,5 +125,43 @@ } ] } + }, + { + "component": "TextWithImage", + "id": "home-impulsar-cambio", + "props": { + "title": "Impulsar el cambio, transformar en colectivo", + "paragraphs": [ + "En kit-ECO.SOCIAL entendemos la sostenibilidad, la igualdad y la mejora continua como principios fundamentales para construir una economía social sólida, inclusiva y con futuro. Por eso, ponemos a disposición de las entidades herramientas accesibles y prácticas que promueven la transformación desde el trabajo diario, el compromiso colectivo y la cooperación en red.", + "Nuestro propósito es acompañar a quienes impulsan el cambio, ofreciendo recursos que refuercen su impacto y les permitan crecer de forma consciente y cuidada." + ], + "position": "left", + "image": { + "src": "hands.png", + "alt": "Puños unidos en un gesto de fuerza y unidad" + } + } + }, + { + "component": "LogosWithText", + "id": "iniciativa-colectiva", + "props": { + "title": "Una iniciativa colectiva", + "description": "kit-ECO.social es posible gracias al trabajo conjunto de organizaciones que apuestan por una economía social transformadora.", + "logos": [ + { + "src": "logo-enreda.png", + "alt": "Logo de Enreda Coop" + }, + { + "src": "logo-nortes.png", + "alt": "Logo de Nortes" + }, + { + "src": "logo-ecored.png", + "alt": "Logo de Ecored" + } + ] + } } ] diff --git a/pages/[langcode]/index.vue b/pages/[langcode]/index.vue index c171241..5f19cd0 100644 --- a/pages/[langcode]/index.vue +++ b/pages/[langcode]/index.vue @@ -19,11 +19,16 @@ import { mapGetters, mapActions } from 'vuex'; import HeroHome from '~/components/HeroHome.vue'; import WhatIs from '../../components/WhatIs.vue'; import SectionWithCards from '../../components/SectionWithCards.vue'; +import TextWithImage from '../../components/TextWithImage.vue'; +import LogosWithText from '../../components/LogosWithText.vue'; + export default { components: { HeroHome, WhatIs, - SectionWithCards + SectionWithCards, + TextWithImage, + LogosWithText }, data() { return { diff --git a/public/img/hands.png b/public/img/hands.png new file mode 100644 index 0000000..ae49129 Binary files /dev/null and b/public/img/hands.png differ diff --git a/public/img/logo-ecored.png b/public/img/logo-ecored.png new file mode 100644 index 0000000..5419235 Binary files /dev/null and b/public/img/logo-ecored.png differ diff --git a/public/img/logo-enreda.png b/public/img/logo-enreda.png new file mode 100644 index 0000000..c66c327 Binary files /dev/null and b/public/img/logo-enreda.png differ diff --git a/public/img/logo-nortes.png b/public/img/logo-nortes.png new file mode 100644 index 0000000..f621d49 Binary files /dev/null and b/public/img/logo-nortes.png differ