Restaurant Site Project with GatsbyJS-4

Image for post
Image for post
Photo by Dan Gold on Unsplash

Welcome to part-4 of the series. You can find part-3 here.

We will continue working on the Navbar in this part. We will first add a transition to the styles.js file.

We are using es6 default parametes here. So, if we pass an empty object we will get these default values.

Image for post
Image for post
styles.js

Rest of the chapter is exclusive content and will be in my upcoming book Gatsby Cookbook. You can find more details about it here.

Image for post
Image for post
Gatsby Cookbook

On checking all four pages working perfectly.

Image for post
Image for post
Contact Page

This completes part-4 of the series. You can find part-5 here.

You can find the code for the project in this github repo.

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