Created
September 12, 2018 17:00
-
-
Save gate5th/f52b3711a362dc8b7f32cafbdfc1d5d3 to your computer and use it in GitHub Desktop.
oldschoolshuffle
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
//FeaturedPost.js | |
import React, { Component } from 'react'; | |
import './FeaturedPost.css'; | |
import Typography from '@material-ui/core/Typography'; | |
import Paper from '@material-ui/core/Paper'; | |
class FeaturedPost extends Component { | |
render() { | |
return ( | |
<div className="FeaturedPost"> | |
<Paper> | |
<Typography variant="headline" component="h3"> | |
Cake | |
</Typography> | |
<div className="authorName"> | |
<p>Giorgio Vasari</p> | |
</div> | |
<div className="content"> | |
I am the first great appreciator of art, and I also appreciate the powerful sound of loud trumpets and references to driving cars. | |
</div> | |
<button className="playArtist">Play Discography</button> | |
</Paper> | |
</div> | |
); | |
} | |
} | |
export default FeaturedPost; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment