Skip to content

Commit

Permalink
Fixes #358 - changed body description of issue brief component to a p…
Browse files Browse the repository at this point in the history
…arameter (#359)
  • Loading branch information
navarroc authored Feb 13, 2025
1 parent 544044c commit cac8e88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed
- Move IRA table columns [#338](https://github.com/policy-design-lab/pdl-frontend/issues/338)
- Upgraded the node version from 16 to 22, including Dockerfile and GitHub Actions [#352](https://github.com/policy-design-lab/pdl-frontend/issues/352)
- Body description of issue brief component to a parameter [#358](https://github.com/policy-design-lab/pdl-frontend/issues/358)

### Removed
- Remove unused math functions [#71](https://github.com/policy-design-lab/pdl-frontend/issues/71)
Expand Down
7 changes: 2 additions & 5 deletions src/components/issueWhitePaper/cardIframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export default function CardIFrame({
title,
author,
date,
description,
link,
iframeTitle,
iframeLink,
Expand Down Expand Up @@ -75,11 +76,7 @@ export default function CardIFrame({
</Grid>
<Grid item xs={12} sm={12} className="inCardContainer subItems" sx={{ justifyContent: "center" }}>
<Typography variant="body1" component="div">
As Congress considers reauthorizing the Farm Bill, vital resources that are available to farmers
and ranchers today are at risk — specifically the $18 billion investment from the Inflation
Reduction Act (IRA) for the U.S. Department of Agriculture’s (USDA) popular conservation
programs. This issue brief provides a first look at what farmers stand to lose in each state if
these investments are eliminated by Congress.
{description}
</Typography>
</Grid>
<Grid
Expand Down
1 change: 1 addition & 0 deletions src/pages/IssueWhitePaperPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export default function IssueWhitePaperPage(): JSX.Element {
iframeTitle="What Farmers Stand to Lose in the Farm Bill If Congress Eliminates Conservation Investments"
author="Professor Jonathan Coppess, Policy Design Lab, University of Illinois"
date="Nov. 15 2023"
description="As Congress considers reauthorizing the Farm Bill, vital resources that are available to farmers and ranchers today are at risk — specifically the $18 billion investment from the Inflation Reduction Act (IRA) for the U.S. Department of Agriculture’s (USDA) popular conservation programs. This issue brief provides a first look at what farmers stand to lose in each state if these investments are eliminated by Congress."
link={WhatFarmsStand}
iframeLink="https://datawrapper.dwcdn.net/jeiT4/5/"
iframeWidth={iframeWidth}
Expand Down

0 comments on commit cac8e88

Please sign in to comment.