The Gatsby documentation says that I can put an img file in the assets folder and I would be able to call it like so: url(someimage.png)
url(someimage.png)
Following this I