Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions components/TestimonyCallout/TestimonyCalloutSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -13,10 +14,10 @@ export default function TestimonyCalloutSection() {
const { t } = useTranslation("testimony")

return (
<Container fluid>
<Row className="mt-5 justify-content-center">
<Col xs={10} md={6}>
<h1>{t("testimonyCalloutSection.peopleSaying")}</h1>
<section className={styles.sectionShell}>
<Row className={styles.peopleSaying}>
<Col xs={10} md={6} className={styles.sectionTitle}>
<h2>{t("testimonyCalloutSection.peopleSaying")}</h2>
</Col>
<Col xs={10} md={3}>
<div>
Expand Down Expand Up @@ -66,6 +67,6 @@ export default function TestimonyCalloutSection() {
</Col>
</Row>
)}
</Container>
</section>
)
}
4 changes: 2 additions & 2 deletions components/homepage/HearingsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function HearingsSectionContent({
<h2 id="homepage-upcoming-hearings" className={styles.hearingsTitle}>
{t("hearings.title")}
</h2>
<Internal href="/bills" className={styles.hearingsActionDesktop}>
<Internal href="/hearings" className={styles.hearingsActionDesktop}>
{t("hearings.action")}
</Internal>
</div>
Expand Down Expand Up @@ -78,7 +78,7 @@ export function HearingsSectionContent({
{t("hearingsScheduled.noEvents")}
</p>
)}
<Internal href="/bills" className={styles.hearingsActionMobile}>
<Internal href="/hearings" className={styles.hearingsActionMobile}>
{t("hearings.action")}
</Internal>
</div>
Expand Down
1 change: 1 addition & 0 deletions components/homepage/Homepage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

.hero,
.didYouKnow,
.peopleSaying,
.features,
.hearings {
padding: 5rem 0;
Expand Down
2 changes: 1 addition & 1 deletion public/locales/en/homepage.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading