Adding ELI5 video to the home page

This commit is contained in:
Dmitry Vinnik 2022-02-10 21:33:04 -08:00
parent 916e4f1a26
commit c02269769f

View file

@ -109,6 +109,23 @@ function TweetsSection() {
);
}
function ELIVideo() {
return (
<div className="container">
<div className="margin-top--md">
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/_An9EsKPhp0"
title="Explain Like I'm 5: Docusaurus"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen={true}></iframe>
</div>
</div>
);
}
function Home(): JSX.Element {
const {
siteConfig: {customFields, tagline},
@ -285,6 +302,13 @@ function Home(): JSX.Element {
</div>
</div>
</div>
<div className="container text--center">
<div className="row">
<div className="col">
<ELIVideo />
</div>
</div>
</div>
</div>
<TweetsSection />
<div className={clsx(styles.section)}>