Skip to content

Commit ad1ba4c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1e119c4 commit ad1ba4c

File tree

4 files changed

+32
-30
lines changed

4 files changed

+32
-30
lines changed

src/components/hero-section/title-with-cta.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ const { title, subtitle, buttonText, buttonUrl } = Astro.props;
1515
<div class="py-12 text-center">
1616
<Title level={1} className="mb-4">{title}</Title>
1717
<p class="text-2xl max-w-3xl mx-auto mb-8">{subtitle}</p>
18-
18+
1919
{buttonText && buttonUrl && (
2020
<div class="mt-8">
2121
<ButtonLink url={buttonUrl}>{buttonText}</ButtonLink>
2222
</div>
2323
)}
24-
24+
2525
<slot />
2626
</div>

src/components/note/note.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export const Note = ({ children }: { children: React.ReactNode }) => {
22
return (
3-
<p className="note text-xl p-4 border-l-4 border-primary bg-primary-light my-6">{children}</p>
3+
<p className="note text-xl p-4 border-l-4 border-primary bg-primary-light my-6">
4+
{children}
5+
</p>
46
);
57
};

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ const formatPrice = (price: number | string) => {
8383
<p class="text-xl mt-2">Choose the ticket that best fits your conference needs</p>
8484
<p class="text-xl mt-[-10px] mb-12 font-bold italic">Regular tickets available until 21 June 2024, after which Late-bird rates apply</p>
8585
</div>
86-
86+
8787
<div class="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-3 gap-10 md:gap-6 lg:gap-10">
8888
{tiers.map((tier) => (
8989
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
9090
<div class="h-[160px]">
9191
<Title level={3} className="mt-0 !mb-2">
9292
{tier.title}
9393
</Title>
94-
94+
9595
<div class="mt-4">
9696
<div class="font-bold text-lg">Education: <span class="text-xl">{formatPrice(tier.educationPrice)}</span></div>
9797
<div class="font-bold text-lg">Personal: <span class="text-xl">{formatPrice(tier.personalPrice)}</span>
@@ -124,7 +124,7 @@ const formatPrice = (price: number | string) => {
124124
<h2 class="text-3xl font-bold">Remote Tickets</h2>
125125
<p class="text-xl mt-2 mb-12">For those who cannot attend in person but want to participate virtually</p>
126126
</div>
127-
127+
128128
<div class="grid grid-cols-1 md:grid-cols-2 gap-10 md:gap-9 lg:gap-10 w-full md:w-5/6 lg:w-3/4 mx-auto">
129129
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
130130
<div class="h-[160px]">
@@ -155,7 +155,7 @@ const formatPrice = (price: number | string) => {
155155
</li>
156156
</ul>
157157
</div>
158-
158+
159159
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
160160
<div class="h-[160px]">
161161
<Title level={3} className="mt-0 !mb-2">

src/pages/tickets.astro

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { Note } from "../components/note";
2121
<div class="my-16 text-center">
2222
<Title level={2}>The What, Where and When of EuroPython 2025</Title>
2323
<p class="text-xl mt-4 mb-8 max-w-3xl mx-auto">
24-
EuroPython 2025 will be held on 14-20 July at the
24+
EuroPython 2025 will be held on 14-20 July at the
2525
<a href="/where" class="text-primary hover:text-primary-hover underline">Prague Congress Centre (PCC)</a>, Czech Republic.
2626
For those who cannot physically join us but still want to support the community,
2727
we have remote ticket options.
@@ -48,11 +48,11 @@ import { Note } from "../components/note";
4848

4949
<div class="my-16">
5050
<Title level={2} className="text-center mb-8">Which Ticket Tier Should I Buy?</Title>
51-
51+
5252
<div class="max-w-4xl mx-auto">
5353
<p class="text-lg mb-8">
54-
Each ticket type is available in three payment tiers. We encourage and trust you to pick a
55-
fair ticket tier that fits your personal circumstance. The money you spend will be put
54+
Each ticket type is available in three payment tiers. We encourage and trust you to pick a
55+
fair ticket tier that fits your personal circumstance. The money you spend will be put
5656
straight back into the community to support our diversity initiatives,
5757
<a href="/finaid" class="text-primary hover:text-primary-hover underline">financial aid programmes</a> and
5858
<a href="https://www.europython-society.org/grants/" class="text-primary hover:text-primary-hover underline">other grants</a>
@@ -61,21 +61,21 @@ import { Note } from "../components/note";
6161

6262
<BenefitsList>
6363
<BenefitItem icon="target" title="Business Tickets">
64-
For attendees whose company/business is paying for them to attend, or if you use Python professionally.
64+
For attendees whose company/business is paying for them to attend, or if you use Python professionally.
6565
As someone with the means to afford this tier you help us keep the conference affordable for everyone. Thank you!
6666
</BenefitItem>
6767
<BenefitItem icon="network" title="Personal Tickets">
6868
For those who enjoy Python as a hobbyist or use it as a freelancer.
6969
</BenefitItem>
7070
<BenefitItem icon="rocket" title="Education Tickets">
71-
For students, and teachers working in the education sector (your main employment is at a school, college or university).
71+
For students, and teachers working in the education sector (your main employment is at a school, college or university).
7272
We subsidise Education Tickets to make it accessible to everyone.
7373
</BenefitItem>
7474
</BenefitsList>
75-
75+
7676
<Note>
77-
<p>If you need a proper VAT invoice listing your company's name, please purchase a business ticket.
78-
Personal Tickets do not include a company name. We will list the ticket tier and type on your conference
77+
<p>If you need a proper VAT invoice listing your company's name, please purchase a business ticket.
78+
Personal Tickets do not include a company name. We will list the ticket tier and type on your conference
7979
badge to accommodate the registration staff.</p>
8080
</Note>
8181
</div>
@@ -85,7 +85,7 @@ import { Note } from "../components/note";
8585

8686
<div class="my-16">
8787
<Title level={2} className="text-center mb-8">Volume Discounts</Title>
88-
88+
8989
<div class="max-w-4xl mx-auto">
9090
<p class="text-lg mb-8">
9191
Is your company attending the conference as a team? We offer the following volume discounts:
@@ -106,7 +106,7 @@ import { Note } from "../components/note";
106106
<span>Get 15 business tickets of any type for the price of 11</span>
107107
</li>
108108
</ul>
109-
109+
110110
<div class="mt-6">
111111
<p class="font-bold">Notes:</p>
112112
<ul class="list-disc ml-6">
@@ -115,7 +115,7 @@ import { Note } from "../components/note";
115115
<li>If you choose different types of tickets (e.g. Conference Only & Combined) the discount will apply to the item with the lower price.</li>
116116
</ul>
117117
</div>
118-
118+
119119
<div class="mt-6">
120120
<p>If you are interested in buying lots of tickets, please consider sponsoring the event!</p>
121121
<ButtonLink url="/sponsorship/sponsor" className="mt-4">Learn About Sponsorship</ButtonLink>
@@ -126,36 +126,36 @@ import { Note } from "../components/note";
126126

127127
<div class="my-16">
128128
<Title level={2} className="text-center mb-8">Additional Information</Title>
129-
129+
130130
<div class="grid grid-cols-1 md:grid-cols-2 gap-10 max-w-4xl mx-auto">
131131
<div class="bg-white text-black p-6 rounded-lg shadow-md">
132132
<h3 class="text-xl font-bold mb-4">Core Developer & Fellow Grants</h3>
133133
<p class="mb-4">
134-
As part of the GvR grant, we are offering free combined tickets to Python Core Developers.
135-
We are also offering free combined tickets to all of our EuroPython Fellows, as an appreciation
134+
As part of the GvR grant, we are offering free combined tickets to Python Core Developers.
135+
We are also offering free combined tickets to all of our EuroPython Fellows, as an appreciation
136136
for their major contribution to the past EuroPython conferences and Society.
137137
</p>
138138
<p>
139-
Please check out our grant page for details on how to apply for the
140-
<a href="https://www.europython-society.org/core-grant/" class="text-primary hover:text-primary-hover underline">GvR grant</a> or
139+
Please check out our grant page for details on how to apply for the
140+
<a href="https://www.europython-society.org/core-grant/" class="text-primary hover:text-primary-hover underline">GvR grant</a> or
141141
<a href="https://www.europython-society.org/europython-society-fellow-grant/" class="text-primary hover:text-primary-hover underline">EuroPython Fellow grant</a>.
142142
</p>
143143
</div>
144-
144+
145145
<div class="bg-white text-black p-6 rounded-lg shadow-md">
146146
<h3 class="text-xl font-bold mb-4">Refund Policy</h3>
147147
<p class="mb-4">
148-
We understand things can be complicated at times and you may not be able to attend after booking your ticket.
148+
We understand things can be complicated at times and you may not be able to attend after booking your ticket.
149149
Therefore, we aim to offer a full refund of your ticket(s) if your circumstances change.
150150
</p>
151151
<p>
152-
Before 8 June 2025, you can request a full refund from the order details link in your order confirmation email.
153-
After that date, please email us at <a href="mailto:refunds@europython.eu" class="text-primary hover:text-primary-hover underline">refunds@europython.eu</a>
152+
Before 8 June 2025, you can request a full refund from the order details link in your order confirmation email.
153+
After that date, please email us at <a href="mailto:refunds@europython.eu" class="text-primary hover:text-primary-hover underline">refunds@europython.eu</a>
154154
if you need a refund due to special circumstances.
155155
</p>
156156
</div>
157157
</div>
158-
158+
159159
<div class="bg-white text-black p-6 rounded-lg shadow-md mt-10 max-w-4xl mx-auto">
160160
<h3 class="text-xl font-bold mb-4">Important Notes</h3>
161161
<ul class="list-none space-y-4">
@@ -179,7 +179,7 @@ import { Note } from "../components/note";
179179
<Title level={2}>Questions?</Title>
180180
<p class="text-lg mb-6">
181181
If you have any questions, please check our <a href="/faq" class="text-primary hover:text-primary-hover underline">FAQ</a>.
182-
If you still have questions, we're happy to help so don't hesitate to email our
182+
If you still have questions, we're happy to help so don't hesitate to email our
183183
<a href="mailto:helpdesk@europython.eu" class="text-primary hover:text-primary-hover underline">EuroPython Helpdesk</a>
184184
(staffed by wonderful volunteers).
185185
</p>

0 commit comments

Comments
 (0)