Welcome to part-16 of the series. We need to add Side Menu on the right side also. It will open on the clicking the hamburger menu, on the mobile screen.
But let’s first change our only item in right menu to a component, as we need it at two places.
Create a new file Advert.js inside components folder and add the code from index.js in it.
Advert.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
Now, our Right Menu is also fully operational in the Mobile view.
Mobile View
This completes part-16 of the series.
You can find the code for the same in this github repo.