Remove redundant classes

This commit is contained in:
Kevin Kandlbinder 2021-04-12 12:38:21 +00:00 committed by GitHub
parent e59d4c72a4
commit 4937e76d59
3 changed files with 3 additions and 3 deletions

View file

@ -125,7 +125,7 @@ class IndexPage extends React.Component {
<div className={projectStyles.projectCardImage} style={{ backgroundImage: "url(" + project.image.childImageSharp.resize.src + ")" }}>
<div className={projectStyles.projectCardMeta}>
<span className={projectStyles.projectCardTitle}>{project.name}</span>
<span className={projectStyles.projectCardTeaser}>{project.shortDescription}</span>
<span>{project.shortDescription}</span>
</div>
</div>

View file

@ -54,7 +54,7 @@ const ProjectsPage = ({ data }) => {
<div className={styles.projectCardImage} style={{ backgroundImage: "url(" + project.image.childImageSharp.resize.src + ")" }}>
<div className={styles.projectCardMeta}>
<span className={styles.projectCardTitle}>{project.name}</span>
<span className={styles.projectCardTeaser}>{project.shortDescription}</span>
<span>{project.shortDescription}</span>
</div>
</div>

View file

@ -49,7 +49,7 @@ const ProjectTemplate = ({ data }) => {
<header>
<div className={styles.headerInner}>
<h1><Trans>project</Trans>: {projectName}</h1>
<span className={styles.postMeta}>{project.shortDescription}</span>
<span>{project.shortDescription}</span>
</div>
</header>
<div className={styles.headerPlaceholder}></div>