Skip to content

Commit 5131230

Browse files
clytaemnestrapre-commit-ci[bot]egeakmanhypha
authored
Update links & Add CTA (#1053)
- added a CTA - on mobile, the only header button was CoC, so I moved it under “About” and left “Register Now!” in the header (similar to RustWeek or JSNation) - updated all button links to the Pretix URL - updated the FAQ page 🖼️ Preview available 🖼️ : https://ep-website--1053.org.readthedocs.build/ --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ege Akman <[email protected]> Co-authored-by: hypha <[email protected]>
1 parent bed878f commit 5131230

File tree

7 files changed

+66
-34
lines changed

7 files changed

+66
-34
lines changed

src/components/header/header-actions.astro

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,8 @@ const IS_LIVE = false;
2323
{
2424
!mobile ? (
2525
<>
26-
<ButtonLink secondary url="https://www.europython-society.org/coc/">
27-
<abbr title="Code of Conduct" class="no-underline md:hidden">
28-
CoC
29-
</abbr>
30-
<span class="hidden md:inline">Code of Conduct</span>
31-
</ButtonLink>
32-
<ButtonLink url="https://ep2025.europython.eu/tickets" className="hidden md:block">
33-
<span>Tickets</span>
26+
<ButtonLink url="/tickets" className="hidden md:block">
27+
<span>Register Now! 🎟️</span>
3428
</ButtonLink>
3529
{IS_LIVE && (
3630
<ButtonLink url="/live">

src/components/ticket-tiers/ticket-tiers.astro

Lines changed: 36 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -102,40 +102,58 @@ const formatPrice = (price: number | string) => {
102102
<div class="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-3 gap-10 md:gap-6 lg:gap-10">
103103
{tiers.map((tier) => (
104104
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
105-
<div class="h-[160px]">
105+
<div>
106106
<Title level={3} className="mt-0 !mb-2">
107107
{tier.title}
108108
</Title>
109109

110-
<div class="mt-4">
111-
<div class="font-bold text-lg">Education: <span class="text-xl">{formatPrice(tier.educationPrice)}</span></div>
112-
<div class="font-bold text-lg">Personal: <span class="text-xl">{formatPrice(tier.personalPrice)}</span>
110+
<div class="mt-4 space-y-2">
111+
<div>
112+
<div class="font-bold text-lg">
113+
Education:
114+
<span class="text-xl ml-1">{formatPrice(tier.educationPrice)}</span>
115+
</div>
116+
</div>
117+
118+
<div>
119+
<div class="font-bold text-lg">
120+
Personal:
121+
<span class="text-xl ml-1">{formatPrice(tier.personalPrice)}</span>
122+
</div>
113123
{tier.latePersonalPrice && (
114-
<span class="text-sm font-normal ml-2">(Late: {formatPrice(tier.latePersonalPrice)})</span>
124+
<div class="text-sm font-normal ml-1">(Late personal: {formatPrice(tier.latePersonalPrice)})</div>
115125
)}
116126
</div>
117-
<div class="font-bold text-lg">Business: <span class="text-xl">{formatPrice(tier.businessPrice)} (+ VAT)</span>
127+
128+
<div>
129+
<div class="font-bold text-lg">
130+
Business:
131+
<span class="text-xl ml-1">{formatPrice(tier.businessPrice)} (+ VAT)</span>
132+
</div>
118133
{tier.lateBusinessPrice && (
119-
<span class="text-sm font-normal ml-2">(Late: {formatPrice(tier.lateBusinessPrice)} + VAT)</span>
134+
<div class="text-sm font-normal ml-1">(Late business: {formatPrice(tier.lateBusinessPrice)} + VAT)</div>
120135
)}
121136
</div>
122137
</div>
123138
</div>
124139

125-
<p class="font-bold text-base">This ticket includes:</p>
126-
<ul class="text-base list-none pl-0">
127-
{tier.features.map((feature) => (
128-
<li class="flex items-start">
129-
<span class="flex-shrink-0 w-6">
130-
{feature.icon ? feature.icon : "✔️"}
131-
</span>
132-
<span set:html={feature.text}></span>
133-
</li>
134-
))}
135-
</ul>
140+
<div class="mt-6">
141+
<p class="font-bold text-base">This ticket includes:</p>
142+
<ul class="text-base list-none pl-0">
143+
{tier.features.map((feature) => (
144+
<li class="flex items-start">
145+
<span class="flex-shrink-0 w-6">
146+
{feature.icon ? feature.icon : "✔️"}
147+
</span>
148+
<span set:html={feature.text}></span>
149+
</li>
150+
))}
151+
</ul>
152+
</div>
136153
</div>
137154
))}
138155
</div>
156+
</div>
139157

140158
<style is:global>
141159
.ticket-tiers-container {
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: Ticket Sale
3+
subtitle: Register Now!
4+
url: /tickets
5+
image: "./registration.jpg"
6+
---
7+
8+
Grab your spot at EuroPython 2025. Share, learn, and connect with fellow
9+
Pythonistas—tickets are limited!
6.4 MB
Loading

src/content/pages/faq.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ subtitle: Frequently Asked Questions about EuroPython
1919
<li>**17 February 2025:** Community Voting and Review ends</li>
2020
<li>**8 March 2025** [Financial Aid](/finaid/) Programme starts</li>
2121
<li>**11 March 2025:** [Sponsorship](/sponsor) Sign-up Starts</li>
22+
<li>**27 March 2025:** [Ticket sales](/tickets) open!</li>
2223
</ul>
2324

2425
<ul className="milestone-todo">
2526
<li>**February/March 2025** Programme selection process</li>
26-
<li>**March 2025** Ticket sales open!</li>
2727
<li>**March 2025** Visa Information Page opens</li>
2828
<li>**01 April 2025** Session preview</li>
2929
<li>**20 April 2025** Schedule published</li>
@@ -87,7 +87,7 @@ Got any questions? Reach out to us at [[email protected]](mailto:programme
8787

8888
## **Q. When do ticket sales start, and how much will they cost?**
8989

90-
A. Ticket sales are expected to open in March. Stay tuned for updates!
90+
A. Ticket sales are already open! For more info, check out our [tickets](/tickets) page. Capacity is limited, so hurry up.
9191

9292
## **Q. Is there a Financial Aid Programme for EuroPython 2025?**
9393

src/content/pages/tickets.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
2-
title: Sponsor
2+
title: Tickets
33
subtitle:
4-
Sponsoring EuroPython guarantees you highly targeted visibility
5-
and the opportunity to present yourself and your company to one
6-
of the largest and most diverse Python communities in Europe and beyond.
4+
Discover the latest Python trends, learn from 180+ expert speakers, network with fellow developers, enjoy social events, and explore open spaces to spark new ideas! Organized by the community for the community.
75
---
86

97
import TicketTiers from "../../components/ticket-tiers/ticket-tiers.astro";
@@ -15,7 +13,7 @@ Discover the latest Python trends, learn from 180+ expert speakers, network with
1513
</div>
1614

1715
<div class="text-center">
18-
<ButtonLink url="">Registration Starting Soon!</ButtonLink>
16+
<ButtonLink url="https://tickets.europython.eu/">Beam me up to the ticket shop!</ButtonLink>
1917
</div>
2018

2119

@@ -143,5 +141,5 @@ If you have any questions, check our <a href="/faq" class="text-primary hover:te
143141

144142

145143
<div class="text-center">
146-
<ButtonLink url="">Registration Starting Soon!</ButtonLink>
144+
<ButtonLink url="https://tickets.europython.eu/">Beam me up to the ticket shop!</ButtonLink>
147145
</div>

src/data/links.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,22 @@
5959
}
6060
]
6161
},
62+
{
63+
"name": "Registration",
64+
"items": [
65+
{
66+
"name": "Tickets information",
67+
"path": "/tickets"
68+
}
69+
]
70+
},
6271
{
6372
"name": "Info & Support",
6473
"items": [
74+
{
75+
"name": "Code of Conduct",
76+
"path": "https://www.europython-society.org/coc/"
77+
},
6578
{
6679
"name": "FAQ",
6780
"path": "/faq"

0 commit comments

Comments
 (0)