used the proper url function for the main nav links