You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance CFP submission visibility and refactor CTA logic (#9)
* Emphasize the extended CFP deadline across the site
The deadline moved from 25 August to 7 September, but nothing on the
site said it had changed. Add a red strike-through treatment for the
old date, call it out in the CFP section title, and give the homepage
CFP section an actual submit button (it previously only linked to the
full CFP page, with no direct path to the form).
* Refactor CTA logic into two independent CTAs
Replace the single generic event.cta with an event.ctas array (CFP
submission and ticket purchase), each carrying its own label, href,
hero variant, and a floating flag for whether it also gets a floating
button once scrolled past. The hero and the floating-cta script now
render/bind off that array instead of hardcoded single-button wiring.
Add an "inverted" button variant (white fill, primary-colored text)
for the ticket CTA, since it needs to read differently from the CFP
button without competing with it for attention.
* Rename CtaButton to Button
It now supports variants beyond outline/solid CTAs (e.g. the inverted
ticket button) and gets reused for plain styled links (the compact
agenda link), so "CtaButton" no longer describes what it is. Purely
mechanical: file rename plus updated imports/tags, no behavior change.
* Turn the CFP page's submit link into a Button
The plain underlined link inside the deadline banner didn't stand out
as an action next to the ticket/CFP buttons used elsewhere. Reuse
Button with the inverted variant instead, matching how it already
looks on the hero and homepage.
* Silence astro check hint on the floating-cta script
define:vars implicitly forces is:inline; make that explicit so
`astro check` doesn't flag it.
Copy file name to clipboardExpand all lines: src/content/prose/cfp.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@ import { event } from "@data/event";
2
2
3
3
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.
4
4
5
-
Talks are 10 minutes, mostly in English, with a few Turkish slots for this first edition. Submissions close **{event.cfp.deadlineDisplay}**.
5
+
Talks are 10 minutes, mostly in English, with a few Turkish slots for this first edition. Submissions close <spanclass="deadline-old">25 August 2026</span>{""}<strong>{event.cfp.deadlineDisplay}</strong>.
0 commit comments