Learn GatsbyJS by creating a tourism site -8

Welcome to part-8 of the series. You can find part-7 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 with our page transition, which will occur when we navigate to a different page.

For this we will be again using an awesome gatsby plugin and it is gatsby-plugin-transition-link. The doc link can be found here.

Now, as per the docs we need to npm install the plugin first. So, head over to your terminal and close gatsby develop if it is running. After that install the plugin through the terminal.

Image for post
Image for post
npm install

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

Image for post
Image for post

We are done with this part, so i had pushed the code to github. It will also start my automatic deployment to netlify. So, it is time to check the form capabilities on the internet also.

Once it is deployed, we can head over to https://amazinghampi.netlify.com/contact and submit a form.

It will take us through the same above process and i get the mail in my gmail.

Image for post
Image for post
From internet

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

You can find part-9 here.

Written by

UI Lead- ReactJS, JavaScript and everything in-between.

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