This is an example of how to create a navigation bar that gets the links and router names from the component. Tutorial is on Medium