Welcome to part-10 of the series. We will start creating the Gallery component in the home page, in this part. So, create a new file Gallery.js in the HomeComponents folder and put the below content in it.
We are using graphql and useStaticQuery to show the image stored in homeGallery folder.
Gallery.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
It will show like below in normal desktop screens.
Normal screens
This completes part-10 of the series.
You can find the code for the project in this github repo.