swapping out hard coded pages to utilize next css class