back to all posts

Learn GatsbyJS by creating a tourism site -18

by Nabendu Biswas / December 28th, 2019

#gatsby #react #javascript
Series: Gatsby-tourism

Welcome to part-18 of the series. 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.jslinks.js

Rest of the chapter is exclusive content and is from my book Foundation Gatsby Projects.

The book can be purchased from Apress site here

Foundation Gatsby Projects

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

All photosAll photos

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

Nabendu Biswas