Im trying to create a header component that uses data from a rest api to create the navbar. The issue im having is how to get this data - Ideally i want to be using getStaticPro