diff --git a/src/pages/Home.jsx b/src/pages/Home.jsx index 63ab796e4..44f242676 100644 --- a/src/pages/Home.jsx +++ b/src/pages/Home.jsx @@ -10,7 +10,11 @@ import Footer from "../layout/Footer"; import HomeQuoteCarousel from "./home/HomeQuoteCarousel"; import { Helmet } from "react-helmet"; +import OBBBAHouseholdBanner from "./home/banners/OBBBAHouseholdExplorerBanner.jsx"; +import useCountryId from "../hooks/useCountryId"; + export default function Home() { + const countryId = useCountryId(); return ( <> @@ -18,6 +22,7 @@ export default function Home() {
+ {countryId === "us" && } diff --git a/src/pages/home/banners/OBBBAHouseholdExplorerBanner.jsx b/src/pages/home/banners/OBBBAHouseholdExplorerBanner.jsx new file mode 100644 index 000000000..162e16af3 --- /dev/null +++ b/src/pages/home/banners/OBBBAHouseholdExplorerBanner.jsx @@ -0,0 +1,185 @@ +import LinkButton from "../../../controls/LinkButton"; +import style from "../../../style"; +import finalReconciliationImg from "../../../images/posts/final-2025-reconciliation-tax.png"; +import useDisplayCategory from "../../../hooks/useDisplayCategory"; + +export default function OBBBAHouseholdBanner() { + const dC = useDisplayCategory(); + + const title = "The One Big Beautiful Bill Act, household by household"; + const subtitle = + "See how the reconciliation bill affects 20,000 representative households " + + "across income levels, states, and provisions"; + const ctaText = "Explore household impacts"; + const ctaLink = "/us/obbba-household-by-household"; + const ariaLabel = + "Illustration of the U.S. Capitol building, representing federal policy context for household impact analysis."; + + if (dC === "mobile") { + return ( +
+
+
+
+

{title}

+

{subtitle}

+
+ +
+
+
+
+
+ ); + } + + return ( +
+
+ {/* Image and overlay container */} +
+
+
+

{title}

+

{subtitle}

+
+ +
+
+
+
+ ); +} diff --git a/src/posts/posts.json b/src/posts/posts.json index 0a32b186c..049a104c5 100644 --- a/src/posts/posts.json +++ b/src/posts/posts.json @@ -8,7 +8,7 @@ "image": "enhanced-cps-launch.png", "authors": ["max-ghenis", "nikhil-woodruff", "ben-ogorek", "maria-juaristi"] }, - { + { "title": "The One Big Beautiful Bill Act, household by household", "description": "Our latest interactive shows how the reconciliation bill affects each of 20,000 representative households across income levels, states, and provisions.", "date": "2025-08-11",