fix(home): restore 2-col desktop + events fallback (lost when #521 merged early)#527
Merged
Conversation
Per feedback: don't collapse the wide-desktop layout to a single column. Keep the original 2-col composition — the "Your Center" CTA card (with icon) in the right rail, events in the main column. The empty "Up next"/"Coming up" slots simply render nothing now, so the left column is sparse rather than stacked with redundant Explore cards. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
A logged-in member whose center has no upcoming events saw a blank left column (center-scoped "Coming up" was empty). Fall back to the broader upcoming-events list in that case, so logged-in mirrors the logged-out Explore list instead of going blank. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Deploying chinmaya-janata with
|
| Latest commit: |
7f52373
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://25674315.project-janatha.pages.dev |
| Branch Preview URL: | https://fix-home-2col-and-fallback.project-janatha.pages.dev |
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.
#521 was merged at its first commit (single-column
hasMainContentcollapse — the rejected design), before these two follow-up fixes landed on the branch. Prod has been serving the rejected single-column home. Recovers the orphaned commits:4827a85keep desktop 2-col (drop the&& hasMainContentsingle-column collapse)b994f37populate the left column via the broader upcoming-events fallbacktscclean.