fix #796 - correct image link

This commit is contained in:
redonkulus 2020-05-13 20:43:22 -07:00
parent 83f79cdc4b
commit c67bac2770

View File

@ -64,10 +64,10 @@ const layouts = [
const renderLayouts = (layout, idx) => ( const renderLayouts = (layout, idx) => (
<div key={idx} className="layout-item l-wrap pure-g"> <div key={idx} className="layout-item l-wrap pure-g">
<div className="layout-item-screenshot content pure-u-1 u-sm-1-2"> <div className="layout-item-screenshot content pure-u-1 u-sm-1-2">
<Link to={`/layouts/${layout.type}`}> <a href={`/layouts/${layout.type}/`}>
<img src={useBaseUrl(`img/layouts/${layout.type}@2x.jpg`)} className="pure-img-responsive" width="400" height="214" <img src={useBaseUrl(`img/layouts/${layout.type}@2x.jpg`)} className="pure-img-responsive" width="400" height="214"
alt={`Screenshot of ${layout.title} example layout`} /> alt={`Screenshot of ${layout.title} example layout`} />
</Link> </a>
</div> </div>
<div className="layout-item-content content pure-u-1 u-sm-1-2"> <div className="layout-item-content content pure-u-1 u-sm-1-2">
<h3 className="layout-item-head">{layout.title}</h3> <h3 className="layout-item-head">{layout.title}</h3>