Skip to content

refactor(community): hub cards as grid#18169

Merged
pettinarip merged 3 commits into
devfrom
redesign-community-cards
May 18, 2026
Merged

refactor(community): hub cards as grid#18169
pettinarip merged 3 commits into
devfrom
redesign-community-cards

Conversation

@myelinated-wackerow
Copy link
Copy Markdown
Collaborator

@myelinated-wackerow myelinated-wackerow commented May 12, 2026

Summary

  • Replaces the EdgeScrollContainer carousel 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.
  • Distills the repetitive per-row CTA copy ("Join for everyday co-working and regular events.", etc.) into a single cadence Tag driven by a new cadenceKey field on each hub. Currently maps to "Everyday" for 7 hubs and "Wednesdays" for Berlin.
  • Tightens each hub description to a single short line in the rhythm of the existing London entry. Old 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-full utility (repeat(auto-fill, minmax(min(100%, 26rem), 1fr))) used by the new layout.

TODO

  • Translate new/changed content

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
  • Each row card shows a circular avatar, location heading, green "Everyday" or "Wednesdays" tag, description, and the Cowork sign up + Meetups links
  • Berlin tag reads "Wednesdays"; the other 7 hubs read "Everyday"
  • Per-hub gradient backgrounds and borders preserved on each row
  • "Apply to host a hub" outline button still sits below the grid
  • Tightened descriptions read cleanly in English and don't overflow at any breakpoint

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>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 12, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 4ebc5dc
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/6a05ffc5f86db600088ded9e
😎 Deploy Preview https://deploy-preview-18169.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 71 (🟢 up 6 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 98 (🔴 down 1 from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program labels May 12, 2026
@wackerow wackerow changed the title refactor(community): hub cards as row stack refactor(community): hub cards as grid May 13, 2026
Copy link
Copy Markdown
Member

@pettinarip pettinarip left a comment

Choose a reason for hiding this comment

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

LGTM

@pettinarip pettinarip merged commit 042e7a1 into dev May 18, 2026
15 checks passed
@pettinarip pettinarip deleted the redesign-community-cards branch May 18, 2026 13:58
@claude claude Bot mentioned this pull request May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants