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

49 feature request create a short video to explain reactplay and embed on the home page #51

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions src/common/home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import { BsGithub } from 'react-icons/bs';
import { FiStar } from "react-icons/fi";
import { ReactComponent as Flower } from "images/icon-flower.svg";
import { MdManageSearch } from "react-icons/md";
// import { IoPlayOutline } from "react-icons/io5";

import YoutubeVideoEmbed from 'common/components/YouTubeEmbed';
import FeaturedPlays from "common/playlists/FeaturedPlays";
import Contributors from "./Contributors";

Expand Down Expand Up @@ -52,16 +51,9 @@ const Home = () => {
<BsGithub className="icon" />
<span className="btn-label">GitHub <div className="label-info-more"><FiStar /> <div className="more-label">{gitHubStars}</div></div> </span>
</a>
{/*<a
href="https://www.youtube.com/watch?v=rysTbzKOEO0"
target="_blank"
rel="noopener noreferrer"
className="body-c2a-btn"
>
<IoPlayOutline className="icon" />
<span className="btn-label">See how it works</span>
</a>
*/}
</div>
<div className="video">
<YoutubeVideoEmbed videoId="XrWonrp296w" title="🤩 Introducing ReactPlay - An Opensource Platform to Create, Learn, and Share ReactJS Projects" />
</div>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion src/common/home/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
.video {
width: 60%;
max-width: 720px;
margin: 0 auto 8rem auto;
margin: 6rem auto 0 auto;
box-shadow: 0px 0 26px 0px rgba(var(--color-neutral-90-rgb),0.62);
-webkit-box-shadow: 0px 0 26px 0px rgba(var(--color-neutral-90-rgb),0.62);
-moz-box-shadow: 0px 0 26px 0px rgba(var(--color-neutral-90-rgb),0.62);
Expand Down