Restaurant Site Project with GatsbyJS-9

Welcome to part-9 of the series. You can find part-8 here.

We will start with the footer component in this part. So, create a file Footer.js inside the Global folder and put the below content in it.

Here, we are importing styled-components and our global style files. After that we are also importing react-icons for facebook, twitter and instagram.

We are creating a state variable icons, containing the three social icons as array of object.

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

The site is live, so we can check it on https://restaurant-bangalore.netlify.app/

Our site is live and will auto-deploy everytime we push our code to github.

This completes part-9 of the series. You can find part-10 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
Nabendu Biswas

Nabendu Biswas

589 Followers

Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger