Skip to content

Enhance CFP submission visibility and refactor CTA logic - #9

Merged
egeakman merged 5 commits into
mainfrom
tidy-up
Aug 27, 2026
Merged

Enhance CFP submission visibility and refactor CTA logic#9
egeakman merged 5 commits into
mainfrom
tidy-up

Conversation

@egeakman

@egeakman egeakman commented Aug 27, 2026

Copy link
Copy Markdown
Member

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).
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.
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.
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.
define:vars implicitly forces is:inline; make that explicit so
`astro check` doesn't flag it.
@egeakman
egeakman merged commit 916f033 into main Aug 27, 2026
2 checks passed
@egeakman
egeakman deleted the tidy-up branch August 27, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant