adds all required pages to view directory and adds navbar and links components to all