Make cards have h2s not h1s

This commit is contained in:
Frances Berriman 2016-08-31 11:08:53 -07:00
parent ae2b7ad45c
commit bf87ac15b5

View File

@ -9,7 +9,7 @@ export default class ImageCard extends React.Component {
return ( return (
<Card onClick={onClick} className={styles.root}> <Card onClick={onClick} className={styles.root}>
<img src={image} onLoad={onImageLoaded} /> <img src={image} onLoad={onImageLoaded} />
<h1>{text}</h1> <h2>{text}</h2>
{description ? <p>{description}</p> : null} {description ? <p>{description}</p> : null}
</Card> </Card>