forked from NASA-IMPACT/veda-config
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Methane release homepage, topics, data-toolkit and methane landing pa…
…ge content update (#668)
- Loading branch information
Showing
31 changed files
with
625 additions
and
165 deletions.
There are no files selected for viewing
Submodule ui
updated
99 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import React from "$veda-ui/react"; | ||
import { Link } from '$veda-ui/react-router-dom'; | ||
import { | ||
Grid, | ||
} from '$veda-ui/@trussworks/react-uswds'; | ||
|
||
import { | ||
CollecticonTextBlock, | ||
CollecticonEnvelope, | ||
CollecticonSpeechBalloon, | ||
} from '$veda-ui/@devseed-ui/collecticons'; | ||
|
||
import { Title } from "../../common/styled-components"; | ||
import { SUBSCRIPTION_URL } from "../../constants"; | ||
|
||
|
||
export default function LearnMore() { | ||
return ( | ||
<Grid tablet={{col:8, offset: 2}}> | ||
<Title> Learn More and Share Your Ideas </Title> | ||
|
||
<Grid row> | ||
<Grid col='auto' className="display-flex flex-align-center margin-bottom-2"> | ||
<CollecticonEnvelope size='xlarge' color='#082a64' className="grid-col-auto" /> | ||
</Grid> | ||
<Grid col='fill' className="display-flex flex-align-center margin-bottom-2"> | ||
<span className="margin-left-4 font-size-md-deprecated"> For the latest updates and information about the US GHG Center or to join a focus area group, <a href={SUBSCRIPTION_URL}>subscribe to our email updates list.</a></span> | ||
</Grid> | ||
</Grid> | ||
<Grid row> | ||
<Grid col='auto' className="display-flex flex-align-center margin-bottom-2"> | ||
<CollecticonTextBlock size='xlarge' color='#082a64' className="grid-col-auto" /> | ||
</Grid> | ||
<Grid col='fill' className="display-flex flex-align-center margin-bottom-2"> | ||
<span className="margin-left-4 font-size-md-deprecated"> Read more about the US GHG Center news, trainings, and workshop opportunities on the <Link to="/news-and-events">News and Events page.</Link></span> | ||
</Grid> | ||
</Grid> | ||
<Grid row> | ||
<Grid col='auto' className="display-flex flex-align-center margin-bottom-2"> | ||
<CollecticonSpeechBalloon size='xlarge' color='#082a64' className="grid-col-auto" /> | ||
</Grid> | ||
<Grid col='fill' className="display-flex flex-align-center margin-bottom-2"> | ||
<span className="margin-left-4 font-size-md-deprecated"> Do you have a US GHG Center portal suggestion or question? Reach the team using the "Contact Us" button at the top or bottom of every page.</span> | ||
</Grid> | ||
</Grid> | ||
</Grid> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import React from "$veda-ui/react"; | ||
import { Link } from '$veda-ui/react-router-dom'; | ||
import { | ||
Card, | ||
CardHeader, | ||
CardBody, | ||
CardMedia, | ||
CardGroup, | ||
} from '$veda-ui/@trussworks/react-uswds'; | ||
|
||
|
||
interface TopicProps { | ||
title: string, | ||
description: string, | ||
href: string, | ||
imgSrc: string, | ||
imgAlt: string, | ||
} | ||
|
||
export default function Topic({ | ||
title, | ||
description, | ||
href, | ||
imgSrc, | ||
imgAlt, | ||
}: TopicProps) { | ||
return ( | ||
<CardGroup> | ||
<Card layout="flagDefault" gridLayout={{tablet: {col: 10}, col: 12}} containerProps={{className:'border-0 position-relative card-shadow__hover'}}> | ||
<CardMedia exdent imageClass="width-tablet-lg"> | ||
<img src={imgSrc} alt={imgAlt} /> | ||
</CardMedia> | ||
|
||
<CardHeader> | ||
<h3 className="usa-card__heading margin-top-4">{title}</h3> | ||
</CardHeader> | ||
<CardBody> | ||
<p className="padding-bottom-2 margin-bottom-4"> | ||
{description} | ||
</p> | ||
</CardBody> | ||
<Link className="position-absolute top-0 left-0 width-full height-full blocklink" to={href} /> | ||
</Card> | ||
</CardGroup> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export default [ | ||
{ | ||
"title": "Methane Emissions", | ||
"description": "Methane is a greenhouse gas emitted by a complex mix of natural sources and human activities. The structure of methane molecules makes the chemical compound particularly powerful at trapping heat: compared with carbon dioxide, methane can trap 80 times more heat over 20 years. These attributes make methane an attractive target for both public and private efforts to research and reduce emissions, with near-term benefits for global temperatures, air quality, and industrial efficiency.", | ||
"img": { | ||
"src": new URL('../../overrides/media/Methane_Carousel_card.png', import.meta.url).href, | ||
"alt": "globe with purple gas swirls and overlaid text showing the word methane and CH4." | ||
}, | ||
"href": "/stories/methane", | ||
}, | ||
{ | ||
"title": "Urban Emissions", | ||
"description": "Cities and metropolitan regions, where most of the world's population live, are responsible for approximately 70% of greenhouse gas emissions. Researchers are making rapid advances in urban emissions measurement and modeling to provide robust, accurate, and reliable emissions estimates at fine scales. The U.S. Greenhouse Gas Center offers an introduction to new urban-relevant datasets and highlights innovative emissions research in cities across the country.", | ||
"img": { | ||
"src": new URL('./media/1-maia-los-angeles-1041.png', import.meta.url).href, | ||
"alt": "distant view of hazy cityscape." | ||
}, | ||
"href": "/stories/urban", | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.