Good afternoon, I have a component in react and I need a json with the name and the link for the image to show that in my div
.
import React from 'react';
class Content extends React.Component {
render() {
return (
<div className="col-lg-3 col-md-4 col-sm-6 col-xs-12">
<div className="hovereffect">
<img className="img-responsive" src="https://cdn.colorlib.com/wp/wp-content/uploads/sites/2/how-to-setup-website.jpg" alt="Name" />
<div className="overlay">
<h2>Jam3 Web Site</h2>
<p>
<b>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nec blandit nibh. Suspendisse potenti. Nulla vitae eleifend leo, sed gravida nulla.</b>
</p>
<p>
<a href="#">VIEW DEMO</a>
</p>
</div>
</div>
</div>
);
}
}
export default Content;
What would be the proper way to do a repeat here?