MainPage layout