Skip to content
Open
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
18 changes: 9 additions & 9 deletions components/TestimonyCallout/TestimonyCalloutSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ export default function TestimonyCalloutSection() {
return (
<section className={styles.sectionShell}>
<Row className={styles.peopleSaying}>
<Col xs={10} md={6} className={styles.sectionTitle}>
<Col xs={12} sm={12} md={7} className={styles.sectionTitle}>
<h2>{t("testimonyCalloutSection.peopleSaying")}</h2>
</Col>
<Col xs={10} md={3}>
<div>
<Col xs={12} sm={12} md={5}>
<div
className={`d-flex ${
isMobile ? "justify-content-center" : "justify-content-end"
} me-2`}
>
<Internal href="/testimony">
<Button className={`btn btn-lg py-1`}>
{t("testimonyCalloutSection.browseTestimony")}
Expand Down Expand Up @@ -51,12 +55,8 @@ export default function TestimonyCalloutSection() {
</Carousel>
) : (
<Row className="justify-content-center">
<Col xs={10} xl={9} xxl={8}>
<Row
xs={1}
lg={2}
className={`g-2 justify-content-center py-2 mt-4`}
>
<Col xs={11} xl={11} xxl={11}>
<Row xs={1} lg={2} className={`g-3 justify-content-between py-2`}>
{recentTestimony?.map(testimony => (
<TestimonyCallout
key={testimony.authorUid + testimony.billId}
Expand Down
5 changes: 4 additions & 1 deletion components/homepage/Homepage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@

.hero,
.didYouKnow,
.peopleSaying,
.features,
.hearings {
padding: 5rem 0;
}

.peopleSaying {
padding: 5rem 0 1rem 0;
}

.heroSection {
position: relative;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion components/search/bills/BillHit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type BillRecord = {
}

const StyledCard = styled(Card)`
background: var(--maple-surface-gradient);
background: white;
border: 1px solid var(--maple-surface-border);
border-radius: var(--bs-border-radius-xl);
box-shadow: var(--maple-shadow-sm);
Expand Down
2 changes: 1 addition & 1 deletion components/search/bills/BillSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const BillSearch = () => {
}

const ControlsBar = styled.div`
background: var(--maple-surface-gradient);
background: white;
border: 1px solid var(--maple-surface-border);
border-radius: var(--bs-border-radius-xl);
box-shadow: var(--maple-shadow-sm);
Expand Down
2 changes: 1 addition & 1 deletion components/search/hearings/HearingHit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from "react"

const StyledCard = styled(Card)`
background: var(--maple-surface-gradient);
background: white;
border: 1px solid var(--maple-surface-border);
border-radius: var(--bs-border-radius-xl);
box-shadow: var(--maple-shadow-sm);
Expand Down
2 changes: 1 addition & 1 deletion components/search/shared/RefinementPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { faFilter } from "@fortawesome/free-solid-svg-icons"
import styled from "styled-components"

const FilterSection = styled.div`
background: var(--maple-surface-gradient);
background: white;
border: 1px solid var(--maple-surface-border);
border-radius: var(--maple-radius-md);
box-shadow: var(--maple-shadow-sm);
Expand Down
2 changes: 1 addition & 1 deletion components/search/shared/SearchPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { SearchErrorBoundary } from "../SearchErrorBoundary"
const EMPTY_MENU_ATTRIBUTES: string[] = []

const ControlsBar = styled.div`
background: var(--maple-surface-gradient);
background: white;
border: 1px solid var(--maple-surface-border);
border-radius: var(--bs-border-radius-xl);
box-shadow: var(--maple-shadow-sm);
Expand Down
2 changes: 1 addition & 1 deletion components/search/testimony/TestimonyHit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { FollowUserButton } from "components/shared/FollowButton"
import { trimContent } from "components/TestimonyCallout/TestimonyCallout"

const StyledCard = styled(Card)`
background: var(--maple-surface-gradient);
background: white;
border: 1px solid var(--maple-surface-border);
border-radius: var(--bs-border-radius-xl);
box-shadow: var(--maple-shadow-sm);
Expand Down
2 changes: 1 addition & 1 deletion components/search/testimony/TestimonySearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const TestimonySearch = () => {
}

const ControlsBar = styled.div`
background: var(--maple-surface-gradient);
background: white;
border: 1px solid var(--maple-surface-border);
border-radius: var(--bs-border-radius-xl);
box-shadow: var(--maple-shadow-sm);
Expand Down
2 changes: 1 addition & 1 deletion components/search/useRefinements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const FilterButton = styled(Button)`
`

const FilterSection = styled.div`
background: var(--maple-surface-gradient);
background: white;
border: 1px solid var(--maple-surface-border);
border-radius: var(--maple-radius-md);
box-shadow: var(--maple-shadow-sm);
Expand Down
Loading