Learn GatsbyJS by creating a tourism site -2

Welcome to part-2 of the series. You can find part-1 here.

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

Let’s start where we left in the project. We will not be going through CSS in this series, as it’s a gatsby series.

We will have the global CSS in layout.css in the components directory. You can get the content for the same from my github link.

Also, place a images folder inside the src folder. The content for the same can be taken from by github.

We also need to import the layout.css in Layout.js


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

On desktop, we will get the whole menu and also the react-icon will be hidden.

Navbar on desktop

This completes part-2 of the series. Hope you learned something new. You can find the code for the same in this link.

You can find part-3 here.