A sample react project to recreate the navigation menu in Strapi Website. This project demonstrates the components, nesting components, and use of React hook: useState()
, useRef()
and useContext()
to manage the state of data and render them into components. For the sake of user accessibility, the navbar uses JS functionality like : getBoundingClientRect()
to hide the submenu.