add pages and styles for pages