Last active
October 3, 2018 18:56
-
-
Save productioncoder/d5701167a3b58a9e021365d6b217720c to your computer and use it in GitHub Desktop.
Youtube Home component with VideoGrid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import './Home.scss'; | |
import {VideoGrid} from '../../components/VideoGrid/VideoGrid'; | |
import {SideBar} from '../SideBar/SideBar'; | |
export class Home extends React.Component { | |
render() { | |
return ( | |
<React.Fragment> | |
<SideBar/> | |
<div className='home'> | |
<div className="responsive-video-grid-container"> | |
<VideoGrid title='Trending'/> | |
<VideoGrid title='Autos & Vehicles' hideDivider={true}/> | |
</div> | |
</div> | |
</React.Fragment> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment