Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
oldschoolshuffle
//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
You can’t perform that action at this time.