Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit c0cdb60

Browse files
authored
Adding ELI5 video to the home page (#1253)
* Adding eli5 video * Cleaning up PR * Update heading for the video
1 parent a20c0d2 commit c0cdb60

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

website/pages/en/index.js

+24
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,29 @@ class HomeSplash extends React.Component {
7171
}
7272
}
7373

74+
function VideoContainer() {
75+
return (
76+
<div className="container text--center margin-bottom--xl">
77+
<div className="row">
78+
<div className="col" style={{textAlign: 'center'}}>
79+
<h2>Watch Introductory Video</h2>
80+
<div>
81+
<iframe
82+
width="560"
83+
height="315"
84+
src="https://www.youtube.com/embed/og183Y9yHFs"
85+
title="Explain Like I'm 5: fastText"
86+
frameBorder="0"
87+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
88+
allowFullScreen
89+
/>
90+
</div>
91+
</div>
92+
</div>
93+
</div>
94+
);
95+
}
96+
7497
class Index extends React.Component {
7598
render() {
7699
let language = this.props.language || "en";
@@ -104,6 +127,7 @@ class Index extends React.Component {
104127
layout="twoColumn"
105128
/>
106129
</Container>
130+
<VideoContainer />
107131
</div>
108132
<div
109133
className="productShowcaseSection paddingTop"

0 commit comments

Comments
 (0)