Skip to content

Commit

Permalink
Add new videos, refs #23823
Browse files Browse the repository at this point in the history
  • Loading branch information
melish committed Mar 11, 2024
1 parent cfbd03f commit 3b24cc8
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 15 deletions.
66 changes: 51 additions & 15 deletions src/slides/VideoExhibition/VideoExhibition.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { useState } from 'react';
import YuzenThumbnail from '../../static/video-thumbnails/1.png';
import SuhucamThumbnail from '../../static/video-thumbnails/2.png';
import AlvarezThumbnail from '../../static/video-thumbnails/3.png';
import episode1Thumbnail from '../../static/video-thumbnails/1.jpg';
import episode2Thumbnail from '../../static/video-thumbnails/2.jpg';
import episode3Thumbnail from '../../static/video-thumbnails/3.jpg';
import episode4Thumbnail from '../../static/video-thumbnails/4.jpg';
import episode5Thumbnail from '../../static/video-thumbnails/5.jpg';
import PlayIcon from '../../static/icons/play-fill.svg';
import {
textH2,
Expand All @@ -17,8 +19,8 @@ function VideoExhibition(props) {
setIsOverlayActive(true);
};

const nameClassNames = `${textBodyLargeBold} mt-6`;
const descriptionClassNames = `${textBodyMedium} mb-10`;
const nameClassNames = `${textBodyLargeBold} mt-2`;
const descriptionClassNames = `${textBodyMedium} mb-2`;

return (
<section className='full-height bg-gray-950 text-white flex flex-col justify-center panel-inner'>
Expand All @@ -30,15 +32,15 @@ function VideoExhibition(props) {
desertification. Experience the beauty and complexity of our evolving
relationship with the planet.
</p>
<div className='grid xs:grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 sm:gap-4 md:gap-6 md:gap-12 lg:gap-24 mt-16 col-span-10'>
<div className='my-6'>
<div className='grid xs:grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 sm:gap-2 md:gap-4 lg:gap-12 xl:gap-x-36 xl:gap-y-4 mt-8 col-span-10'>
<div className='my-2'>
<div
className='video-thumbnail-wrapper flex justify-center'
onClick={() => showVideoOverlay('dlbWSxvqq9I')}
>
<img
src={YuzenThumbnail}
alt='Yin Yuzhen'
src={episode1Thumbnail}
alt='Yin Yuzhen - The Woman Who Turned Desert into Oasis'
className='video-thumbnail'
/>
<img src={PlayIcon} className='play-button' />
Expand All @@ -48,14 +50,14 @@ function VideoExhibition(props) {
The Woman Who Turned Desert into Oasis
</p>
</div>
<div className='my-6'>
<div className='my-2'>
<div
className='video-thumbnail-wrapper'
onClick={() => showVideoOverlay('NzAtPwMbGgw')}
>
<img
src={SuhucamThumbnail}
alt='Suhucam'
src={episode2Thumbnail}
alt='Suhucam - Igniting Change in Bamunkumbit, Cameroon'
className='video-thumbnail'
/>
<img src={PlayIcon} className='play-button' />
Expand All @@ -65,14 +67,14 @@ function VideoExhibition(props) {
Igniting Change in Bamunkumbit, Cameroon
</p>
</div>
<div className='my-6'>
<div className='my-2'>
<div
className='video-thumbnail-wrapper flex justify-center'
onClick={() => showVideoOverlay('WUJJDowTnAk')}
>
<img
src={AlvarezThumbnail}
alt='Marite Alvarez'
src={episode3Thumbnail}
alt='Marite Alvarez - Embracing the Wisdom of Pastoral Life'
className='video-thumbnail'
/>
<img src={PlayIcon} className='play-button' />
Expand All @@ -82,6 +84,40 @@ function VideoExhibition(props) {
Embracing the Wisdom of Pastoral Life
</p>
</div>
<div className='mt-0 mb-2'>
<div
className='video-thumbnail-wrapper flex justify-center'
onClick={() => showVideoOverlay('KQXegCdyWSY')}
>
<img
src={episode4Thumbnail}
alt='Rjim Maatoug - Women-led transformation'
className='video-thumbnail'
/>
<img src={PlayIcon} className='play-button' />
</div>
<h3 className={nameClassNames}>Rjim Maatoug</h3>
<p className={descriptionClassNames}>
Women-led transformation
</p>
</div>
<div className='mt-0 mb-2'>
<div
className='video-thumbnail-wrapper flex justify-center'
onClick={() => showVideoOverlay('wGgZq8xJa50')}
>
<img
src={episode5Thumbnail}
alt='Boglárka Amrein Tamásné Miskolczi - Ecological farm and bird-nest box station'
className='video-thumbnail'
/>
<img src={PlayIcon} className='play-button' />
</div>
<h3 className={nameClassNames}>Boglárka Amrein Tamásné Miskolczi</h3>
<p className={descriptionClassNames}>
Ecological farm and bird-nest box station
</p>
</div>
</div>
</section>
);
Expand Down
Binary file added src/static/video-thumbnails/1.jpg
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 src/static/video-thumbnails/1.png
Binary file not shown.
Binary file added src/static/video-thumbnails/2.jpg
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 src/static/video-thumbnails/2.png
Binary file not shown.
Binary file added src/static/video-thumbnails/3.jpg
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 src/static/video-thumbnails/3.png
Binary file not shown.
Binary file added src/static/video-thumbnails/4.jpg
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 src/static/video-thumbnails/5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3b24cc8

Please sign in to comment.