Skip to content

Commit

Permalink
Improve intro section
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeorge committed Apr 3, 2024
1 parent bab4050 commit 8a3b0c2
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 104 deletions.
24 changes: 24 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ map_config:
coordinates: [-1.43792, -48.46148] # Latitude, Longitude
zoom_level: 18


# Translations
t:
en:
Expand All @@ -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)"
Expand Down Expand Up @@ -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)"
Expand Down Expand Up @@ -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."


27 changes: 27 additions & 0 deletions _includes/home/intro.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<header class="intro">
<div class="intro-body">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<img src="{{ "/images/SotMLatam19.png" | relative_url }}" alt="{{ site.t[page.lang].intro_section.alt_text }}" class="img-responsive main-logo">
<h1>{{ site.t[page.lang].intro_section.headline }}</h1>
<h4 class="margin: 0px">{{ site.t[page.lang].intro_section.location }}</h4>
<h2>{{ site.t[page.lang].intro_section.dates }}</h2>
<div class="about-button">
<span class="col-xs-12 col-sm-4 btn-item">
<a class="btn btn-default" href="https://www.eventbrite.com/e/osm-latam-py-2024-tickets-70204859625" target="_blank" role="button">{{ site.t[page.lang].intro_section.register_button }}</a>
</span>
<span class="col-xs-12 col-sm-4 btn-item">
<a href="#about" class="btn btn-circle page-scroll">
<i class="fa fa-angle-double-down animated"></i>
</a>
</span>
<span class="col-xs-12 col-sm-4 btn-item">
<a target="_blank" class="btn btn-default" href="https://www.papercall.io/osmlatam" role="button">{{ site.t[page.lang].intro_section.submit_presentation }}</a>
</span>
</div>
</div>
</div>
</div>
</div>
</header>
31 changes: 1 addition & 30 deletions en/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,7 @@
lang: en
---

<header class="intro">
<div class="intro-body">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<img src="{{ "/images/SOTM_2019.png" | relative_url }}" alt="State of the Map LATAM - Encarnacion 2019" class="img-responsive main-logo">
<h1>¿What world do your <span>maps show?</span></h1>
<h4 class="margin: 0px">Encarnación - Paraguay</h4>
<h2>14<sup>th</sup> - 15<sup>th</sup> - 16<sup>th</sup> November</h2>
<div class="about-button">
<span class="col-xs-12 col-sm-4 btn-item">
<a class="btn btn-default" href="https://www.eventbrite.com/e/osm-latam-py-2019-tickets-70204859625" target="_blank" role="button">Register</a>
</span>
<span class="col-xs-12 col-sm-4 btn-item">
<a href="#about" class="btn btn-circle page-scroll">
<i class="fa fa-angle-double-down animated"></i>
</a>
</span>
<span class="col-xs-12 col-sm-4 btn-item">
<a target="_blank" class="btn btn-default"
href="" role="button">
Send your presentation <br> Soon
</a>
</span>
</div>
</div>
</div>
</div>
</div>
</header>
{% include home/intro.html %}

<!-- seccion historia-->

Expand Down
38 changes: 1 addition & 37 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,43 +4,7 @@
lang: es
---

<header class="intro">
<div class="intro-body">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<img src="{{ " /images/SotMLatam19.png" | relative_url }}" alt="State
of the Map LATAM - Belém 2024" class="img-responsive main-logo">
<h1>¿Qué mundo revelan <span>tus mapas?</span></h1>
<h4 class="margin: 0px">Belém, Brasil</h4>
<h2>7 y 8 de deciembre</h2>
<div class="about-button">
<span class="col-xs-12 col-sm-4 btn-item">
<!--- link de registro -->
<a class="btn btn-default" href="https://www.eventbrite.com/e/osm-latam-py-2024-tickets-70204859625"
target="_blank" role="button">Registrate</a>
</span>
<span class="col-xs-12 col-sm-4 btn-item">
<!---scroll a about-->
<a href="#about" class="btn btn-circle page-scroll">
<i class="fa fa-angle-double-down animated"></i>
</a>
</span>
<span class="col-xs-12 col-sm-4 btn-item">
<!---link de envia tu presentación-->
<a target="_blank" class="btn btn-default" href="https://www.papercall.io/osmlatam" role="button">
Envia tu Ponencia
</a>
<a target="_blank" class="btn btn-default" href="https://www.papercall.io/osmlatamtalleres" role="button">
Envia tu Taller
</a>
</span>
</div>
</div>
</div>
</div>
</div>
</header>
{% include home/intro.html %}

<!-- seccion historia-->

Expand Down
38 changes: 1 addition & 37 deletions pt/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,43 +5,7 @@
---


<header class="intro">
<div class="intro-body">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<img src="/images/SOTM_2019.png" alt="State of the Map LATAM - Encarnacion 2019" class="img-responsive main-logo">
<h1>¿Qué mundo revelan <span>seus mapas?</span></h1>
<h4 class="margin: 0px">Encarnación - Paraguai</h4>
<h2>14, 15 y 16 de Novembro</h2>
<div class="about-button">
<span class="col-xs-12 col-sm-4 btn-item">
<!--- link de registro -->
<a class="btn btn-default" href="https://www.eventbrite.com/e/osm-latam-py-2019-tickets-70204859625" target="_blank" role="button">Inscreva-se</a>
</span>
<span class="col-xs-12 col-sm-4 btn-item">
<!---scroll a about-->
<a href="#about" class="btn btn-circle page-scroll">
<i class="fa fa-angle-double-down animated"></i>
</a>
</span>
<span class="col-xs-12 col-sm-4 btn-item">
<!---link de envia tu presentación-->
<a target="_blank" class="btn btn-default"
href="https://www.papercall.io/osmlatam" role="button">
Envie sua apresentação
</a>
<a target="_blank" class="btn btn-default"
href="https://www.papercall.io/osmlatamtalleres" role="button">
Envie seu wokrshops
</a>
</span>
</div>
</div>
</div>
</div>
</div>
</header>
{% include home/intro.html %}


<!-- seccion historia-->
Expand Down

0 comments on commit 8a3b0c2

Please sign in to comment.