Learn GatsbyJS by creating a tourism site -7

Welcome to part-7 of the series. You can find part-6 here.

As told in the earlier post, this series is based on the learning from this awesome udemy course by John Smilga

In this part we will start optimizing the background images in our site. Right now we have only one big background image in the home page. For this we will use the gatsby-background-image plugin. The doc for the same is here.

So, let’s stop our gatsby develop and npm install the plugin.

Rest of the chapter is exclusive content and will be in my upcoming book Gatsby Cookbook.

And our Blog page looks like below in browser.

This completes part-7 of the series. You can find the code for the same in this link.

As i pushed my code to github, it also did an automatic deployment to netlify which we did in part-5.

So, you can also find the updated site on https://amazinghampi.netlify.com/

You can find part-8 here.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nabendu Biswas

Nabendu Biswas


Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger