Skip to content

Commit ea81b10

Browse files
Merge branch 'ep2026' into ep2026-tickets-page
2 parents 050c4da + 8247852 commit ea81b10

38 files changed

Lines changed: 791 additions & 130 deletions

src/components/SponsorCard.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { sponsorLogos } from "@data/sponsorLogos";
55
import Icon from "@ui/Icon.astro";
66
import SocialLinks from "@components/SocialLinks.astro";
77
8-
const { sponsor: sponsorId, showJobs=false } = Astro.props;
8+
const { sponsor: sponsorId, showJobs=false, showLinks=true } = Astro.props;
99
const sponsor = await getEntry("sponsors", sponsorId);
1010
1111
if (!sponsor) {
@@ -100,7 +100,7 @@ const logo = sponsorLogos[sponsor.id];
100100
}
101101
<div>
102102

103-
{(tier !== "Partners") && website && (
103+
{website && (
104104
<div class="website-btn-container flex flex-col sm:flex-row justify-center gap-2 mt-4">
105105

106106
{ !isSponsorPage && sponsor.body && tier && ["Diamond", "Platinum"].includes(tier) &&
@@ -116,7 +116,7 @@ const logo = sponsorLogos[sponsor.id];
116116
)}
117117

118118

119-
{ (tier !== "Partners") &&
119+
{ (tier !== "Partners" || showLinks) &&
120120
<SocialLinks socials={socials} />
121121
}
122122
</div>

src/components/SponsorLogo.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ const {
2121
} = sponsor.data;
2222
2323
const logo = sponsorLogos[sponsor.id];
24-
const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier==="Platinum" ? `/sponsor/${sponsorId}` : tier==="Media Partners" ? `/media-partners#sponsor-${sponsorId}` : tier==="Startups" ? `/startups#sponsor-${sponsorId}` : `/sponsors#sponsor-${sponsorId}`
24+
const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`
25+
/*: tier==="Platinum" ? `/sponsor/${sponsorId}` */
26+
: tier==="Media Partners" ? `/media-partners#sponsor-${sponsorId}` : tier==="Startups" ? `/startups#sponsor-${sponsorId}` : `/sponsors#sponsor-${sponsorId}`
2527
2628
---
2729

src/components/sections/hero/hero.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const action2 = "https://www.youtube.com/watch?v=laSzm-raS5A";
4747
<!-- Second 2x1 Grid with Action Buttons -->
4848
<div class="text-center grid grid-cols-1 md:grid-cols-2 gap-4 m-6">
4949
<div class="btn-outline">
50-
<Button outline url={action1} class="!text-white !border-white hover:!bg-white hover:!text-primary"> Submit your talk! </Button>
50+
<Button outline disabled class="!text-white !border-white"> Tickets coming soon! </Button>
5151
</div>
5252
<div class="btn-outline">
5353
<Button outline url={action2} class="!text-white !border-white hover:!bg-white hover:!text-primary"> Watch the video (no Rickrolls) </Button>

src/components/sections/sponsors/sponsors.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const tiers = [
2020
"Special Event",
2121
"Financial Aid",
2222
"Supporters",
23-
"Partners",
23+
// "Partners",
2424
"Media Partners"
2525
] as const;
2626

src/components/sections/updates/card.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ export interface Props {
88
subtitle: string;
99
url: string;
1010
image: ImageMetadata;
11+
disabled?: boolean;
1112
}
1213
13-
const { title, subtitle, url, image } = Astro.props;
14+
const { title, subtitle, url, image, disabled = false } = Astro.props;
1415
---
1516

1617
<div
@@ -31,5 +32,5 @@ const { title, subtitle, url, image } = Astro.props;
3132
<slot />
3233
</div>
3334

34-
<Button secondary url={url}>{subtitle}</Button>
35+
<Button secondary url={disabled ? undefined : url} disabled={disabled}>{subtitle}</Button>
3536
</div>

src/components/sections/updates/deadline-card.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const { Content } = await deadline.render();
2222
title={deadline.data.title}
2323
url={deadline.data.url}
2424
subtitle={deadline.data.subtitle}
25+
disabled={deadline.data.disabled}
2526
>
2627
<Content />
2728
</Card>

src/components/sponsor-tiers/sponsor-tiers.astro

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ const tiers: SponsorTierProps[] = [
119119
},
120120
{
121121
title: "Startup",
122-
price: 3_000,
123-
slotsLeft: "5",
122+
price: "Special Rate",
123+
slotsLeft: "enquire for eligibility",
124124
features: [
125125
"<strong>Exhibition Space for 3 days</strong>",
126126
"<strong>2 conference tickets (€1000 value)</strong>",
@@ -245,7 +245,7 @@ const formatPrice = (price: number | string) => {
245245
}
246246
</div>
247247

248-
<!--
248+
249249
<div class="text-center mb-8 mt-16">
250250
<h2 class="text-3xl font-bold">Startups</h2>
251251
<p class="text-xl mt-2 mb-12">
@@ -271,16 +271,7 @@ const formatPrice = (price: number | string) => {
271271
<Headline as="h3" title={tier.title} />
272272
<div class="font-bold text-3xl">{formatPrice(tier.price)}</div>
273273
<div class="text-xl">
274-
{tier.slotsLeft === "Exclusive" ? (
275-
<>Exclusive</>
276-
) : tier.slotsLeft ? (
277-
<>
278-
<span>{tier.slotsLeft}</span>
279-
{tier.slotsLeft == 1 ? "slot" : "slots"} available
280-
</>
281-
) : (
282-
<>Fully booked</>
283-
)}
274+
{tier.slotsLeft}
284275
</div>
285276
</div>
286277

@@ -300,7 +291,7 @@ const formatPrice = (price: number | string) => {
300291
))
301292
}
302293
</div>
303-
-->
294+
304295

305296
<div class="text-center mb-8 mt-16">
306297
<h2 class="text-3xl font-bold">Major Supporters</h2>

src/content/config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const pages = defineCollection({
1111
title: z.string(),
1212
subtitle: z.string(),
1313
toc: z.boolean().optional().default(true),
14+
full: z.boolean().optional().default(false),
1415
}),
1516
});
1617

@@ -22,6 +23,7 @@ const deadlines = defineCollection({
2223
subtitle: z.string(),
2324
url: z.string(),
2425
image: image(),
26+
disabled: z.boolean().optional(),
2527
}),
2628
});
2729

@@ -101,7 +103,7 @@ const speakers = defineCollection({
101103
code: z.string(),
102104
name: z.string(),
103105
slug: z.string(),
104-
avatar: z.string(),
106+
avatar: z.string().url().nullable(),
105107
biography: z.string().nullable(),
106108
submissions: z.array(reference("sessions")),
107109
affiliation: z.string().nullable(),

src/content/deadlines/01_cfp.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title: Call for Proposals
3-
subtitle: Open until February 15th
3+
subtitle: Submissions closed
44
url: /cfp
55
image: "./cfp.jpg"
6+
disabled: true
67
---
78

89
Our colorful and cosmopolitan community is what makes EuroPython so special. We

src/content/deadlines/02_mentorship.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
title: Speaker Mentorship
3-
subtitle: Open until February 10th
3+
subtitle: Sign-ups closed
44
url: /mentorship
55
image: mentorship1.jpg
6+
disabled: true
67
---
78

89
All voices are welcome at EuroPython. But sometimes folks appreciate help and

0 commit comments

Comments
 (0)