-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1648 from ClimateWatch-Vizzuality/trainings-page
Trainings page
- Loading branch information
Showing
8 changed files
with
165 additions
and
0 deletions.
There are no files selected for viewing
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
111 changes: 111 additions & 0 deletions
111
app/javascript/app/components/about/about-trainings/about-trainings-component.jsx
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,111 @@ | ||
import React from 'react'; | ||
import cx from 'classnames'; | ||
import ReactPlayer from 'react-player'; | ||
import layout from 'styles/layout'; | ||
import { SEO_PAGES } from 'data/seo'; | ||
import SEOTags from 'components/seo-tags'; | ||
import AbbrReplace from 'components/abbr-replace'; | ||
import styles from './about-trainings-styles.scss'; | ||
|
||
const AboutTrainings = () => ( | ||
<div className={cx(layout.content, styles.aboutTrainings)}> | ||
<SEOTags page={SEO_PAGES.aboutTrainings} href={location.href} /> | ||
<AbbrReplace> | ||
<p> | ||
Climate Watch offers open trainings on a regular basis to connect with | ||
users and explain how to make the best use of the platform and all its | ||
data. During the trainings, the Climate Watch team shares the latest | ||
developments and updates on the tool and allocates plenty of time to | ||
respond to questions. | ||
</p> | ||
<p> | ||
Subscribe to our{' '} | ||
<a | ||
href="https://www.climatewatchdata.org/about/contact" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
monthly newsletter | ||
</a>{' '} | ||
to find out when the next training will take place. | ||
</p> | ||
<p> | ||
For any questions about our trainings, please contact{' '} | ||
<a | ||
href="mailto:[email protected]" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
[email protected] | ||
</a> | ||
</p> | ||
<p className={styles.recordingIntro}> | ||
You can watch a recording of one of our trainings here: | ||
</p> | ||
<ReactPlayer | ||
className={styles.video} | ||
width="100%" | ||
height="500px" | ||
url="https://www.youtube.com/watch?v=jUIAICboxrY" | ||
controls | ||
config={{ | ||
youtube: { | ||
preload: true | ||
} | ||
}} | ||
/> | ||
<p className={styles.bold}>Speakers:</p> | ||
<ul> | ||
<li> | ||
<span className={styles.name}>Leandro Vigna</span>, Data Partnerships | ||
and Outreach Manager, Climate Watch, World Resources Institute | ||
</li> | ||
<li> | ||
<span className={styles.name}>Mengpin Ge</span>, Associate, Climate | ||
Program, World Resources Institute | ||
</li> | ||
<li> | ||
<span className={styles.name}>Mollie Freeman</span>, Social Media | ||
Specialist, Climate Program, World Resources Institute (Moderator) | ||
</li> | ||
</ul> | ||
<p className={styles.recordingIntro}> | ||
A recording of a training conducted in Spanish is available here: | ||
</p> | ||
<ReactPlayer | ||
className={styles.video} | ||
width="100%" | ||
height="500px" | ||
url="https://www.youtube.com/watch?v=dKCU1R5-pNE" | ||
controls | ||
config={{ | ||
youtube: { | ||
preload: true | ||
} | ||
}} | ||
/> | ||
<p className={styles.bold}>Speakers:</p> | ||
<ul> | ||
<li> | ||
<span className={styles.name}>Daniel Galvan Perez</span>, Technical | ||
Officer, Regional Collaboration Centre for Latin America, (UNFCCC - | ||
UNEP) | ||
</li> | ||
<li> | ||
<span className={styles.name}>Leandro Vigna</span>, Data Partnerships | ||
and Outreach Manager, Climate Watch, World Resources Institute | ||
</li> | ||
<li> | ||
<span className={styles.name}>Jamie Bindon</span>, Enhancement | ||
Knowledge Specialist, NDC Partnership | ||
</li> | ||
<li> | ||
<span className={styles.name}>Molly McGregor</span>, Knowledge Tools & | ||
Research Associate, NDC Partnership | ||
</li> | ||
</ul> | ||
</AbbrReplace> | ||
</div> | ||
); | ||
|
||
export default AboutTrainings; |
32 changes: 32 additions & 0 deletions
32
app/javascript/app/components/about/about-trainings/about-trainings-styles.scss
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,32 @@ | ||
@import '~styles/layout.scss'; | ||
@import '~styles/settings.scss'; | ||
|
||
.aboutTrainings { | ||
padding-top: 50px; | ||
line-height: $line-height-medium; | ||
font-size: $font-size-m; | ||
color: $theme-color; | ||
|
||
.bold, | ||
.name, | ||
.recordingIntro { | ||
font-weight: $font-weight-bold; | ||
} | ||
|
||
p, | ||
.video { | ||
margin-bottom: 40px; | ||
} | ||
|
||
ul { | ||
margin-bottom: 40px; | ||
list-style: initial; | ||
margin-left: 35px; | ||
} | ||
|
||
a { | ||
color: $theme-color; | ||
border-bottom: solid 1px $theme-secondary; | ||
word-wrap: break-word; | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
app/javascript/app/components/about/about-trainings/about-trainings.js
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,3 @@ | ||
import Component from './about-trainings-component'; | ||
|
||
export default Component; |
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
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