This commit is contained in:
caseymm 2021-10-18 14:03:38 -07:00
parent be9175aa64
commit 33132818c0
4 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@ const TextAndMediaSnippet = props => (
<div className="half">
{props.type === 'video' &&
<VideoPreview
buttonMessage=''
buttonMessage=""
thumbnail={props.large_image}
thumbnailWidth="300"
videoHeight="216"

View file

@ -13,14 +13,14 @@ const TimelineCard = props => (
rel="noreferrer noopener"
target="_blank"
>
<img src="../../images/annual-report/2020/Symbols-UI/Open Link.svg"/>
<img src="../../images/annual-report/2020/Symbols-UI/Open Link.svg" />
</a>
<h5>{props.date}</h5>
<h4>{props.title}</h4>
<p>{props.text}</p>
{props.videoId &&
<VideoPreview
buttonMessage=''
buttonMessage=""
thumbnail={props.image}
thumbnailWidth="300"
videoHeight="216"

View file

@ -67,7 +67,7 @@ class VideoPreview extends React.Component {
/>
{this.props.buttonMessage.length > 0 &&
<a
onClick={this.handleShowVideo}
onClick={this.handleShowVideo}
>
<div className="button">
{this.props.buttonMessage}

View file

@ -1152,7 +1152,7 @@ class AnnualReport extends React.Component {
<div className="half">
<iframe
src="https://scratch.mit.edu/projects/389148460/embed"
allowtransparency="true"
allowTransparency="true"
width="375"
height="310"
frameBorder="0"
@ -1322,7 +1322,7 @@ class AnnualReport extends React.Component {
<div className="iframe-holder">
<iframe
src="https://scratch.mit.edu/projects/412126066/embed"
allowtransparency="true"
allowTransparency="true"
width="485"
height="402"
frameBorder="0"