diff --git a/components/TestimonyCallout/TestimonyCalloutSection.tsx b/components/TestimonyCallout/TestimonyCalloutSection.tsx index e650b377d..b6c987700 100644 --- a/components/TestimonyCallout/TestimonyCalloutSection.tsx +++ b/components/TestimonyCallout/TestimonyCalloutSection.tsx @@ -5,6 +5,7 @@ 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() { const recentTestimony = useRecentTestimony(4) @@ -13,10 +14,10 @@ export default function TestimonyCalloutSection() { const { t } = useTranslation("testimony") return ( - - - -

{t("testimonyCalloutSection.peopleSaying")}

+
+ + +

{t("testimonyCalloutSection.peopleSaying")}

@@ -66,6 +67,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",