Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sa/content changes #668

Merged
merged 49 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
0f7f0b0
content changes for methane release
siddharth0248 Nov 7, 2024
e88bc79
add card on data toolkit page
siddharth0248 Nov 7, 2024
e06ae5c
gosat-new
siddharth0248 Nov 8, 2024
9fd6f21
dev env
siddharth0248 Nov 8, 2024
6f9354c
updated gosat mdx ena
siddharth0248 Nov 12, 2024
3f8c64b
resolve error
siddharth0248 Nov 12, 2024
716a33a
tm5var stac update
siddharth0248 Nov 12, 2024
c449159
remove anth layer gosat
siddharth0248 Nov 12, 2024
3e49f21
content changes
siddharth0248 Nov 12, 2024
606ff86
data card update
siddharth0248 Nov 12, 2024
0b74b2d
resacle values for gosat
siddharth0248 Nov 12, 2024
43152b5
tm5dvar stac id changed
siddharth0248 Nov 14, 2024
a6a2fcb
content
siddharth0248 Nov 14, 2024
2c063a5
goes and gosat content
siddharth0248 Nov 14, 2024
542e43a
content changes
siddharth0248 Nov 15, 2024
8720a53
fix
siddharth0248 Nov 15, 2024
d761aff
header image ct-ch4
siddharth0248 Nov 15, 2024
ecaa89d
header image goes
siddharth0248 Nov 15, 2024
c26f159
documentation logo added
siddharth0248 Nov 15, 2024
ca490bf
lpj eosim banner added
siddharth0248 Nov 18, 2024
b727361
edits
siddharth0248 Nov 19, 2024
dfe828a
Add methane spotlight to carousel
slesaad Nov 20, 2024
4fd6026
Update data toolkit page with new cards
slesaad Nov 20, 2024
e9a31d1
Add placeholder methane topic
slesaad Nov 20, 2024
1713f77
Add filter for methane stories
slesaad Nov 20, 2024
f131a3c
Add external story placeholder
slesaad Nov 20, 2024
c0ae536
Ref veda-ui to fixed card media branch
slesaad Nov 20, 2024
1851b12
Separate out the shared LearnMore component
slesaad Nov 21, 2024
6af0d75
Refactor topics card to read from an object
slesaad Nov 21, 2024
912ee67
Use goes screengrab to replace placeholder
slesaad Nov 21, 2024
dfb6c45
Update images for custom interfaces
slesaad Nov 21, 2024
348d6ab
Merge branch 'release/p25.1' into methane/content-sid
siddharth0248 Nov 21, 2024
52416bc
Update methane landing page content
slesaad Nov 21, 2024
f42d54b
revert .env
siddharth0248 Nov 21, 2024
9b32bd5
Fix .PNG error
slesaad Nov 21, 2024
6a9eb9e
Fix default export of list
slesaad Nov 21, 2024
1af98f6
Merge branch 'methane/content-sid' into sa/content-changes
slesaad Nov 21, 2024
c43aa5c
Merge branch 'release/p25.1' into sa/content-changes
slesaad Nov 21, 2024
aa83b2e
Fix goes plume card size
slesaad Nov 22, 2024
c212f45
Update carousel text
slesaad Nov 22, 2024
d6b3340
Add real text to methane topic card
slesaad Nov 22, 2024
6aeded3
Update methane landing datasets section
slesaad Nov 22, 2024
bc576e9
skip GEOS validation in playwight because it is external
stephenkilbourn Nov 22, 2024
a82c18e
Wrap video by text
slesaad Nov 22, 2024
7a6abd3
Merge branch 'sa/content-changes' of github.com:NASA-IMPACT/veda-conf…
slesaad Nov 22, 2024
e3fc6bf
Add alt text
slesaad Nov 22, 2024
babeb47
skip testing of GEOS validation story in playwright
stephenkilbourn Nov 22, 2024
af12ccb
Merge branch 'sa/content-changes' of github.com:US-GHG-Center/veda-co…
stephenkilbourn Nov 22, 2024
c646084
Fix gosat stac col
slesaad Nov 22, 2024
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
2 changes: 1 addition & 1 deletion .veda/ui
Submodule ui updated 99 files
+7 −10 .eslintrc
+1 −1 .github/workflows/checks.yml
+40 −26 app/scripts/components/common/banner/index.tsx
+42 −23 app/scripts/components/common/blocks/block-map.tsx
+58 −31 app/scripts/components/common/blocks/scrollytelling/index.tsx
+8 −8 app/scripts/components/common/card-sources.tsx
+17 −26 app/scripts/components/common/card/horizontal-info-card.tsx
+110 −88 app/scripts/components/common/card/index.tsx
+64 −48 app/scripts/components/common/catalog/catalog-card.tsx
+2 −3 app/scripts/components/common/catalog/catalog-content.tsx
+1 −2 app/scripts/components/common/catalog/index.tsx
+264 −1 app/scripts/components/common/catalog/utils.test.ts
+57 −1 app/scripts/components/common/catalog/utils.ts
+49 −19 app/scripts/components/common/cookie-consent/cookieConsent.spec.js
+115 −68 app/scripts/components/common/cookie-consent/index.tsx
+21 −0 app/scripts/components/common/cookie-consent/utils.test.ts
+31 −1 app/scripts/components/common/cookie-consent/utils.ts
+10 −2 app/scripts/components/common/element-interactive.js
+20 −13 app/scripts/components/common/featured-slider-section.tsx
+29 −41 app/scripts/components/common/layout-root/index.tsx
+22 −14 app/scripts/components/common/map/controls/aoi/custom-aoi-control.tsx
+15 −10 app/scripts/components/common/map/controls/aoi/index.tsx
+3 −1 app/scripts/components/common/map/controls/aoi/preset-selector.tsx
+20 −13 app/scripts/components/common/map/controls/geocoder.tsx
+1 −1 app/scripts/components/common/map/controls/hooks/use-themed-control.tsx
+31 −30 app/scripts/components/common/map/controls/map-options/basemap.ts
+6 −3 app/scripts/components/common/map/controls/map-options/index.tsx
+1 −0 app/scripts/components/common/map/controls/map-options/types.ts
+11 −2 app/scripts/components/common/map/map-component.tsx
+13 −7 app/scripts/components/common/map/style-generators/basemap.tsx
+7 −18 app/scripts/components/common/map/style-generators/raster-paint-layer.tsx
+6 −8 app/scripts/components/common/map/style-generators/raster-timeseries.tsx
+15 −25 app/scripts/components/common/map/style-generators/vector-timeseries.tsx
+17 −4 app/scripts/components/common/map/style-generators/zarr-timeseries.tsx
+3 −1 app/scripts/components/common/map/types.d.ts
+1 −1 app/scripts/components/common/page-footer.js
+1 −1 app/scripts/components/common/page-header/default-config.ts
+1 −1 app/scripts/components/common/page-header/index.tsx
+2 −1 app/scripts/components/common/page-header/logo-container.tsx
+1 −1 app/scripts/components/common/page-header/logo.tsx
+2 −2 app/scripts/components/common/page-header/nav-menu-item.tsx
+0 −0 app/scripts/components/common/page-header/types.ts
+2 −2 app/scripts/components/common/page-hero.tsx
+1 −1 app/scripts/components/common/pub-date.tsx
+14 −24 app/scripts/components/common/related-content.tsx
+5 −5 app/scripts/components/common/smart-link.tsx
+13 −0 app/scripts/components/common/types.d.ts
+0 −2 app/scripts/components/common/uswds/index.tsx
+0 −10 app/scripts/components/common/uswds/input.tsx
+9 −3 app/scripts/components/exploration/analysis-data.ts
+1 −0 app/scripts/components/exploration/atoms/datasets.ts
+2 −2 app/scripts/components/exploration/atoms/dates.ts
+2 −12 app/scripts/components/exploration/atoms/hooks.ts
+2 −2 app/scripts/components/exploration/components/chart-popover.tsx
+23 −23 app/scripts/components/exploration/components/dataset-selector-modal/index.tsx
+6 −8 app/scripts/components/exploration/components/datasets/block-utils.ts
+0 −50 app/scripts/components/exploration/components/datasets/color-range-slider.scss
+0 −272 app/scripts/components/exploration/components/datasets/colorRangeSlider.tsx
+26 −101 app/scripts/components/exploration/components/datasets/colormap-options.tsx
+41 −82 app/scripts/components/exploration/components/datasets/data-layer-card.tsx
+5 −5 app/scripts/components/exploration/components/datasets/dataset-list-item.tsx
+4 −3 app/scripts/components/exploration/components/layer-info-modal.tsx
+3 −1 app/scripts/components/exploration/components/map/analysis-message-control.tsx
+11 −7 app/scripts/components/exploration/components/map/index.tsx
+14 −5 app/scripts/components/exploration/components/map/layer.tsx
+0 −33 app/scripts/components/exploration/components/parent-dataset-link.tsx
+3 −4 app/scripts/components/exploration/components/timeline/date-axis.tsx
+3 −1 app/scripts/components/exploration/components/timeline/timeline-controls.tsx
+1 −1 app/scripts/components/exploration/components/timeline/timeline-datepicker.tsx
+3 −1 app/scripts/components/exploration/components/timeline/timeline-head.tsx
+30 −24 app/scripts/components/exploration/components/timeline/timeline.tsx
+33 −6 app/scripts/components/exploration/container.tsx
+16 −3 app/scripts/components/exploration/data-utils-no-faux-module.ts
+5 −7 app/scripts/components/exploration/data-utils.ts
+1 −1 app/scripts/components/exploration/hooks/scales-hooks.ts
+7 −1 app/scripts/components/exploration/hooks/use-analysis-data-request.ts
+9 −6 app/scripts/components/exploration/hooks/use-stac-metadata-datasets.ts
+11 −0 app/scripts/components/exploration/hooks/use-timeline-dataset-atom.tsx
+6 −15 app/scripts/components/exploration/index.tsx
+1 −6 app/scripts/components/exploration/types.d.ts.ts
+7 −3 app/scripts/components/home/featured-stories.tsx
+148 −138 app/scripts/components/stories/hub/hub-content.tsx
+27 −0 app/scripts/context/env-config.tsx
+36 −2 app/scripts/index.ts
+13 −1 app/scripts/main.tsx
+15 −1 app/scripts/types/veda.ts
+6 −8 app/scripts/utils/date.ts
+2 −5 app/scripts/utils/url.ts
+62 −0 docs/adr/003-design-system-change.md
+13 −0 docs/content/CONFIGURATION.md
+14 −0 docs/development/SETUP.md
+2 −1 docs/development/STYLE_GUIDE.md
+0 −6 mock/stories/external-link-example.stories.mdx
+1 −1 package.json
+5 −0 parcel-resolver-veda/index.d.ts
+21 −3 parcel-resolver-veda/index.js
+1 −1 test/playwright/pages/explorePage.ts
+78 −0 test/playwright/tests/exploreAoi.spec.ts
+1 −0 tsconfig.json
43 changes: 35 additions & 8 deletions common/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const dataEngagements = [
"desc": "Detailed dataset information for insight into greenhouse gas sources, sinks, emissions, and large events.",
"img": {
"src": new URL('./media/data_catalog.png', import.meta.url).href,
"alt": "image of oil refinery"
"alt": "icon showing file drawers with an earth representing data card catalog."
},
"link": {
"url": "/data-catalog",
Expand All @@ -101,7 +101,7 @@ export const dataEngagements = [
"desc": "The exploration and analysis environment can be used to visually examine data on a customizable map and create a time series of basic statistics.",
"img": {
"src": new URL('./media/interactive_map.png', import.meta.url).href,
"alt": "image of green wetlands"
"alt": "icon drawing showing map with a magnifying glass and indicating a clock for temporal data."
},
"link": {
"url": "/exploration",
Expand All @@ -114,13 +114,40 @@ export const dataEngagements = [
"desc": "With JupyterHub, users can analyze cloud archives of Earth science data using an interactive environment. Log in or request access here.",
"img": {
"src": new URL('./media/jupyter_hub.png', import.meta.url).href,
"alt": "image of colorful polygon against satellite landscape surface in brown"
"alt": "icon drawing code, plots and figures made with data in the cloud."
},
"link": {
"url": "https://hub.ghg.center",
"text": "View more"
},
"footer": null
},
{
"title": "Documentation",
"desc": "Access technical documentation for US GHG Center data services, including a collection of code notebooks, and instructions for accessing data via API.",
"img": {
"src": new URL('./media/documentation.png', import.meta.url).href,
"alt": "icon of an open laptop surrounded by icons of documents, and a chart."
},
"link": {
"url": "https://us-ghg-center.github.io/ghgc-docs/",
"text": "View more"
},
"footer": null
}
,
{
"title": "Documentation",
"desc": "Access technical documentation for US GHG Center data services including a collection of code notebooks, and instructions for accessing data via API.",
"img": {
"src": new URL('./media/documentation.png', import.meta.url).href,
"alt": "image of colorful polygon against satellite landscape surface in brown"
},
"link": {
"url": "https://us-ghg-center.github.io/ghgc-docs/",
"text": "View more"
},
"footer": null
}
,
{
Expand All @@ -141,9 +168,9 @@ export const dataEngagements = [
export const customInterfaces = [
{
"title": "GOES Methane Plume Viewer",
"desc": "A sample of methane plumes from point sources observed since 2019 by the U.S. Geostationary Operational Environmental Satellites (GOES) over North and South America",
"desc": "Detailed information for methane plumes identified using GOES.",
"img": {
"src": new URL('./media/emit.jpg', import.meta.url).href,
"src": new URL('./media/GOES_Methane_Plume_viewer_card.png', import.meta.url).href,
"alt": "view of colored shape overlaid on satellite landscape image with boxes of information containing plume details"
},
"link": {
Expand All @@ -156,7 +183,7 @@ export const customInterfaces = [
"title": "EMIT Methane Plume Viewer",
"desc": "Detailed information for methane plumes identified using EMIT.",
"img": {
"src": new URL('./media/emit.jpg', import.meta.url).href,
"src": new URL('./media/EMIT_Plume_Viewer_card.png', import.meta.url).href,
"alt": "view of colored shape overlaid on satellite landscape image with boxes of information containing plume details"
},
"link": {
Expand All @@ -169,7 +196,7 @@ export const customInterfaces = [
"title": "NOAA Concentration Viewer",
"desc": "Measurements of carbon dioxide and methane concentrations from ground stations throughout the US and worldwide.",
"img": {
"src": new URL('./media/co2.jpg', import.meta.url).href,
"src": new URL('./media/NOAA_Methane_Concentration_Viewer_card.png', import.meta.url).href,
"alt": "map showing Mauna Loa location of station with a time series of data below the map"
},
"link": {
Expand All @@ -193,7 +220,7 @@ export const customInterfaces = [
"title": "NIST Tower Data Viewer",
"desc": "Measurements of carbon dioxide and methane concentrations from urban tower instruments.",
"img": {
"src": new URL('./media/nist-co2-nwb.jpg', import.meta.url).href,
"src": new URL('./media/NIST_NEC_Methane_Viewer_card1.png', import.meta.url).href,
"alt": "map showing Northwest Baltimore, MD location of station with a time series of data below the map"
},
"link": {
Expand Down
Binary file added common/media/EMIT_Plume_Viewer_card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added common/media/EPA_Gridded_Methane_card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added common/media/GOES_Methane_Plume_viewer_card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added common/media/NIST_NEC_Methane_Viewer_card1.png
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 removed common/media/co2.jpg
Binary file not shown.
Binary file removed common/media/emit.jpg
Binary file not shown.
Binary file removed common/media/nist-co2-nwb.jpg
Binary file not shown.
48 changes: 48 additions & 0 deletions custom-pages/common/LearnMore.tsx
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>
)
}
38 changes: 3 additions & 35 deletions custom-pages/data-toolkit/component.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
import React from "$veda-ui/react";
import { Link } from "$veda-ui/react-router-dom";
import '$veda-ui/@trussworks/react-uswds/lib/index.css'

import {
Grid,
GridContainer,
} from '$veda-ui/@trussworks/react-uswds';

import {
CollecticonTextBlock,
CollecticonEnvelope,
CollecticonSpeechBalloon,
} from '$veda-ui/@devseed-ui/collecticons';

import Keypoints from "../../common/keypoints";
import LearnMore from "../common/LearnMore";

import { dataEngagements, focusAreaDatasets, customInterfaces } from "../../common/constants";

import { SUBSCRIPTION_URL } from "../../constants";
Expand Down Expand Up @@ -48,33 +42,7 @@ export default function Component() {
<Keypoints data={focusAreaDatasets} />
</section>

<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>
<LearnMore />
</GridContainer>
</div>
)
Expand Down
75 changes: 17 additions & 58 deletions custom-pages/topics/component.tsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,17 @@
import React from "$veda-ui/react";
import { Link } from '$veda-ui/react-router-dom';
import {
Card,
CardHeader,
CardBody,
CardMedia,
CardGroup,
Grid,
GridContainer,
} from '$veda-ui/@trussworks/react-uswds';

import {
CollecticonTextBlock,
CollecticonEnvelope,
CollecticonSpeechBalloon,
} from '$veda-ui/@devseed-ui/collecticons';

import { focusAreasStories } from "../../common/constants";
import { Title } from "../../common/styled-components";

import Keypoints from "../../common/keypoints";
import Topic from "./components/Topic";
import LearnMore from "../common/LearnMore";

import { SUBSCRIPTION_URL } from "../../constants";
import topics from "./topics";

import '../../common/styles.scss';
import './topics.scss';
Expand All @@ -30,58 +20,27 @@ export default function HomeComponent() {
return (
<div className="hug-reset-container margin-bottom-8">
<GridContainer containerSize="widescreen">
<Title>Content Collections by Topic</Title>
<CardGroup>
<Card layout="flagDefault" gridLayout={{tablet: {col: 10}, col: 12}} containerProps={{className:'border-0 position-relative card-shadow__hover'}}>
<CardMedia exdent>
<img src={new URL('./media/1-maia-los-angeles-1041.png', import.meta.url).href} alt="distant view of hazy cityscape." />
</CardMedia>

<CardHeader>
<h3 className="usa-card__heading margin-top-4">Urban Emissions</h3>
</CardHeader>
<CardBody>
<p className="padding-bottom-2 margin-bottom-4">
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.
</p>
</CardBody>
<Link className="position-absolute top-0 left-0 width-full height-full blocklink" to="/stories/urban" />
</Card>
</CardGroup>
<Title>Content Collections by Topic</Title>

{
!!topics.length && topics.map(topic => (
<Topic
title={topic.title}
description={topic.description}
href={topic.href}
imgSrc={topic.img.src}
imgAlt={topic.img.alt}
/>
))
}

<section>
<Title>Core Science Focus Areas</Title>
<p className="margin-top-2 font-size-md-deprecated margin-bottom-2">The US GHG Center targets three greenhouse gas areas of study, as shown below. For the latest, <a href={SUBSCRIPTION_URL}>subscribe to our email newsletter</a>.</p>
<Keypoints data={focusAreasStories} />
</section>

<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>
<LearnMore />

</GridContainer>
</div>
Expand Down
46 changes: 46 additions & 0 deletions custom-pages/topics/components/Topic.tsx
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>
)
}
20 changes: 20 additions & 0 deletions custom-pages/topics/topics.js
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",
},
]
4 changes: 2 additions & 2 deletions datasets/gosat-based-ch4budget-yeargrid-v1.data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ infoDescription: |
- Data Latency: Updated yearly
layers:
- id: post-total
stacCol: gosat-based-ch4budget-yeargrid-v1-test
stacCol: gosat-based-ch4budget-yeargrid-v2
name: Satellite-Corrected Total Methane Emissions
type: raster
description: Total methane emissions per grid cell derived using GOSAT data in the GEOS-Chem global chemistry transport model (posterior).
Expand Down Expand Up @@ -101,7 +101,7 @@ layers:
src: ::file ./media/gosat-based-ch4budget-yeargrid-v1.thumbnails.posterior.total.png
alt: GOSAT-based Top-down Total and Natural Methane Emissions - Posterior Total
- id: post-wetland
stacCol: gosat-based-ch4budget-yeargrid-v1-test
stacCol: gosat-based-ch4budget-yeargrid-v2
name: Satellite-Corrected Wetland Methane Emissions
type: raster
description: Total wetland methane emissions per grid cell derived using GOSAT data in the GEOS-Chem global chemistry transport model (posterior).
Expand Down
Binary file added datasets/media/CarbonTracker_Image1_FINAL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified datasets/media/goes-ch4plume--cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading