Skip to content

Instantly share code, notes, and snippets.

@gate5th
Created September 12, 2018 17:00
Show Gist options
  • Save gate5th/f52b3711a362dc8b7f32cafbdfc1d5d3 to your computer and use it in GitHub Desktop.
Save gate5th/f52b3711a362dc8b7f32cafbdfc1d5d3 to your computer and use it in GitHub Desktop.
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