Skip to content

Commit 8cb2089

Browse files
committed
Close deadlines
1 parent 71e0699 commit 8cb2089

7 files changed

Lines changed: 13 additions & 8 deletions

File tree

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/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/content/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const deadlines = defineCollection({
2323
subtitle: z.string(),
2424
url: z.string(),
2525
image: image(),
26+
disabled: z.boolean().optional(),
2627
}),
2728
});
2829

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: Learn More
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: Learn More
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

src/content/deadlines/03_finaid.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: Financial Aid
3-
subtitle: Applications now open!
3+
subtitle: Applications are closed
44
url: /finaid
55
image: "./finaid.jpeg"
6+
disabled: true
67
---
78

8-
Need support to attend EuroPython 2026? Check details and submit your financial
9-
aid application! First-round applications close on 9 April 2026!
9+
Applications for the EuroPython 2026 Financial Aid Programme are closed.

0 commit comments

Comments
 (0)