Skip to content

fix: pride theming not turning on in june#222

Merged
NiHaiden merged 1 commit into
mainfrom
fix-pride-theming
May 31, 2026
Merged

fix: pride theming not turning on in june#222
NiHaiden merged 1 commit into
mainfrom
fix-pride-theming

Conversation

@NiHaiden
Copy link
Copy Markdown
Member

Due to the website being static, we save the "isJune" property on build time (with the last build being in May), so the pride easteregg will never turn on until we fix it.

Happy Pride! 🌈

Copilot AI review requested due to automatic review settings May 31, 2026 23:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes the Pride seasonal theming logic in the Hero section so it can activate correctly at runtime (client-side) rather than being locked to the build month in a statically built site.

Changes:

  • Replace build-time memoized isJune computation with a client-side useEffect update after mount.
  • Update React imports accordingly (useMemouseEffect).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@NiHaiden NiHaiden merged commit 05201e4 into main May 31, 2026
2 of 3 checks passed
@NiHaiden NiHaiden deleted the fix-pride-theming branch May 31, 2026 23:22
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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.

2 participants