Learn GatsbyJS by creating a tourism site -18

Chintami Cave, Hampi

Welcome to part-18 of the series. You can find part-17 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 i want to create a new page — Photos. It will contain most of the awesome photos, it took during my hampi vacation. All of these photos will be royalty free, so fell free to use them.

To create a new link in both Navbar and footer component, we just need to add it in links.js file.

links.js

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

Now, when we go to our Photos page in the browser we get all the five photos.

All photos

This completes part-18 of the series. You can find the code for the same here.

You can find part-19 here.