designed the main page layout