From 270cc50b65c431ed41f6d5b31eef7cac633d04c0 Mon Sep 17 00:00:00 2001 From: egeakman Date: Thu, 10 Sep 2026 13:12:14 -0400 Subject: [PATCH 1/4] Add disabled state to Button component --- src/components/Button.astro | 19 ++++++++++++++----- src/styles/global.css | 3 +++ 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/components/Button.astro b/src/components/Button.astro index d85cd26..76c64b7 100644 --- a/src/components/Button.astro +++ b/src/components/Button.astro @@ -4,6 +4,7 @@ interface Props { variant?: "solid" | "outline" | "inverted"; class?: string; id?: string; + disabled?: boolean; } const variantClass = { @@ -12,16 +13,24 @@ const variantClass = { inverted: "btn-inverted", }; -const { href, variant = "solid", class: cls, id } = Astro.props; +const { + href, + variant = "solid", + class: cls, + id, + disabled = false, +} = Astro.props; const external = href.startsWith("http"); --- diff --git a/src/styles/global.css b/src/styles/global.css index 2ab008f..3e7a78b 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -189,6 +189,9 @@ .btn-inverted { @apply bg-white text-primary; } + .btn-disabled { + @apply opacity-50 pointer-events-none cursor-not-allowed hover:translate-y-0; + } .cta-hidden { opacity: 0; From 357447002e24502acb94384faad44229f12832b4 Mon Sep 17 00:00:00 2001 From: egeakman Date: Thu, 10 Sep 2026 13:12:48 -0400 Subject: [PATCH 2/4] Reword CFP page copy for closed submissions --- src/content/prose/cfp-details.mdx | 6 +++--- src/content/prose/cfp.mdx | 4 ++-- src/pages/cfp.astro | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/content/prose/cfp-details.mdx b/src/content/prose/cfp-details.mdx index bcf7e55..200d700 100644 --- a/src/content/prose/cfp-details.mdx +++ b/src/content/prose/cfp-details.mdx @@ -2,9 +2,9 @@ import { event } from "@data/event"; import Button from "@components/Button.astro";
-

Deadline extended!

-

Submissions now close 25 August 2026 {event.cfp.deadlineDisplay}.

- +

The CFP is now closed.

+

Submissions closed on {event.cfp.deadlineDisplay}.

+
## Everyone is welcome here diff --git a/src/content/prose/cfp.mdx b/src/content/prose/cfp.mdx index 99b756d..3844467 100644 --- a/src/content/prose/cfp.mdx +++ b/src/content/prose/cfp.mdx @@ -1,5 +1,5 @@ import { event } from "@data/event"; -The CFP is open! Got a Python project, story, or hard-won lesson to share? We want to hear it - all experience levels welcome, first-time speakers especially. +The CFP is now closed. Thanks to everyone who shared a Python project, story, or hard-won lesson with us - across all experience levels, including first-time speakers. -Talks are 10 minutes, mostly in English, with a few Turkish slots for this first edition. Submissions close 25 August 2026{" "}{event.cfp.deadlineDisplay}. +Talks are 10 minutes, mostly in English, with a few Turkish slots for this first edition. Submissions closed on 25 August 2026{" "}{event.cfp.deadlineDisplay}. diff --git a/src/pages/cfp.astro b/src/pages/cfp.astro index 908e4bc..ea972cd 100644 --- a/src/pages/cfp.astro +++ b/src/pages/cfp.astro @@ -19,7 +19,7 @@ import Content from "@prose/cfp-details.mdx";
- +