© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
N. BiswasExtending Gatsbyhttps://doi.org/10.1007/978-1-4842-6855-1_4

4. Adding Functionality to the Site

Nabendu Biswas1  
(1)
Bhopal, India
 

In this chapter we will start to add a search functionality to our blog. There are some Gatsby plug-ins to add the search functionality, but we can add it with simple React code. After that we will perform some CSS fixes, like adding box shadows to all boxes. Finally, we will create a mobile menu to show the right and the left sidebars on small screens.

Adding Search Functionality

I recommend a very good blog by Monica Powell on adding search functionality with React code at https://dev.to/m0nica/how-to-add-search-functionality-to-a-gatsby-blog-4pf2 ...

Get Extending Gatsby: Create a Blog Site Using MDX, CDN, and Netlify now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.