refactor(community): hub cards as grid#18169
Merged
Merged
Conversation
Replace the EdgeScrollContainer carousel with a responsive auto-fill grid of row cards (circular avatar left, content right) so the section scales as more hubs are added. Tighten each hub description to a single short line and swap the repetitive per-row CTA copy for a cadence Tag derived from a new cadenceKey field on the hub data. Adds a grid-cols-fill-3-w-full utility for the 26rem minmax variant. Old page-events-hub-cta-* strings remain in the locale JSON files for the intl-pipeline to scrub later. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com>
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
- variable name refactor
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.

Summary
EdgeScrollContainercarousel in the community hubs section with a responsive auto-fill grid of row cards (circular avatar left, content right) so the section scales as more hubs are added. The old carousel worked for 4-5 cards but is cramped at 8 and will keep getting worse.Tagdriven by a newcadenceKeyfield on each hub. Currently maps to "Everyday" for 7 hubs and "Wednesdays" for Berlin.page-events-hub-cta-*strings are left in the locale JSON files; the intl-pipeline can scrub them later.Adds a
grid-cols-fill-3-w-fullutility (repeat(auto-fill, minmax(min(100%, 26rem), 1fr))) used by the new layout.TODO
Test plan
/community/events-> "Ethereum community hubs" section renders as a responsive grid (1 column on narrow, 2-3 columns as width allows), not a carousel