Skip to content

Commit

Permalink
Update intro section
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeorge committed Apr 19, 2024
1 parent 4ade8d4 commit 510f5be
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ t:
dates: "December 6-8, 2024"
registrations_button: "Register Now"
submit_proposal: "Submit Your Proposal"
view_program: "View Program"
program_section:
title: "Program"
call_for_proposals_will_open_soon: "The call for activities will open soon!"
Expand Down Expand Up @@ -111,6 +112,7 @@ t:
dates: "6, 7 y 8 de diciembre, 2024"
registrations_button: "Inscripciones"
submit_proposal: "Envía tu Ponencia"
view_program: "Ver Program"
program_section:
title: "Programa"
call_for_proposals_will_open_soon: "La convocatoria de actividades se abrirá pronto!"
Expand Down Expand Up @@ -150,6 +152,7 @@ t:
dates: "6, 7 e 8 de dezembro de 2024"
registrations_button: "Inscreva-se"
submit_proposal: "Envie sua atividade"
view_program: "Ver Programa"
program_section:
title: "Programa"
call_for_proposals_will_open_soon: "A chamada de atividades será aberta em breve!"
Expand Down
22 changes: 12 additions & 10 deletions _includes/home/intro.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
{% assign t = site.t[page.lang] %}

<div class="intro">
<div class="intro-body">
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<img src="https://placehold.co/220x320" class="intro-logo" alt="State of the Map Latam 2024 Logo">

<div class="intro-headline">{{ site.t[page.lang].intro_section.headline }}</div>
<div class="intro-dates">{{ site.t[page.lang].intro_section.dates }}</div>
<div class="intro-headline">{{ t.intro_section.headline }}</div>
<div class="intro-dates">{{ t.intro_section.dates }}</div>
<div class="about-button">
{% if site.registrations.open %}
<span class="col-xs-12 col-sm-4 btn-item">
<a class="btn btn-default" href="{{ site.registrations.url }}""
target=" _blank" role="button">{{ site.t[page.lang].intro_section.registrations_button }}</a>
<a class="btn btn-default" href="{{ site.registrations.url }}" target="_blank" role="button">{{
t.intro_section.registrations_button }}</a>
</span>
{% endif %}
<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>
{% if site.program.proposals.open %}
{% if site.program.stage == 'call-for-proposals-open' %}
<span class="col-xs-12 col-sm-4 btn-item">
<a target="_blank" class="btn btn-default" href="{{ site.program.proposals.url}}" role="button">{{
site.t[page.lang].intro_section.submit_proposal }}</a>
<a target="_blank" class="btn btn-default" href="{{ site.program.proposals.url }}" role="button">{{
t.intro_section.submit_proposal }}</a>
</span>
{% elsif site.program.schedule.ready %}
{% elsif site.program.stage == 'program-is-ready' %}
<span class="col-xs-12 col-sm-4 btn-item">
<a target="_blank" class="btn btn-default" href="{{ site.program.schedule.url }}" role="button">{{
site.t[page.lang].intro_section.schedule }}</a>
<a target="_blank" class="btn btn-default" href="{{ site.program.url }}" role="button">{{
t.intro_section.view_program }}</a>
</span>
{% endif %}
</div>
Expand Down

0 comments on commit 510f5be

Please sign in to comment.