From f57d34a98730abadc27cb6f0ce7b064114c25180 Mon Sep 17 00:00:00 2001 From: mertbagt Date: Tue, 2 Jun 2026 20:30:11 -0400 Subject: [PATCH 1/2] homepage update --- .../TestimonyCallout/TestimonyCalloutSection.tsx | 12 +++++++----- components/homepage/HearingsSection.tsx | 4 ++-- components/homepage/Homepage.module.css | 1 + public/locales/en/homepage.json | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/components/TestimonyCallout/TestimonyCalloutSection.tsx b/components/TestimonyCallout/TestimonyCalloutSection.tsx index e650b377d..a8bb503d0 100644 --- a/components/TestimonyCallout/TestimonyCalloutSection.tsx +++ b/components/TestimonyCallout/TestimonyCalloutSection.tsx @@ -6,6 +6,8 @@ import TestimonyCallout from "./TestimonyCallout" import { useTranslation } from "next-i18next" import { Internal } from "components/links" +import styles from "components/homepage/Homepage.module.css" + export default function TestimonyCalloutSection() { const recentTestimony = useRecentTestimony(4) const isMobile = useMediaQuery("(max-width: 768px)") @@ -13,10 +15,10 @@ export default function TestimonyCalloutSection() { const { t } = useTranslation("testimony") return ( - - - -

{t("testimonyCalloutSection.peopleSaying")}

+
+ + +

{t("testimonyCalloutSection.peopleSaying")}

@@ -66,6 +68,6 @@ export default function TestimonyCalloutSection() { )} - +
) } diff --git a/components/homepage/HearingsSection.tsx b/components/homepage/HearingsSection.tsx index 781f05a7d..9369d0fae 100644 --- a/components/homepage/HearingsSection.tsx +++ b/components/homepage/HearingsSection.tsx @@ -39,7 +39,7 @@ export function HearingsSectionContent({

{t("hearings.title")}

- + {t("hearings.action")} @@ -78,7 +78,7 @@ export function HearingsSectionContent({ {t("hearingsScheduled.noEvents")}

)} - + {t("hearings.action")} diff --git a/components/homepage/Homepage.module.css b/components/homepage/Homepage.module.css index e9e64e879..0cd1daadc 100644 --- a/components/homepage/Homepage.module.css +++ b/components/homepage/Homepage.module.css @@ -10,6 +10,7 @@ .hero, .didYouKnow, +.peopleSaying, .features, .hearings { padding: 5rem 0; diff --git a/public/locales/en/homepage.json b/public/locales/en/homepage.json index 4adea8252..d426b683a 100644 --- a/public/locales/en/homepage.json +++ b/public/locales/en/homepage.json @@ -49,7 +49,7 @@ }, "hearings": { "title": "Upcoming Hearings", - "action": "Browse Policies", + "action": "Browse Hearings", "loading": "Loading upcoming hearings...", "topic": "Massachusetts Legislature", "appPreviewAlt": "MAPLE platform preview", From 3d091cd911aa70cfe1407960727a012e5b5248ed Mon Sep 17 00:00:00 2001 From: mertbagt Date: Tue, 2 Jun 2026 20:33:52 -0400 Subject: [PATCH 2/2] cleanup --- components/TestimonyCallout/TestimonyCalloutSection.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/components/TestimonyCallout/TestimonyCalloutSection.tsx b/components/TestimonyCallout/TestimonyCalloutSection.tsx index a8bb503d0..b6c987700 100644 --- a/components/TestimonyCallout/TestimonyCalloutSection.tsx +++ b/components/TestimonyCallout/TestimonyCalloutSection.tsx @@ -5,7 +5,6 @@ import { useRecentTestimony } from "../db" import TestimonyCallout from "./TestimonyCallout" import { useTranslation } from "next-i18next" import { Internal } from "components/links" - import styles from "components/homepage/Homepage.module.css" export default function TestimonyCalloutSection() {