Added code snippets for page 1 and page 2 to demonstrate navigation between pages