From 8a3b0c2459ecb675a44afe2aa9554f1e4bc50649 Mon Sep 17 00:00:00 2001 From: Vitor George Date: Wed, 3 Apr 2024 15:57:24 +0100 Subject: [PATCH] Improve intro section --- _config.yml | 24 ++++++++++++++++++++++++ _includes/home/intro.html | 27 +++++++++++++++++++++++++++ en/index.html | 31 +------------------------------ index.html | 38 +------------------------------------- pt/index.html | 38 +------------------------------------- 5 files changed, 54 insertions(+), 104 deletions(-) create mode 100644 _includes/home/intro.html diff --git a/_config.yml b/_config.yml index 3416dbf..19c0d62 100644 --- a/_config.yml +++ b/_config.yml @@ -20,6 +20,7 @@ map_config: coordinates: [-1.43792, -48.46148] # Latitude, Longitude zoom_level: 18 + # Translations t: en: @@ -45,6 +46,13 @@ t: wiki: label: Wiki url: https://wiki.openstreetmap.org/wiki/State_Of_The_Map_Latam_2024 + intro_section: + alt_text: "State of the Map LATAM - Belém 2024" + headline: "What world do your maps reveal?" + location: "Belém, Brazil" + dates: "December 7 and 8" + register_button: "Register" + submit_presentation: "Submit Your Presentation" venue_section: title: "Venue" place_name: "Instituto Federal do Pará (IFPA)" @@ -72,6 +80,14 @@ t: wiki: label: Wiki url: https://wiki.openstreetmap.org/wiki/ES:State_of_the_Map_Latam_2024 + # Sections + intro_section: + alt_text: "State of the Map LATAM - Belém 2024" + headline: "¿Qué mundo revelan tus mapas?" + location: "Belém, Brasil" + dates: "7 y 8 de diciembre" + register_button: "Regístrate" + submit_presentation: "Envía tu Ponencia" venue_section: title: "Lugar" place_name: "Instituto Federal do Pará (IFPA)" @@ -100,8 +116,16 @@ t: wiki: label: Wiki url: https://wiki.openstreetmap.org/wiki/Pt:State_of_the_Map_Latam_2024 + intro_section: + alt_text: "State of the Map LATAM - Belém 2024" + headline: "Que mundo os seus mapas revelam?" + location: "Belém, Brasil" + dates: "7 e 8 de dezembro" + register_button: "Registre-se" + submit_presentation: "Envie sua Apresentação" venue_section: title: "Local" place_name: "Instituto Federal do Pará (IFPA)" description: "Vivamus aliquet dignissim sapien, semper venenatis massa sagittis dictum. Mauris in magna rutrum, tristique est quis, venenatis nisl. Sed quis nibh nulla. Praesent eu volutpat urna. Maecenas venenatis, augue sed aliquam luctus, nibh lectus pellentesque magna, at egestas eros nisi sit amet lacus. In hac habitasse platea dictumst." + diff --git a/_includes/home/intro.html b/_includes/home/intro.html new file mode 100644 index 0000000..ed33e6a --- /dev/null +++ b/_includes/home/intro.html @@ -0,0 +1,27 @@ +
+
+
+
+
+ +

{{ site.t[page.lang].intro_section.headline }}

+

{{ site.t[page.lang].intro_section.location }}

+

{{ site.t[page.lang].intro_section.dates }}

+ +
+
+
+
+
diff --git a/en/index.html b/en/index.html index 8632096..db89241 100644 --- a/en/index.html +++ b/en/index.html @@ -4,36 +4,7 @@ lang: en --- -
-
-
-
-
- -

¿What world do your maps show?

-

Encarnación - Paraguay

-

14th - 15th - 16th November

- -
-
-
-
-
+{% include home/intro.html %} diff --git a/index.html b/index.html index e1e74db..1a61aee 100644 --- a/index.html +++ b/index.html @@ -4,43 +4,7 @@ lang: es --- -
-
-
-
-
- -

¿Qué mundo revelan tus mapas?

-

Belém, Brasil

-

7 y 8 de deciembre

- -
-
-
-
-
+{% include home/intro.html %} diff --git a/pt/index.html b/pt/index.html index 243e3bc..b133236 100644 --- a/pt/index.html +++ b/pt/index.html @@ -5,43 +5,7 @@ --- -
-
-
-
-
- -

¿Qué mundo revelan seus mapas?

-

Encarnación - Paraguai

-

14, 15 y 16 de Novembro

- -
-
-
-
-
+{% include home/intro.html %}