Skip to content

Commit

Permalink
Make section headers work as links
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeorge committed Jun 27, 2024
1 parent 4d372b4 commit 8f2d457
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
8 changes: 6 additions & 2 deletions _includes/home/contact.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{% assign t = site.t[page.lang].contact_section %}
{% assign contact_url = site.contact_form_url[page.lang] %}

<section id="sponsors" class="container content-section text-center">
<h1>{{ t.title }}</h1>
<section id="contact" class="container content-section text-center">
<h2>
<a href="#contact">
{{ t.title }}
</a>
</h2>
<p>{{ t.description }}</p>
<a target="_blank" href="{{ contact_url }}" class="btn btn-default">{{ t.button_title }}</a>
</section>
6 changes: 5 additions & 1 deletion _includes/home/program.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
{% assign t = site.t[page.lang].program_section %}
{% assign program_stage = site.program.stage %}

<h2>{{ t.title }}</h2>
<h2>
<a href="#program">
{{ t.title }}
</a>
</h2>

{% case program_stage %}
{% when "call-for-proposals-will-open-soon" %}
Expand Down
6 changes: 5 additions & 1 deletion _includes/home/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@

<section id="sponsors" class="container content-section text-center">

<h1>{{ t.sponsors_title }}</h1>
<h2>
<a href="#sponsors">
{{ t.sponsors_title }}
</a>
</h2>
<p>{{ t.sponsors_description }}</p>
<a target="_blank" href="{{ site.baseurl }}/assets/documents/sotm-latam-2024-sponsor-brochure-{{ page.lang }}.pdf"
class="btn btn-default">{{ t.brochure_button }}</a>
Expand Down

0 comments on commit 8f2d457

Please sign in to comment.