Skip to content

Commit 22110b9

Browse files
committed
Fix late tiers overlapping; update CTA text
1 parent c67b936 commit 22110b9

File tree

2 files changed

+37
-19
lines changed

2 files changed

+37
-19
lines changed

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 {

src/content/deadlines/04_tickets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ url: /tickets
55
image: "./registration.jpg"
66
---
77

8-
Grab your spot at the main Python conference in Europe. Share, learn, and
8+
Grab your spot at EuroPython 2025. Share, learn, and
99
connect with fellow Pythonistas—tickets are limited!

0 commit comments

Comments
 (0)