Added a function to generate navigation links for the header
Incorporated generating function for navigation links