I've got a component on which I need to show an image:
import React from 'react'
import background from '../media/content-background.jpg'
function ContentPage(){
return(
<div id="content-page">
<div id="content-header">
<img href={background} alt='back'/>
</div>
<div id="content-body">
</div>
</div>
)
}
export default ContentPage
The image is generated correctly as when I go to the url as specified in the inspector, it shows up in the browser.
But on the webpage only the alt is shown:

