Skip to content

Indicate BMT 2026 events aren't live on ContestDojo yet on the registration buttons - #125

Closed
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1787184453-registration-button-pending
Closed

Indicate BMT 2026 events aren't live on ContestDojo yet on the registration buttons#125
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1787184453-registration-button-pending

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

The BMT 2026 and BMT 2026 Online events aren't loaded on ContestDojo yet, but the "Registration Portal" buttons looked like normal live links. The status is now on the button itself (the "coming soon" alert lives below it), while the button stays clickable so visitors can create a ContestDojo account in advance.

button_link gains two optional args:

{% button_link(href=..., muted=true, note="BMT 2026 isn't listed yet — you can create an account now") %} Registration Portal {% end %}
  • muted swaps bg-teal-500 for bg-slate-500
  • note renders a small second line inside the anchor

Existing call sites are unaffected. Applied to content/events/bmt-2026.md and content/events/bmt-2026-online.md.

button

Revert by dropping muted/note from the two call sites once the events are live on ContestDojo.

Link to Devin session: https://app.devin.ai/sessions/211e3a4949024adeac55e10946c4d989
Requested by: @alphdelta


Open in Devin Review

Co-Authored-By: golden <golden@berkeley.mt>
@alphdelta alphdelta self-assigned this Aug 20, 2026
@alphdelta
alphdelta self-requested a review August 20, 2026 00:07
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

Verified locally (Tailwind build + zola serve)

Muted button_link variant and the 2026 registration notes render and behave as intended; existing button usages are unaffected.

BMT 2026 / BMT 2026 Online — muted grey button with note

bmt-2026 muted button
bmt-2026-online muted button

  • Button background is slate grey (not teal), note appears as a smaller second line inside the anchor.
  • Clicking still navigates to https://contestdojo.com/ (ContestDojo login page loads).
Regression — unchanged button_link usages

bmmt-2026 teal buttons
archives Contest Results buttons

/events/bmmt-2026/ and /archives/bmt-2025/ buttons remain teal, single-line, no note; "Contest Results" opens results.pdf.

Narrow viewport (~310px)

mobile width

Note fits inside the button with no clipping or horizontal overflow.

Written by Devin

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