Skip to content

Instantly share code, notes, and snippets.

@gate5th
Created September 12, 2018 17:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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