From a42048aff98d01881c1a7b6ff4681cc0074d2d57 Mon Sep 17 00:00:00 2001 From: myelinated-wackerow <263208946+myelinated-wackerow@users.noreply.github.com> Date: Tue, 12 May 2026 02:50:12 -0700 Subject: [PATCH 1/2] refactor(community): hub cards as row stack 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 Co-Authored-By: wackerow <54227730+wackerow@users.noreply.github.com> --- app/[locale]/community/events/page.tsx | 100 +++++++++++++------------ src/data/community-hubs.ts | 18 ++--- src/intl/en/page-community-events.json | 16 ++-- src/styles/utilities.css | 3 + 4 files changed, 72 insertions(+), 65 deletions(-) diff --git a/app/[locale]/community/events/page.tsx b/app/[locale]/community/events/page.tsx index 3670b8a516a..883c3b0867c 100644 --- a/app/[locale]/community/events/page.tsx +++ b/app/[locale]/community/events/page.tsx @@ -22,6 +22,7 @@ import { import Link from "@/components/ui/Link" import { Section } from "@/components/ui/section" import TabNav, { StickyContainer } from "@/components/ui/TabNav" +import { Tag } from "@/components/ui/tag" import { cn } from "@/lib/utils/cn" import { getAppPageContributorInfo } from "@/lib/utils/contributors" @@ -186,75 +187,76 @@ const Page = async (props: { params: Promise }) => { {t("page-events-section-hubs-subtitle")}

- +
{communityHubs.map( ({ id, location, descriptionKey, - ctaKey, + cadenceKey, coworkingSignupUrl, meetupUrl, banner, brandColor: logoBgColor, }) => ( - -
-
- +
+ +
+
+
+

+ {location} + +   + {t("page-events-meta-ethereum-community-hub")} + +

+ + {t(cadenceKey)} +
-

- {location} - -   - {t("page-events-meta-ethereum-community-hub")} - -

-
-

{t(descriptionKey)}

-

{t(ctaKey)}

+

{t(descriptionKey)}

+
+ + {t("page-events-hub-cowork-signup")} + + + {t("page-events-hub-meetups")} +
-
- - {t("page-events-hub-cowork-signup")} - - - {t("page-events-hub-meetups")} - -
- +
) )} - +
Date: Wed, 13 May 2026 09:11:29 +0200 Subject: [PATCH 2/2] patch(ui): hk color adjustment - variable name refactor --- app/[locale]/community/events/page.tsx | 4 ++-- src/data/community-hubs.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/[locale]/community/events/page.tsx b/app/[locale]/community/events/page.tsx index 883c3b0867c..8fac822b87b 100644 --- a/app/[locale]/community/events/page.tsx +++ b/app/[locale]/community/events/page.tsx @@ -197,13 +197,13 @@ const Page = async (props: { params: Promise }) => { coworkingSignupUrl, meetupUrl, banner, - brandColor: logoBgColor, + brandColor, }) => (
diff --git a/src/data/community-hubs.ts b/src/data/community-hubs.ts index 5ea0103e21a..475f2ea59de 100644 --- a/src/data/community-hubs.ts +++ b/src/data/community-hubs.ts @@ -42,7 +42,7 @@ const communityHubs: CommunityHub[] = [ meetupUrl: "https://luma.com/user/usr-ut3JGCXXuokkPdK", banner: HongKongHubBanner, brandColor: - "bg-linear-to-b from-[#A4FCF5]/5 to-[#A4FCF5]/10 dark:from-[#A4FCF5]/20 dark:to-[#A4FCF5]/10 border-[#A4FCF5]/20", + "bg-linear-to-b from-[#83AAFA]/5 to-[#83AAFA]/10 dark:from-[#CFC4FA]/20 dark:to-[#CFC4FA]/10 border-[#83AAFA]/20 dark:border-[#CFC4FA]/10", }, { id: "rome",