Skip to content

Commit

Permalink
add narrated video carousel for GHG
Browse files Browse the repository at this point in the history
  • Loading branch information
agurvich committed Oct 1, 2024
1 parent a9b4dff commit a9ab39f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"src":"https://www.youtube.com/embed/ZinKaqthYX0",
"title":"NASA and Greenhouse Gases",
"caption":"Methane is a powerful greenhouse gas and one monitored via instruments on the ground, on airplanes, aboard satellites, and the International Space Station. Tracking methane, carbon dioxide, and other greenhouse gases is crucial to monitoring our climate as it changes."
},
{
"src":"https://www.youtube.com/embed/gz1JwUTL6dc",
"title":"NASA + Smithsonian and Greenhouse Gases",
"caption":"Methane is a powerful greenhouse gas and one monitored via instruments on the ground, on airplanes, aboard satellites, and the International Space Station. Tracking methane, carbon dioxide, and other greenhouse gases is crucial to monitoring our climate as it changes."
}
]
13 changes: 4 additions & 9 deletions stories/theme.GHG.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import VisitGHG from "../overrides/components/visit-ghg";

import Carousel from "../overrides/common/embedded-video-carousel";
import contentArray from './theme.GHG.introduction_greenhouse_gases/carousel_content.json';
import narratedContentArray from './theme.GHG.introduction_greenhouse_gases/narrated_content.json';

<VisitGHG />
<Block>
Expand Down Expand Up @@ -58,16 +59,10 @@ import contentArray from './theme.GHG.introduction_greenhouse_gases/carousel_con
</Figure>
</Block>

<Block type="wide">

<Block type='wide'>
<Figure>
<Embed
height="405"
src="https://www.youtube.com/embed/ZinKaqthYX0"
title="NASA and Greenhouse Gases"
/>
<Caption attrAuthor="NASA" attrUrl="https://nasa.gov/">
Methane is a powerful greenhouse gas and one monitored via instruments on the ground, on airplanes, aboard satellites, and the International Space Station. Tracking methane, carbon dioxide, and other greenhouse gases is crucial to monitoring our climate as it changes.
</Caption>
<Carousel items={narratedContentArray} />
</Figure>
</Block>

Expand Down

0 comments on commit a9ab39f

Please sign in to comment.