Skip to content

Commit

Permalink
Update registration buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeorge committed Apr 15, 2024
1 parent cb8964f commit 1a663ac
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
15 changes: 11 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ registrations:
open: true
url: https://doity.com.br/sotm-latam-bra-2024

program_stage: pre-call-for-proposals
program:
proposals:
open: false
url: https://pretalx.com/sotm-latam-bra-2024/cfp
schedule:
ready: false
url: https://pretalx.com/sotm-latam-bra-2024/schedule


# Build settings
markdown: kramdown
Expand Down Expand Up @@ -50,7 +57,7 @@ t:
location: "Belém, Brazil"
dates: "December 7 and 8, 2024"
registrations_button: "Register Now"
submit_presentation: "Submit Your Presentation"
submit_proposal: "Submit Your Proposal"
venue_section:
title: "Venue"
place_name: "Instituto Federal do Pará (IFPA)"
Expand All @@ -76,7 +83,7 @@ t:
location: "Belém, Brasil"
dates: "7 y 8 de diciembre, 2024"
registrations_button: "Inscripciones"
submit_presentation: "Envía tu Ponencia"
submit_proposal: "Envía tu Ponencia"
venue_section:
title: "Lugar"
place_name: "Instituto Federal do Pará (IFPA)"
Expand All @@ -102,7 +109,7 @@ t:
location: "Belém, Brasil"
dates: "7 e 8 de dezembro de 2024"
registrations_button: "Inscreva-se"
submit_presentation: "Envie sua Apresentação"
submit_proposal: "Envie sua atividade"
venue_section:
title: "Local"
place_name: "Instituto Federal do Pará (IFPA)"
Expand Down
15 changes: 11 additions & 4 deletions _includes/home/intro.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,28 @@
<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="about-button">
{{ if site.registrations.open }}
{% 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>
</span>
{{ end }}
{% 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 %}
<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>
<a target="_blank" class="btn btn-default" href="{{ site.program.proposals.url}}" role="button">{{
site.t[page.lang].intro_section.submit_proposal }}</a>
</span>
{% elsif site.program.schedule.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>
</span>
{% endif %}
</div>
</div>
</div>
Expand Down

0 comments on commit 1a663ac

Please sign in to comment.