Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ELI5 video #775

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 24 additions & 0 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,35 @@ const HomeSplash = () => {
);
};

const VideoContainer = () => {
return (
<div className="container text--center margin-bottom--xl">
<div className="row">
<div className="col" style={{textAlign: 'center'}}>
<h2>Check it out in the intro video</h2>
<div>
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/E13sgMCODDk"
title="Explain Like I'm 5: Metro"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
/>
</div>
</div>
</div>
</div>
);
};

const Index = () => {
return (
<Layout title="Metro">
<HomeSplash />
<div className="container">
<VideoContainer />
<div class="row">
{contents.map(({content, title, image}) => {
return (
Expand Down