Learn GatsbyJS by creating a tourism site -13

Image for post
Image for post
Photo by Reiseuhu on Unsplash

Welcome to part-13 of the series. You can find part-12 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 first start with creating the query for the template page. We will first create the query to get data of a single slug.

Image for post
Image for post
slug

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

Image for post
Image for post

So, i fixed the error by changing the fragment from GatsbyContentfulFluid_tracedSVG to GatsbyContentfulFluid in all three files.

Image for post
Image for post
github

This completes part-13 of the series. You can find my code in my github account here.

You can find part-14 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