Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📚 Documentation preview 📚: https://python-pizza-istanbul--9.org.readthedocs.build/