import TechnicalImage from "E:envapi-blogsrcimages echnical.jpg" const divStyle = { width: '88%', height: '800px', backgroundImage: `url(${TechnicalImage})`, backgroundSize: 'cover' <---- This is important };