Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
Make Campaign Tile Images link to target link
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Mar 13, 2019
1 parent 10a05de commit b32285b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/Campaigns/CampaignTile.js
Expand Up @@ -25,7 +25,9 @@ class CampaignTile extends Component {
<article className={cardClassNames}>
<div className="campaign-card__container">
<div className="campaign-card__col campaign-card__col--small">
<img className="campaign-card__image" src={ titleImage } alt="" />
<a href={linkTarget}>
<img className="campaign-card__image" src={ titleImage } alt="" />
</a>
</div>
<div className="campaign-card__col campaign-card__col--small">
<h2 className="title title--large color--slate-grey campaign-card__title">
Expand Down
4 changes: 3 additions & 1 deletion src/components/Campaigns/CampaignTileCurrent.js
Expand Up @@ -25,7 +25,9 @@ class CampaignTileCurrent extends Component {
<div className="content-contained">
<article className={cardClassNames}>
<div className="campaign-card__col">
<img src={ titleImage } alt="" />
<a href={linkTarget}>
<img src={ titleImage } alt="" />
</a>
</div>
<div className="campaign-card__col campaign-card__spaced-content">
<Localized id={titleKey}>
Expand Down

0 comments on commit b32285b

Please sign in to comment.