Skip to content

Commit 4203d97

Browse files
authored
Merge pull request #76 from jagpreetrahi/update-paris-2025-session-more-ui
Update paris 2025 session more UI
2 parents c808006 + 7e22c23 commit 4203d97

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

content/_index.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,20 @@ draft: false
2020

2121
<div class="cta-row">
2222
{{< button-link label="Apply to Speak"
23-
url="https://forms.gle/zaVhgqdPvja38rVw6" >}}
23+
url="https://forms.gle/zaVhgqdPvja38rVw6"
24+
target="_blank" >}}
2425

2526
{{< button-link label="Become a Sponsor"
26-
url="https://opencollective.com/json-schema/events/the-json-schema-conference-2025-f7f367ce" >}}
27+
url="https://opencollective.com/json-schema/events/the-json-schema-conference-2025-f7f367ce"
28+
target="_blank" >}}
2729

2830
{{< button-link label="Meet Speakers"
29-
url="./speakers" >}}
31+
url="./speakers"
32+
target="_blank" >}}
3033

3134
{{< button-link label="Get Tickets"
32-
url="https://ticket.apidays.global/event/apidays-paris-2025/3cccd07f-acb2-466e-8d91-cb1f208ecf42?_gl=1*1i6mx1e*_gcl_au*MTY3OTY0ODcyNS4xNzUwMTA0MzA4" >}}
35+
url="https://ticket.apidays.global/event/apidays-paris-2025/3cccd07f-acb2-466e-8d91-cb1f208ecf42?_gl=1*1i6mx1e*_gcl_au*MTY3OTY0ODcyNS4xNzUwMTA0MzA4"
36+
target="_blank" >}}
3337

3438
</div>
3539

layouts/sessions/list.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ <h2 class="highlights-title">2024 Highlights</h2>
4141
</div>
4242
</div>
4343
</div>
44-
<a href="https://ticket.apidays.global/event/apidays-paris-2025/3cccd07f-acb2-466e-8d91-cb1f208ecf42?_gl=1*1i6mx1e*_gcl_au*MTY3OTY0ODcyNS4xNzUwMTA0MzA4">
44+
<a href="https://ticket.apidays.global/event/apidays-paris-2025/3cccd07f-acb2-466e-8d91-cb1f208ecf42?_gl=1*1i6mx1e*_gcl_au*MTY3OTY0ODcyNS4xNzUwMTA0MzA4"
45+
target="_blank"
46+
rel="noopener">
4547
<button >Get Your Ticket!</button>
4648
</a>
4749
</div>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{{ $_hugo_config := `{ "version": 1 }` }}
2+
{{ $icon := .Get "icon" }}
3+
{{ $url := .Get "url" }}
4+
{{ $label := .Get "label" }}
5+
6+
<a class="btn primary" href="{{ $url }}" {{ with .Get "target" }} target="{{ . }}"{{ end }}>
7+
{{ if and $icon (not (eq $icon "right")) }}{{ partial "icon.html" $icon }}{{ end }}
8+
{{- $label -}}
9+
{{ if eq $icon "right" }}{{ partial "icon.html" $icon }}{{ end }}
10+
</a>
11+

themes/devfest-theme-hugo

0 commit comments

Comments
 (0)