adds all content and styling to pages